var file
var width
var height
var mediaName



function flash_contents(file,width,height){
        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="'+width+'" height="'+height+'" id="flash_contents">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" VALUE=high />');
        document.write('<param name="wmode" value="transparent" />');  //Åõ¸íÇÃ·¡½¬°¡ ¾Æ´Ò°æ¿ì ÀÌ ¶óÀÎÀ» »èÁ¦
        document.write('<param name="bgcolor" VALUE="#FFFFFF" />');
        document.write('<param name="salign" value="lt" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<param name="menu" value="false" />');
		document.write('<embed src="'+file+'" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="'+width+'" height="'+height+'" name="flash_contents" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>');
}

function flash_contents1(file,width,height){
        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="'+width+'" height="'+height+'" id="flash_contents">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" VALUE=high />');
        document.write('<param name="bgcolor" VALUE="#FFFFFF" />');
        document.write('<param name="salign" value="lt" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<param name="menu" value="false" />');
		document.write('<embed src="'+file+'" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="'+width+'" height="'+height+'" name="flash_contents" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>');
}




function flash_title(file,width,height){
        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="'+width+'" height="'+height+'" id="fscommand">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" VALUE=high />');
        document.write('<param name="wmode" value="transparent" />');  //Åõ¸íÇÃ·¡½¬°¡ ¾Æ´Ò°æ¿ì ÀÌ ¶óÀÎÀ» »èÁ¦
        document.write('<param name="bgcolor" VALUE="#FFFFFF" />');
        document.write('<param name="salign" value="lt" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<param name="menu" value="false" />');
		document.write('<embed src="'+file+'" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="'+width+'" height="'+height+'" name=fscommand type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>');
}


//TV_AD_MEDIA___
function tv_adplay(file,width,height,mediaName) {
document.write('<object id="'+mediaName+'" name=id="'+mediaName+'" WIDTH='+width+' HEIGHT='+height+' classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,05,0809" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" VIEWASTEXT>')
document.write('<param name="transparentAtStart" value="True">')
document.write('<param name="transparentAtStop" value="False">')
document.write('<param name="AnimationAtStart" value="0">')
document.write('<param name="Loop" value="true">')
document.write('<param name="AutoStart" value="0">')
document.write('<param name="AutoRewind" value="true">')
document.write('<param name="SendMouseClickEvents" value="True">')
document.write('<param name="DisplaySize" value="0">')
document.write('<param name="AutoSize" value="False">')
document.write('<param name="ShowDisplay" value="False">')
document.write('<param name="ShowControls" value="False">')
document.write('<param name="ShowTracker" value="True">')
document.write('<param name="FileName" value="'+file+'">')
document.write('<param name="Enabled" value="1">')
document.write('<param name="EnableContextMenu" value="1">')
document.write('<param name="EnablePositionControls" value="1">')
document.write('<param name="EnableFullScreenControls" value="1">')
document.write('<param name="ShowPositionControls" value="1">')
document.write('<param name="Mute" value="0">')
document.write('<param name="Rate" value="1">')
document.write('<param name="SAMILang" value="">')
document.write('<param name="SAMIStyle" value="">')
document.write('<param name="SAMIFileName" value="">')
document.write('<param name="ClickToPlay" value="0">')
document.write('<param name="CursorType" value="1">')
document.write('<embed src="'+file+'"   id="'+mediaName+'" Loop=true  quality=high menu="false" bgcolor=#FFFFFF  WIDTH="'+width+'" HEIGHT="'+height+'" autoplay=true controller=true loop=false type="application/x-oleobject"></embed></object>')
} 
//--------------------------------------------------------------

//JW PLAYER__________
function jw_player(file,width,height,image) {
document.write('<embed src="http://www.asianatelecom.com/inc/jwplayer/player.swf" width="'+width+'" height="'+height+'" allowfullscreen="true" flashvars="file='+file+'&skin=http://www.asianatelecom.com/inc/jwplayer/skin/simple_naver.swf&controlbar=over&repeat=false&icons=true&menu=false&image='+image+'">')
}
//--------------------------------------------------------------

