function toggleLayer(statu,whichLayerID){
  // Lets get the ID Object
  obj = document.getElementById(whichLayerID);
  // Lets alter display attribute accordingly
  switch(statu) 
  {  
    // TOGGLE
    case 1:
      //if (obj.style.visibility == "hidden") obj.style.visibility = "visible";
      //else obj.style.visibility = "hidden";
      if (obj.style.display == "none") obj.style.display = "";
      else obj.style.display = "none";
     break;
    // DEFAULT
    default:
      alert("Invalid Parameter");
  }
}

