
// Show/hide div
function toggle(divName)  {
   with (document.getElementById(divName).style)  {
      if (display == "none")  {
         display = "";
         return "Hide";
      }  else  {
         display = "none";
         return "Show";
      }
   }
}

// hide div
function hide(divName)  {
   with (document.getElementById(divName).style)  {
         display = "none";
   }
}

function launch(file,name,winwidth,winheight) {

version=100;
if (navigator.appVersion.indexOf("MSIE")!=-1){
        temp=navigator.appVersion.split("MSIE")
        version=parseFloat(temp[1]);
}
var string="width="+winwidth+",height="+winheight+",toolbar=0,scrollbars=1,status=0,directories=0,menubar=0,resizable=1,dependent=1";
if (version<=6.0){
        hwnd = window.open(file, null, string);
        }
else{
        hwnd = window.open(file,name,string);
        }
if (navigator.appName == "Netscape") {
        hwnd.focus();
        }
}

//show
function showBlurb(blurbId) {
	el = document.getElementById(blurbId);
	el.style.left = -15; 
	el.style.top = -(el.offsetHeight+5);
	el.style.visibility = "visible";
}

function hideBlurb(blurbId) {
	document.getElementById(blurbId).style.visibility = "hidden";	
}
