var pxToMouse = 16; var divAlpha = 92; var divAlphaAn = 82; var aKeepShow = 52; var keepShowing = false; var stFadIn = null; var stDoHide = null; var stFadOut = null; var tFadOut = 500; var vFadInStep = 12; var vFadOutStep = 22; var vFad = 10; var ifOn = false; var severUrl = "data/video/"; function show(videoUrl){ MediaPlayer1.Filename = severUrl+videoUrl; clearTimeout(stDoHide); clearTimeout(stFadOut); clearTimeout(stFadIn); // L1.style.posLeft = 686; L1.style.posTop = 194; if(ifOn){}else{ // L1.style.visibility = ''; L1.style.filter="Alpha()"; L1.filters.Alpha.opacity = 0; fadeIn(videoUrl); ifOn = true; } } function showAn(answer){ txt_show.innerHTML = answer; clearTimeout(stDoHide); clearTimeout(stFadOut); clearTimeout(stFadIn); // L2.style.posLeft = 686; L2.style.posTop = 194; if(ifOn){}else{ // L2.style.visibility = ''; L2.style.filter="Alpha()"; L2.filters.Alpha.opacity = 0; fadeInAn(); ifOn = true; } } function hide(){ keepShowing = false; clearTimeout(stFadIn); stDoHide = window.setTimeout("fadOut();",tFadOut); ifOn =false; } function hideAn(){ keepShowing = false; clearTimeout(stFadIn); stDoHide = window.setTimeout("fadOutAn();",tFadOut); ifOn =false; } function fadeIn(){ if(L1.filters.Alpha.opacity0 && keepShowing == false){ L1.filters.Alpha.opacity -= vFadOutStep; stFadOut = setTimeout("fadOut();",vFad); }else if(L1.filters.Alpha.opacity<=0){ L1.style.visibility = 'hidden'; MediaPlayer1.Filename = ""; } } function fadOutAn(){ if(L2.filters.Alpha.opacity>0 && keepShowing == false){ L2.filters.Alpha.opacity -= vFadOutStep; stFadOut = setTimeout("fadOutAn();",vFad); }else if(L2.filters.Alpha.opacity<=0){ L2.style.visibility = 'hidden'; } } function keepShow(){ if(L1.filters.Alpha.opacity>aKeepShow){ keepShowing = true; clearTimeout(stFadOut); fadeIn(); } } function parseSpan(){ var spans=document.getElementsByTagName('span'); for(var i=0;i"); document.write(".9p {font-size:"+ fontSize +";color: "+ fontColor +";background-image: url("+ bgImageUrl +");border: 3px double "+ borderColor +";line-height: "+fontLineHeight+";text-decoration: none;padding-top: 2px;padding-right: 1px;padding-bottom: 1px;padding-left: 1px;background-repeat: repeat-x;}"); document.write(""); document.write(""); document.write(""); document.write("");