if(typeof(dclk_isDartRichMediaLoaded) == "undefined") {
	dclk_isDartRichMediaLoaded = true;
	function dclkWrite(str){
		if(dclk_shouldOverride) {
			dclk_original_documentWrite(str);
		}
		else{
			document.write(str);
		}
	}
	function dclkWriteln(str){
		if(dclk_shouldOverride) {
			dclk_original_documentWriteLn(str);
		}
		else{
			document.writeln(str);
		}
	}
	function dclk_isInternetExplorer() {
		return (navigator.appVersion.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Opera") < 0);
	}
	dclk_shouldOverride = dclk_isInternetExplorer();
	if(dclk_shouldOverride) {
		dclk_original_documentWrite = document.write;
		dclk_original_documentWriteLn = document.writeln;
		document.write = dclkWrite;
		document.writeln = dclkWriteln;
	}
}

function viewFlash(flash_src, focus_width, focus_height, text_height, wmode, pics, links, texts)
{
	//wmode: transparent(Í¸Ã÷), opaque(²»Í¸Ã÷)
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+ focus_width +'" height="'+ (focus_height + text_height) +'">');
	document.write('<param name="movie" value="'+ flash_src +'">'); 
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#F1F1F1">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="wmode" value="'+ wmode +'">');
	document.write('<param name="FlashVars" value="pics='+ pics +'&links='+ links +'&texts='+ texts +'&borderwidth='+ focus_width +'&borderheight='+ focus_height +'&textheight='+ text_height +'">');
	document.write('<embed src="'+ flash_src +'" FlashVars="pics='+ pics +'&links='+ links +'&texts='+ texts +'&borderwidth='+ focus_width +'&borderheight='+ focus_height +'&textheight='+ text_height +'" wmode="transparent" menu="false" quality="high" allowScriptAccess="sameDomain" width="'+ focus_width +'" height="'+ (focus_height + text_height) +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</object>');
}
