"; function stCheck() { //top.window.status = 'convenient \'' + top.currentHeight + '\''; var theScrolled=top.document.getElementById("oDiv").scrollTop; var theHeight=top.currentHeight; var theClientHeight=top.document.getElementById("oDiv").clientHeight; var totalHeight = theScrolled + theClientHeight; if (totalHeight>=theHeight){ //alert("readsj"); theScrolled = theHeight-theClientHeight; }else{ //alert(totalHeight + "<"+theHeight); } //top.window.status = 'scroll height \''+top.currentHeight + '\' s top \'' + theScrolled + '\' cl height \'' + theClientHeight +'\''; if (theScrolled>315){ var checkCurrent = ((theHeight-10) - (top.document.getElementById("neverListen").height)) if ((checkCurrent)>(theScrolled)){ top.document.getElementById("neverListen").style.top=theScrolled-315; } }else{ top.document.getElementById("neverListen").style.top=0; } } function timeCheck(){ var theScrolled=top.document.getElementById("oDiv").scrollTop; var theHeight=top.currentHeight; var theClientHeight=top.document.getElementById("oDiv").clientHeight; var totalHeight = theScrolled + theClientHeight; if (totalHeight>=theHeight){ //alert("readsj"); theScrolled = theHeight-theClientHeight; }else{ //alert(totalHeight + "<"+theHeight); } //window.status='h set to ' +theHeight; if (theScrolled>315){ //window.status = "past limit"; var checkCurrent = ((theHeight-10) - (top.document.getElementById("neverListen").height)) if ((checkCurrent)>(theScrolled)){ top.document.getElementById("neverListen").style.top=theScrolled-315; } }else{ top.document.getElementById("neverListen").style.top=0; //window.status = "below limit"; } //var theHeight=top.document.getElementById("oDiv").scrollHeight; //top.window.frames["neverListen"].style.height=theHeight; //window.status='h set to ' +theHeight; ID = window.setTimeout("timeCheck()",500); } ID = window.setTimeout("timeCheck()",1200);