document.write("
"); document.write(" "); document.write("
"); document.write("
"); //0){ //如果是Firefox    if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) { //如果是子元素    return; //结束函式 } } if (browser.indexOf("MSIE")>0){ //如果是IE if (document.getElementById('divOnline').contains(event.toElement)) { //如果是子元素 return; //结束函式 } } } /*要执行的操作*/ document.getElementById("divMenu").style.display = "block"; document.getElementById("divOnline").style.display = "none"; } function topright() { window.setInterval("displaytopright()",20); } function displaytopright() { var theTop; var theRight; if (document.documentElement && document.documentElement.scrollTop) { theRight = document.documentElement.scrollRight; theTop = document.documentElement.scrollTop; } else { theRight = document.body.scrollRight; theTop = document.body.scrollTop; } floater.style.pixelTop = theTop + 120 ; } topright(); function close_float_right(){ floater.style.visibility='hidden'; } var lastHeight; function init() { autojudge(); lastHeight= right.document.body.scrollHeight; setInterval(function(){ if(right.document.body.scrollHeight!=lastHeight) { autojudge(); lastHeight= right.document.body.scrollHeight; } },1); } function autojudge(){ document.all('right').height=right.document.body.scrollHeight; } //!]]> }