// JScript 文件


function pv_m(u, w, h,flage){  
var pv='';  

pv += '<object width="'+w+'" height="'+h+'" id="iask_v" 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">';  
pv += '<param name="FileName" value="'+u+'">';  
pv += '<param name="AutoStart" value="1">';  
pv += '<param name="AutoSize" value="1">';  
pv += '<param name="ShowControls" value="1">';  
pv += '<param name="ShowPositionControls" value="0">';  
pv += '<param name="ShowAudioControls" value="1">';  
pv += '<param name="ShowTracker" value="1">';  
pv += '<param name="ShowDisplay" value="0">';  
pv += '<param name="ShowStatusBar" value="1">';  
pv += '<param name="ShowGotoBar" value="0">';  
pv += '<param name="ShowCaptioning" value="0">';  
pv += '<param name="PlayCount" value="1">';  
pv += '<param name="AnimationAtStart" value="0">';  
pv += '<param name="TransparentAtStart" value="0">';  
pv += '<param name="AllowScan" value="0">';  
pv += '<param name="EnableContextMenu" value="0">';  
pv += '<param name="ClickToPlay" value="0">';  
pv += '<param name="InvokeURLs" value="1">';  
pv += '<param name="DefaultFrame" value="">';  
pv += '<embed src="'+u+'" width="'+w+'" height="'+h+'" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&;sbp=mediaplayer&ar=media&sba=plugin&" name="MediaPlayer" showcontrols="1" showpositioncontrols="0" showaudiocontrols="1" showtracker="1" showdisplay="0" showstatusbar="1" autosize="0" showgotobar="0" showcaptioning="0" autostart="1" autorewind="0" animationatstart="0" transparentatstart="0" allowscan="1" enablecontextmenu="1" clicktoplay="0" invokeurls="1" defaultframe=""></embed>';  
pv += '</object>';  

//document.write(pv);  
if (flage==1)
{
document.getElementById ("div_music").innerHTML=pv;
}
else if (flage==2)
{
document.getElementById ("div_video").innerHTML=pv;

} 


}  
