function openWindow(url, height, width)
{
    temp = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no," +
           "width=" + width + ",height=" + height;
    window.open(url,'',temp);
}

/*********************************************************************************************
	Rollover function
*********************************************************************************************/
function rollOver(imageTagName, imageFileName)
{
  document.images[imageTagName].src=imageFileName;
}

/********************************************************************************************
	Preload images
********************************************************************************************/	
var root = "";

function initialize(newRoot)
{
	root = newRoot;
	var imagePath = root + "/Images/Navigation/";

	nav_whatitis_ON = new Image();
	nav_whatitis_ON.src = imagePath + "nav_whatitis_ON.gif";
	nav_whatitis_OFF = new Image();
	nav_whatitis_OFF.src = imagePath + "nav_whatitis_OFF.gif";

	nav_whyyouneedit_ON = new Image();
	nav_whyyouneedit_ON.src = imagePath + "nav_whyyouneedit_ON.gif";
	nav_whyyouneedit_OFF = new Image();
	nav_whyyouneedit_OFF.src = imagePath + "nav_whyyouneedit_OFF.gif";

	nav_howitworks_ON = new Image();
	nav_howitworks_ON.src = imagePath + "nav_howitworks_ON.gif";
	nav_howitworks_OFF = new Image();
	nav_howitworks_OFF.src = imagePath + "nav_howitworks_OFF.gif";

	nav_whatyouget_ON = new Image();
	nav_whatyouget_ON.src = imagePath + "nav_whatyouget_ON.gif";
	nav_whatyouget_OFF = new Image();
	nav_whatyouget_OFF.src = imagePath + "nav_whatyouget_OFF.gif";

	nav_whoisusingit_ON = new Image();
	nav_whoisusingit_ON.src = imagePath + "nav_whoisusingit_ON.gif";
	nav_whoisusingit_OFF = new Image();
	nav_whoisusingit_OFF.src = imagePath + "nav_whoisusingit_OFF.gif";

	nav_faqs_ON = new Image();
	nav_faqs_ON.src = imagePath + "nav_faqs_ON.gif";
	nav_faqs_OFF = new Image();
	nav_faqs_OFF.src = imagePath + "nav_faqs_OFF.gif";

	nav_contactus_ON = new Image();
	nav_contactus_ON.src = imagePath + "nav_contactus_ON.gif";
	nav_contactus_OFF = new Image();
	nav_contactus_OFF.src = imagePath + "nav_contactus_OFF.gif";
}




/*********************************************************************
	Functions for image rollovers
*********************************************************************/

function setImageActive(imgname)
{
	document.images[imgname].src = eval(imgname + "_ON.src");
}

function setImageInactive(imgname)
{
	document.images[imgname].src = eval(imgname + "_OFF.src");
}