Hey, i wrote a simple test to see if firefox has problems with onload and it seems to be ok, the counter adds by one each time refresh is hit so i don't know if this helps you out any?--------------------------------------<head><script>function checkrefresh(){ var val=document.getElementById('one').value; val -=1; val +=2; document.getElementById('one').value=val;}</script></head><body onload="checkrefresh();"><input style="border:white" type="text" value="0" id="one" /></body>