// Hide / Show a layer with one click of a link
// Written by Lars Michael Astrom
// 2007 A3 IT Solutions

// How to implement:
// have the layer you want to hide/show have an id and style="display:none" or
// style="display:block;" if you want it to be off or on by default

function hideShow(id){
  var obj = document.getElementById(id); // set the object to be changed
  if (obj.style.display == "none"){
    obj.style.display = "block";
  }else{
    obj.style.display = "none";
  }
}