// funstion to toggle visibility on
function talk(str)
(
  // a variable to store the object
  var obj;

  //get the appropriate div layers
  if(str == "sal") obj = document.getElementById("sal");
  if(str == "har") obj = document.getElementById("har");

  // show the layer
  obj.style.visibility = "visible";

)

// a funxtion to toggle visibility off
function hush(str)
(
  // a variable to store the object
  var obj;

  //get the appropriate div layers
  if(str == "sal") obj = document.getElementById("sal");
  if(str == "har") obj = document.getElementById("har");

  // show the layer
  obj.style.visibility = "hidden";

)