Simple DIV Toggle Javascript
// description of your code here
function simpletogglediv(whichLayer) { var theElementStyle = document.getElementById(whichLayer); if(theElementStyle.style.display == "block") { theElementStyle.style.display = "none"; } else { theElementStyle.style.display = "block"; } }