you should ALWAYS use var to declare your variables (to make locally) else it will install GLOBALLY
http://www.w3.org/wiki/JavaScript_best_practices#Avoid_globals
you should ALWAYS use var to declare your variables (to make locally) else it will install GLOBALLY
http://www.w3.org/wiki/JavaScript_best_practices#Avoid_globals