<!--

// ¸ð¹ÙÀÏ±¸ºÐ ---------------------------------------------------------------------------------------------
var device, apple = "";
var userAgent = navigator.userAgent.toLowerCase();

if(/mobile/.test(userAgent))	device='mobile';

if (userAgent.indexOf('iphone') == -1 && userAgent.indexOf('ipad') == -1 && userAgent.indexOf('ipod') == -1){
	apple = false;
}
else{
	apple = true;
}
// ---------------------------------------------------------------------------------------------------------


// ÇÃ·¡½¬ ½ÇÇà : script_flash(ÇÃ·¡½¬±¸ºÐ, ÇÃ·¡½¬ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ´ëÃ¼ÀÌ¹ÌÁö°æ·Î)
function script_flash(f_type, f_file, w_size, h_size, img){

	if (device == "mobile")
	{
		if (apple){
			document.write('<img src="'+ img + '" border=0 alt="" />');
		}
		else{
			script_flash_run(f_type, f_file, w_size, h_size, img);
		}
	}
	else
	{
		script_flash_run(f_type, f_file, w_size, h_size, img);
	}
}

// ÇÃ·¡½¬ ½ÇÇà
function script_flash_run(f_type, f_file, w_size, h_size, img){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w_size+'" height="'+h_size+'" id="" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+f_file+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="menu" value="false" />');
	document.write('<embed src="'+f_file+'" quality="high" bgcolor="#ffffff" width="'+w_size+'" height="'+h_size+'" name="" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

// ÇÃ·¡½¬ ½ÇÇà ½ºÅ©¸³Æ®(Åõ¸í)
function script_flash_trans(f_file, w_size, h_size){

	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+w_size+'" height="'+h_size+'">');
	document.write('<param name=movie value="'+f_file+'">');
	document.write('<param name=quality value=high>');
	document.write('<PARAM NAME="WMode" VALUE="Transparent">');
	document.write('<embed src="http://www.isetax.co.kr/'+f_file+'" quality=high wmode=transparent pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+w_size+'" height="'+h_size+'"></embed>');
	document.write('</object>');
}

// µ¿¿µ»ó ½ÇÇà ½ºÅ©¸³Æ®
function script_movie(f_file, w_size, h_size, start){

	document.write('<object ID="MMPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="middle" width="'+w_size+'" height="'+h_size+'" viewastext>');
	document.write('<param name="TransparentAtStart" value="1">');
	document.write('<param name="transparentAtStop" value="1">');
	document.write('<param name="AnimationAtStart" value="0">');
	document.write('<param name="AutoRewind" value="1">');
	document.write('<param name="AutoSize" value="0">');
	document.write('<param name="ShowDisplay" value="0">');
	document.write('<param name="ShowStatusBar" value="0">');
	document.write('<param name="ShowControls" value="1">');
	document.write('<param name="ShowPositionControls" value="0">');
	document.write('<param name="AllowChangeDisplaySize" value="1">');
	document.write('<param name="EnableContextMenu" value="1">');
	document.write('<param name="DisplaySize" value="1">');
	document.write('<param name="AutoStart" value="'+start+'">');
	document.write('<param name="FileName" value="'+f_file+'">');
	document.write('</object>');
}

// À½¼ºÆÄÀÏ ½ÇÇà ½ºÅ©¸³Æ®
function script_radio(f_file, w_size, h_size, start){

	document.write('<Embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp" FileName="'+f_file+'" width="'+w_size+'" height="'+h_size+'" SHOWCONTROLS="1" SHOWSTATUSBAR="1" ShowPositionControls="0" AUTOSTART="'+start+'" PlayCount="1"></Embed>');
}
//-->
