/* Copyright: Martin J. Marsh, March, June 2007 - www.ecomarshosgame.com - Individual use permissions only. This version updated 6th Oct 2008. */ var abc,overabarel=2,totcumul=5,liftportr=-6; var testscrol = 0; function shoemnow(){ mno = document.getElementById("upgobut"); mno.style.visibility = "visible"; jkl = document.getElementById("downbut"); jkl.style.visibility = "visible"; } function stopball(){ ghi = document.getElementById("shifthelp"); ghi.style.visibility = "hidden"; shoemnow(); } function chngitopts(){ def = document.getElementById("shifthelp"); def.style.visibility = "visible"; def.style.display = "block"; } function safebuttn(){ mno = document.getElementById("upgobut"); mno.style.visibility = "hidden"; jkl = document.getElementById("downbut"); jkl.style.visibility = "hidden"; chngitopts(); } function moveball(){ def = document.getElementById("shifthelp"); if (def.style.visibility == "hidden") {return;} overabarel = totcumul; abc = parent.contentz.document.getElementById("ball1"); abc.style.top = overabarel; overabarel = overabarel + liftportr; totcumul = overabarel; if ((liftportr == -3) && (totcumul < -2963)){ totcumul = 320} if ((liftportr == 3) && (totcumul > 320)){ totcumul = -3363} setTimeout('moveball()', 50); } // For admin use: with var testscrol equal to 1; // Click News page End paragraph; function pagelongr(){ if (document.all){ var sizerems = document.body.scrollTop; } if (testscrol == 1){ alert('Page length scroll figure ' + sizerems) } } // Praxis - Scroll as much as 2551, then set to -2834 and -3234; // Praxis - Scroll as much as 2680, then set to -2963 and -3363;