
/* hide intro layer in Home page and shows content instead */
function toggleLayers(szDivID, iState) // 1 visible, 0 hidden
{
    if(document.layers)	   //NN4+
    {
		document.layers[contentwrapper].visibility = "show";
		document.layers[introwrapper].visibility = "hide";
		document.layers[introwrapper].position.left = -1000;
    }
    else if(document.getElementById)	  //gecko(NN6) + IE 5+
    {
  		//alert(szDivID + " / " + iState);
		document.getElementById("contentwrapper").style.visibility = "visible";
		document.getElementById("introwrapper").style.visibility = "hidden";
		document.getElementById("introwrapper").style.position.left = -1000;
    }
}

/* pops up a window */
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=580,left = 595,top = 250');");
}

