//popupDiv.js
/* -----------------------------------------------
   Floating layer - v.1
   (c) 2006 www.haan.net
   contact: jeroen@haan.net
   You may use this script but please leave the credits on top intact.
   Please inform us of any improvements made.
   When usefull we will add your credits.
  ------------------------------------------------ */
//
// dynamically add a div to
// dim all the page
function setVisible(obj, dimmer)
{
	dimmer = document.getElementById(dimmer);
	obj = document.getElementById(obj);
	dimmer.style.visibility = (dimmer.style.visibility == 'visible') ? 'hidden' : 'visible';	
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}
