</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<SCRIPT language="javascript">
<!--
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
}
}
function jumptoie5()
{
if (event.srcElement.className=="menuitems")
{
if (event.srcElement.url != '')
{
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>
var Living=true
var AutoPlay=true
var IsVidio
var HSFileName=''
var LSFileName=''
var Button_Num=0;
var Real
Real='document.MPlayer.'
var CanPlay=true;
var CanStop=false;
var CanPause=false;
var Mute=false;
var CanSetPos=false;
var SetPosStart=false;
var GetLenStart=false
var CanSetVol=true;
var SetVolStart=false
var bigwin=false;
var PlayState=0;//0-无(停止);1-connecting;2-buffuring;3-playing;4-pause
var CurrentEntry=1;
function DoPlay()
{
eval(Real+'Play()');
//eval(Real+'ShowControls=false')
}
function DoStop()
{
eval(Real+'Stop()');
eval(Real+'CurrentPosition=0');
}
function DoPlayPause()
{
eval(Real+'Pause()');
}
function SetPosition(Pos)
{
eval(Real+'CurrentPosition='+Pos);
}
function SetVolume(Pos)
{
eval(Real+'Volume=Pos');
}
function SetMute(Status)
{
if (Status)
eval(Real+'Mute=true')
else
eval(Real+'Mute=false');
}
function GetLength()
{
return eval(Real+'Duration');
}
function GetPosition()
{
tt=eval(Real+'CurrentPosition')
return tt*1000;
}
function SetSource(srcname)
{
eval(Real+'FileName=srcname')
}
function SetWH(widthpx,heightpx)
{
eval(Real+'width=widthpx')
eval(Real+'height=heightpx')
}
function SetFullScreen()
{
if (eval(Real+'playState')==2) {eval(Real+'DisplaySize=3')}
}
function vols()
{
if(event.button!=2)
{
orix=event.x
orileft=vblock.style.pixelLeft
SetVolStart=true
}
}