/* Java Scripts for TopSkills' Pages */ /* For Use With Business and Flight-Sim Pages */ /* Use next script for auditing pages */ /* Cool Table Menu By Clarence Eldefors (http://www.freebox.com/cereweb) with modifications from javascriptkit.com http://www.javascriptkit.com/script/script2/coolmenu.shtml Visit http://javascriptkit.com for this and over 400+ other scripts */ function movein(which,html){ /*which.style.background='#99CC99'*/ which.style.background='#9999FF' if (document.getElementById) document.getElementById("boxdescription").innerHTML=html else boxdescription.innerHTML=html } function moveout(which){ which.style.background='ccccff' if (document.getElementById) document.getElementById("boxdescription").innerHTML=' ' else boxdescription.innerHTML=' ' } /* Status-Bar Scroller */ function scrollit(seed) { var m1 = "Your satisfaction with our books is guaranteed!"; var m2 = " If they aren't what we say they are,"; var m3 = " send them back for a refund!"; var m4 = " Follow the links to our guarantee details!"; var msg=m1+m2+m3+m4; var out = " "; var c = 1; if (seed > 100) { seed--; cmd="scrollit("+seed+")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; window.status=out; cmd="scrollit("+seed+")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; window.status=out; cmd="scrollit("+seed+")"; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scrollit(100)",75); } } }