function on_swf(filename,width,height){
 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="'+width+'" height="'+height+'">');
 document.write('<param name="movie" value="'+filename+'">');
 document.write('<param name="quality" value="high">');
 document.write('<param name="wmode" value="transparent">');
 document.write('<param name="wmode" value="opaque">');
 if (arguments[3]!="")
 {
	document.write('<param name="flashvars" value="'+arguments[3]+'">');
 }
 document.write('<embed src="'+filename+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object>');
}

function on_vodmain(file){
 document.write('<object Id="hiplayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" width="474" height=336 id="MediaPlayer" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components...">');
 document.write('<param name="AudioStream" value="true">');
 document.write('<param name="AutoSize" value="false">');
 document.write('<param name="AutoStart" value="true">');
 document.write('<param name="AnimationAtStart" value="false">');
 document.write('<param name="AllowScan" value="-1">');
 document.write('<param name="AllowChangeDisplaySize" value="true">');
 document.write('<param name="AutoRewind" value="false">');
 document.write('<param name="Balance" value="0">');
 document.write('<param name="BufferingTime" value="0">');
 document.write('<param name="ClickToPlay" value="false">');
 document.write('<param name="CursorType" value="true">');
 document.write('<param name="CurrentPosition" value="true">');
 document.write('<param name="CurrentMarker" value="0">');
 document.write('<param name="DisplayBackColor" value="0">');
 document.write('<param name="DisplayForeColor" value="16777215">');
 document.write('<param name="DisplayMode" value="0">');
 document.write('<param name="DisplaySize" value="0">');
 document.write('<param name="Enabled" value="true">');
 document.write('<param name="EnablePositionControls" value="false">');
 document.write('<param name="EnableFullScreenControls" value="false">');
 document.write('<param name="EnableTracker" value="false">');
 document.write('<param name="InvokeURLs" value="false">');
 document.write('<param name="Language" value="-1">');
 document.write('<param name="Loop" value="true">');
 document.write('<param name="PlayCount" value="5">');
 document.write('<param name="PreviewMode" value="false">');
 document.write('<param name="Rate" value="1">');
 document.write('<param name="SelectionStart" value="false">');
 document.write('<param name="SelectionEnd" value="false">');
 document.write('<param name="SendOpenStateChangeEvents" value="-1">');
 document.write('<param name="SendWarningEvents" value="-1">');
 document.write('<param name="SendErrorEvents" value="-1">');
 document.write('<param name="SendKeyboardEvents" value="0">');
 document.write('<param name="SendMouseMoveEvents" value="false">');
 document.write('<param NAME="SendMouseClickEvents" VALUE="True">');
 document.write('<param name="SendPlayStateChangeEvents" value="true">');
 document.write('<param name="ShowCaptioning" value="false">');
 document.write('<param name="ShowControls" value="false">');
 document.write('<param name="ShowAudioControls" value="false">');
 document.write('<param name="ShowDisplay" value="false">');
 document.write('<param name="ShowGotoBar" value="false">');
 document.write('<param name="ShowPositionControls" value="false">');
 document.write('<param name="ShowStatusBar" value="false">');
 document.write('<param name="ShowTracker" value="false">');
 document.write('<param name="TransparentAtStart" value="true">');
 document.write('<param name="VideoBorderWidth" value="0">');
 document.write('<param name="VideoBorderColor" value="0">');
 document.write('<param name="VideoBorder3D" value="0">');
 document.write('<param name="Volume" value="100">');
 document.write('<param name="WindowlessVideo" value="false">');
 document.write('<param NAME="EnableContextMenu" VALUE="true">');
 document.write('</object>');
}

function on_vodmain2(file){
 document.write('<object Id="splayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" width="190" height=143 id="MediaPlayer" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components...">');
 document.write('<param name="AudioStream" value="true">');
 document.write('<param name="AutoSize" value="false">');
 document.write('<param name="AutoStart" value="true">');
 document.write('<param name="AnimationAtStart" value="false">');
 document.write('<param name="AllowScan" value="-1">');
 document.write('<param name="AllowChangeDisplaySize" value="true">');
 document.write('<param name="AutoRewind" value="false">');
 document.write('<param name="Balance" value="0">');
 document.write('<param name="BufferingTime" value="0">');
 document.write('<param name="ClickToPlay" value="false">');
 document.write('<param name="CursorType" value="true">');
 document.write('<param name="CurrentPosition" value="true">');
 document.write('<param name="CurrentMarker" value="0">');
 document.write('<param name="DisplayBackColor" value="0">');
 document.write('<param name="DisplayForeColor" value="16777215">');
 document.write('<param name="DisplayMode" value="0">');
 document.write('<param name="DisplaySize" value="0">');
 document.write('<param name="Enabled" value="true">');
 document.write('<param name="EnablePositionControls" value="false">');
 document.write('<param name="EnableFullScreenControls" value="false">');
 document.write('<param name="EnableTracker" value="false">');
 document.write('<param name="InvokeURLs" value="false">');
 document.write('<param name="Language" value="-1">');
 document.write('<param name="Loop" value="true">');
 document.write('<param name="PlayCount" value="5">');
 document.write('<param name="PreviewMode" value="false">');
 document.write('<param name="Rate" value="1">');
 document.write('<param name="SelectionStart" value="false">');
 document.write('<param name="SelectionEnd" value="false">');
 document.write('<param name="SendOpenStateChangeEvents" value="-1">');
 document.write('<param name="SendWarningEvents" value="-1">');
 document.write('<param name="SendErrorEvents" value="-1">');
 document.write('<param name="SendKeyboardEvents" value="0">');
 document.write('<param name="SendMouseMoveEvents" value="false">');
 document.write('<param NAME="SendMouseClickEvents" VALUE="True">');
 document.write('<param name="SendPlayStateChangeEvents" value="true">');
 document.write('<param name="ShowCaptioning" value="false">');
 document.write('<param name="ShowControls" value="false">');
 document.write('<param name="ShowAudioControls" value="false">');
 document.write('<param name="ShowDisplay" value="false">');
 document.write('<param name="ShowGotoBar" value="false">');
 document.write('<param name="ShowPositionControls" value="false">');
 document.write('<param name="ShowStatusBar" value="false">');
 document.write('<param name="ShowTracker" value="false">');
 document.write('<param name="TransparentAtStart" value="true">');
 document.write('<param name="VideoBorderWidth" value="0">');
 document.write('<param name="VideoBorderColor" value="0">');
 document.write('<param name="VideoBorder3D" value="0">');
 document.write('<param name="Volume" value="50">');
 document.write('<param name="WindowlessVideo" value="false">');
 document.write('<param NAME="EnableContextMenu" VALUE="true">');
 document.write('</object>');
}

function on_vod(file){
 document.write('<object Id="hiplayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" width="320" height="310" id="MediaPlayer" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components...">');
 document.write('<param  name="AudioStream" value="true">');
 document.write('<param  name="AutoSize" value="false">');
 document.write('<param  name="AutoStart" value="true">');
 document.write('<param  name="AnimationAtStart" value="false">');
 document.write('<param  name="AllowScan" value="-1">');
 document.write('<param  name="AllowChangeDisplaySize" value="true">');
 document.write('<param  name="AutoRewind" value="false">');
 document.write('<param  name="Balance" value="0">');
 document.write('<param  name="BufferingTime" value="0">');
 document.write('<param  name="ClickToPlay" value="false">');
 document.write('<param  name="CursorType" value="true">');
 document.write('<param  name="CurrentPosition" value="true">');
 document.write('<param  name="CurrentMarker" value="0">');
 document.write('<param  name="DisplayBackColor" value="0">');
 document.write('<param  name="DisplayForeColor" value="16777215">');
 document.write('<param  name="DisplayMode" value="0">');
 document.write('<param  name="DisplaySize" value="0">');
 document.write('<param  name="Enabled" value="true">');
 document.write('<param  name="EnablePositionControls" value="false">');
 document.write('<param  name="EnableFullScreenControls" value="false">');
 document.write('<param  name="EnableTracker" value="false">');
 document.write('<param  name="InvokeURLs" value="false">');
 document.write('<param  name="Language" value="-1">');
 document.write('<param  name="Loop" value="-1">');
 document.write('<param  name="PlayCount" value="1">');
 document.write('<param  name="PreviewMode" value="false">');
 document.write('<param  name="Rate" value="1">');
 document.write('<param  name="SelectionStart" value="false">');
 document.write('<param  name="SelectionEnd" value="false">');
 document.write('<param  name="SendOpenStateChangeEvents" value="-1">');
 document.write('<param  name="SendWarningEvents" value="-1">');
 document.write('<param  name="SendErrorEvents" value="-1">');
 document.write('<param  name="SendKeyboardEvents" value="0">');
 document.write('<param  name="SendMouseMoveEvents" value="false">');
 document.write('<param  NAME="SendMouseClickEvents" VALUE="True">');
 document.write('<param  name="SendPlayStateChangeEvents" value="true">');
 document.write('<param  name="ShowCaptioning" value="false">');
 document.write('<param  name="ShowControls" value="true">');
 document.write('<param  name="ShowAudioControls" value="true">');
 document.write('<param  name="ShowDisplay" value="false">');
 document.write('<param  name="ShowGotoBar" value="false">');
 document.write('<param  name="ShowPositionControls" value="false">');
 document.write('<param  name="ShowStatusBar" value="true">');
 document.write('<param  name="ShowTracker" value="true">');
 document.write('<param  name="TransparentAtStart" value="true">');
 document.write('<param  name="VideoBorderWidth" value="0">');
 document.write('<param  name="VideoBorderColor" value="0">');
 document.write('<param  name="VideoBorder3D" value="0">');
 document.write('<param  name="Volume" value="100">');
 document.write('<param  name="WindowlessVideo" value="false">');
document.write('<param  name="wmode" value="transparent">');
 document.write('<param  NAME="EnableContextMenu" VALUE="true">');
 document.write('</object>');
}

function vod(file){
document.write('<object Id="hiplayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" width="320" height="260" id="MediaPlayer" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components...">');
document.write('<param name="Filename" value="'+file+'">');
document.write('<param name="AllowChangeDisplaySize" value="true">');
document.write('<param name="AllowScan" value="true">');
document.write('<param name="AnimationAtStart" value="true">');
document.write('<param name="AudioStream" value="-1">');
document.write('<param name="AutoRewind" value="true">');
document.write('<param name="AutoSize" value="false">');
document.write('<param name="AutoStart" value="true">');
document.write('<param name="Balance" value="0">');
document.write('<param name="BufferingTime" value="5">');
document.write('<param name="ClickToPlay" value="true">');
document.write('<param name="CurrentMarker" value="0">');
document.write('<param name="CurrentPosition" value="-1">');
document.write('<param name="CursorType" value="0">');
document.write('<param name="DisplayBackColor" value="0">');
document.write('<param name="DisplayForeColor" value="16777215">');
document.write('<param name="DisplayMode" value="0">');
document.write('<param name="DisplaySize" value="2">');
document.write('<param name="EnableContextMenu" value="true">');
document.write('<param name="Enabled" value="true">');
document.write('<param name="EnableFullScreenControls" value="false">');
document.write('<param name="EnablePositionControls" value="true">');
document.write('<param name="EnableTracker" value="true">');
document.write('<param name="InvokeURLs" value="true">');
document.write('<param name="Language" value="-1">');
document.write('<param name="Mute" value="false">');
document.write('<param name="PlayCount" value="1">');
document.write('<param name="PreviewMode" value="false">');
document.write('<param name="Rate" value="1">');
document.write('<param name="SelectionEnd" value="-1">');
document.write('<param name="SelectionStart" value="-1">');
document.write('<param name="SendErrorEvents" value="true">');
document.write('<param name="SendKeyboardEvents" value="false">');
document.write('<param name="SendMouseClickEvents" value="true">');
document.write('<param name="SendMouseMoveEvents" value="false">');
document.write('<param name="SendOpenStateChangeEvents" value="true">');
document.write('<param name="SendPlayStateChangeEvents" value="true">');
document.write('<param name="SendWarningEvents" value="true">');
document.write('<param name="ShowAudioControls" value="true">');
document.write('<param name="ShowCaptioning" value="false">');
document.write('<param name="ShowControls" value="true">');
document.write('<param name="ShowDisplay" value="false">');
document.write('<param name="ShowGotoBar" value="false">');
document.write('<param name="ShowPositionControls" value="true">');
document.write('<param name="ShowStatusBar" value="true">');
document.write('<param name="ShowTracker" value="true">');
document.write('<param name="TransparentAtStart" value="false">');
document.write('<param name="VideoBorder3D" value="true">');
document.write('<param name="VideoBorderColor" value="0">');
document.write('<param name="VideoBorderWidth" value="0">');
document.write('<param name="Volume" value="2000">');
document.write('<param name="WindowlessVideo" value="false">');
document.write('</object>');
}



function vod2(file){
document.write('<OBJECT  id="MediaPlayer"  standby="Loading  Windows  Media  Player components..."  width="320" height="310"  classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"  VIEWASTEXT>');
document.write('<param name="URL"	value="'+file+'">');
document.write('<param  name="rate"  value="1">');//»¡¸®º¸±â  ¼Óµµ  1¿¡¼­  10
document.write('<param  name="balance"  value="0">');//  »ç¿îµå  ½ºÅ×·¹¿À  ÁÂ¿ì  º¼·ý  -100¿¡¼­  100±îÁö
document.write('<param  name="currentPosition"  value="0">');//½ÃÀÛÇÏ´Â  ½Ã°£.  ÃÊ´ÜÀ§·Î  ÀÔ·Â
document.write('<param  name="playCount"  value="1">');//  ¹Ýº¹µÇ´Â  È½¼ö
document.write('<param  name="autoStart"  value="true">');//ÀÚµ¿½ÃÀÛ
document.write('<param  name="currentMarker"  value="0">');//¸¶Ä¿°¡  »ðÀÔµÈ  °æ¿ì  ½ÃÀÛµÇ´Â  ¸¶Ä¿¹øÈ£
document.write('<param  name="invokeURLs"  value="true">');//ÄÁÅÙÃ÷¿¡  URL  ¸µÅ©°¡  µÈ  °æ¿ì  ½ÇÇà  ¿©ºÎ
document.write('<param  name="volume"  value="70">');//º¼·ýÅ©±â  0-100  ±îÁö
document.write('<param  name="mute"  value="false">');//  À½¼Ò°Å
document.write('<param  name="uiMode"  value="full">');//  ÇÃ·¹ÀÌ¾î  Á¦¾î.  full,  mini,  none  ÀÌ  ÀÖ´Ù.
document.write('<param  name="stretchToFit"  value="true">');//  ºñµð¿À  Ã¢ÀÇ  Å©±â°¡  °íÁ¤µÉ°ÍÀÎ°¡.
document.write('<param  name="enabled"  value="true">');//  ¹Ìµð¾î  ÇÃ·¹ÀÌ¾î  ÄÁÆ®·ÑÀÌ  °¡´É¿©ºÎ.
document.write('<param  name="enableContextMenu"  value="true">');//  ÇÃ·¹ÀÌ¾îÀÇ  ÆË¾÷¸Þ´º  °¡´É¿©ºÎ
document.write('<param  name="fullScreen"  value="false">');//    ÀüÃ¼È­¸é//  ÀÚ¸·  ÆÄÀÏÀ»  »ç¿ëÇÒ°æ¿ì//(div  id=CapText  )(/div)
document.write('<param  name="windowlessVideo"  value="false">');
document.write('<param  name="enableErrorDialogs"  value="false">');
document.write('<param  name="_cx"  value="6482">');
document.write('<param  name="_cy"  value="6350">');
document.write('</object>');
}

function nalsi2(file,width,height){
//document.write('<object id="splayer" CLASSID="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" width="'+width+'" height="'+height+'" type="application/x-oleobject">');
document.write('<object 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+'" id="MediaPlayer" type="application/x-oleobject" standby="Loading Microsoft Windows Media Player components...">'); 
document.write('<param name="url" value="'+file+'">');
document.write('<PARAM NAME="autoStart" value="True">');
document.write('<PARAM NAME="PlayCount" VALUE="1">');
document.write('<param name="TransparentAtStart" value="1">');
document.write('<param name="AnimationAtStart" value="0">');
document.write('<param NAME="SendkeyboardEvents" VALUE="1">');
document.write('<param name="fullScreen" value="0">');
document.write('<param name="mute" value="false">');
document.write('<PARAM NAME="EnableContextMenu" VALUE="0">');
document.write('<PARAM NAME="volume" VALUE="90">');
document.write('<param NAME="Rate" VALUE="1">');
document.write('<param name="BufferingTime" value="5">');
document.write('<PARAM NAME="uimode" VALUE="none">');
document.write(' </object>');
}

function nalsi(file,width,height){
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp" src="'+file+'" width="'+width+'" height="'+height+'"  SHOWCONTROLS=0 SHOWSTATUSBAR=0 SHOWDISPLAY=0 SHOWGOTOBAR=0 AUTOSTART=1  showpositioncontrols="0" showcontrols="0" EnableContextMenu="false" transparentatstart="1" autosize="0" autostart="true" animationatstart="0" volume="90" loop=true >');
}

function sportv(file,width,height){
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/download/default.asp" src="'+file+'" width="'+width+'" height="'+height+'"  SHOWCONTROLS=0 SHOWSTATUSBAR=0 SHOWDISPLAY=0 SHOWGOTOBAR=0 AUTOSTART=1  showpositioncontrols="0" showcontrols="1" EnableContextMenu="false" transparentatstart="1" autosize="0" autostart="true" animationatstart="0" volume="90" loop=true pallete="black">');
}


function aod(file){
document.write('<object id=NSPlay name=NSPlay classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..."  type="application/x-oleobject " bgcolor="DarkBlue" width=320 height=70>');
document.write('<param name="AutoStart" value="1">');
document.write('<param name="Filename" value="' +file+ '" target="r_bottom">');
document.write('<param name="ShowControls" value="1">');
document.write('<param name="ShowAudioControls" value="1">');
document.write('<param name="ShowGotoBar" value="0">');
document.write('<param name="ShowPositionControls" value="1">');
document.write('<param name="ShowStatusBar" value="1">');
document.write('<param name="Volume" value="1">');
document.write('<param name="ShowCaptioning" value="0">');
document.write('<param name="TransparentAtStart" value="0">');
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" id="NSPlay" name="NSPlay" displaysize="4" autosize="1"  showcontrols="0" showdisplay="0" showstatusbar="1"  width=320   height=260 src="' +file+ '" target="r_bottom"  autostart="1">');
document.write('</embed>');
document.write('</object>');
}
