/* This script and many more are available free online at The JavaScript Source :: http://javascript.internet.com Created by: Ultimater, Mr J :: http://www.webdeveloper.com/forum/showthread.php?t=77389 */ function toggle(a) { var e = document.getElementById(a); if(!e) return true; if(e.style.display == "none") { e.style.display = "block" } else { e.style.display = "none" } return true; }