// ´Ü¼ø Ãâ·Â
function documentwrite(src){
	document.write(src);
}

// ÇÃ·¡½Ã
function FlashPlay(Src, Width, Height, fName){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id='"+ fName +"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='"+ Width +"' height='"+ Height +"'>");
	document.write("<param name='Movie' value='"+ Src +"'>");
	document.write("<param name='Play' value='true'>");
	document.write("<param name='Loop' value='true'>");
	document.write("<param name='Quality' value='High'>");
	document.write("<param name='_cx' value='5080'>");
	document.write("<param name='_cy' value='5080'>");
	document.write("<param name='Src' value='"+ Src +"'>");
	document.write("<param name='WMode' value='Window'>");
	document.write("<param name='Menu' value='false'>");
	document.write("<param name='Scale' value='ShowAll'>");
	document.write("<param name='DeviceFont' value='false'>");
	document.write("<param name='EmbedMovie' value='false'>");
	document.write("<param name='SeamlessTabbing' value='false'>");
	document.write("<param name='Profile' value='false'>");
	document.write("<param name='ProfilePort' value='0'>");
	document.write("<embed src='"+ Src +"' play='true' loop='true' quality='High' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' width='"+ Width +"' height='"+ Height +"' wmode='Window' menu='false' scale='ShowAll' devicefont='false' embedmovie='false' seamlesstabbing='false' profile='false' profileport='0'></embed>");
	document.write("</object>");
}

// Åõ¸í ÇÃ·¡½Ã
function FlashPlayTrans(Src, Width, Height, fName){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id='"+ fName +"' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='"+ Width +"' height='"+ Height +"'>");
	document.write("<param name='Movie' value='"+ Src +"'>");
	document.write("<param name='Play' value='true'>");
	document.write("<param name='Loop' value='true'>");
	document.write("<param name='Quality' value='High'>");
	document.write("<param name='_cx' value='5080'>");
	document.write("<param name='_cy' value='5080'>");
	document.write("<param name='Src' value='"+ Src +"'>");
	document.write("<param name='WMode' value='Transparent'>");
	document.write("<param name='Menu' value='false'>");
	document.write("<param name='Scale' value='ShowAll'>");
	document.write("<param name='DeviceFont' value='false'>");
	document.write("<param name='EmbedMovie' value='false'>");
	document.write("<param name='SeamlessTabbing' value='false'>");
	document.write("<param name='Profile' value='false'>");
	document.write("<param name='ProfilePort' value='0'>");
	document.write("<embed src='"+ Src +"' play='true' loop='true' quality='High' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' width='"+ Width +"' height='"+ Height +"' wmode='Transparent' menu='false' scale='ShowAll' devicefont='false' embedmovie='false' seamlesstabbing='false' profile='false' profileport='0'></embed>");
	document.write("</object>");
}

// µ¿¿µ»ó
function AsfPlay(src, width, height){
	document.write("<object classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715' width='" + width + "', height='" + height + "'>");
	document.write("<param name='FileName' value='" + src + "'>");
	document.write("<param name='EnableContextMenu' value='false'>"); //¿À¸¥ÂÊ ¸¶¿ì½º Å¬¸¯
	document.write("<param name='ShowStatusBar' value='true'>"); //ÄÁÆ®·Ñ·¯ ¾Æ·¡¿¡ ¹öÆÛ¸µ°ú ³²Àº½Ã°£/ÃÑ½Ã°£ À» º¸¿©ÁÖ´Â ÇÑÁÙÀÇ Á¤º¸Ã¢
	document.write("<param name='Volume' value='0'>"); //ÃÖ´ëº¼·ý
	document.write("<embed src='" + src + "' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' width='" + width + "' height='" + height + "'></embed></object>");
}

// µ¿¿µ»ó(ÄÁÆ®·Ñ ÆÇ³Ú ¾ø´Â°Í)
function AsfNone(src, width, height){
	document.write("<OBJECT ID='aPlayer' CLASSID='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715' width='" + width + "', height='" + height + "'>");
	document.write("<PARAM name='autoStart' value='true'>");
	document.write("<PARAM name='URL' value='" + src + "'>");
	document.write("<PARAM name='EnableContextMenu' value='false'>"); //¿À¸¥ÂÊ ¸¶¿ì½º Å¬¸¯
	document.write("<PARAM name='uiMode' value='none'>");
	document.write("<embed src='" + src + "' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/' width='" + width + "' height='" + height + "'></embed>");
	document.write("</OBJECT>");
}