function show()//隐藏AD层、显示FLASH层 { document.getElementById("showAD").style.display='none'; document.getElementById("showSWF").style.display='block'; }
function refreshProgress()//刷新进度条函数 { var downProgressWidth=502; var bar = document.getElementById("loadpercent"); var movie = document.getElementById("flashgame"); var nPercentLoaded = Math.abs(movie.PercentLoaded()); bar.style.width=Math.ceil(downProgressWidth*nPercentLoaded/100) +"px"; bar.innerHTML= nPercentLoaded +"%";