I'm looking for a counter that will act in a similar manner: http://www.nationalpriorities.org/ (on the right side at the bottom “Cost of the war in Iraqâ€) I have only java script: <div id="counting">1</div> <script type="text/javascript">var n=1; function plusfigure (n){ document.getElementById("counting").innerHTML=n; n++; setTimeout("plusfigure ("+n+")",500); } plusfigure (n); </script> Code (markup): This script is not resistant to refresh. Someone could help me? Ps. Sorry for my english.