//function to show rollover of images
function rollOver(imName,over) 
{
	if (over) 
	{ 
		document.images[imName].src = "images/sitegraphics/" + imName + "_A.gif"
	}
	else 
	{ 
		document.images[imName].src = "images/sitegraphics/" + imName + ".gif"
	}
}
function Is ()
{   var agt=navigator.userAgent.toLowerCase();

    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);

    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1)));
    this.nav2 = (this.nav && (this.major == 2));
    this.nav3 = (this.nav && (this.major == 3));
    this.nav6up = (this.nav && (this.major >= 5));
    this.opera = (agt.indexOf("opera") != -1);
    this.opera7up = (this.opera && !this.opera2 && !this.opera3 && !this.opera4 && !this.opera5 && !this.opera6);
    this.ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    this.ie4up  = (this.ie && (this.major >= 4));

}
function popup(helpID)
{
	window.open('popup.asp?help='+helpID,'CreateIDHelp','width=400,height=400,scrollbars=yes,resizable=yes');
}

function popupuserguide()
{
	window.open('include/CREATEIDEditorUserGuide.doc','CreateIDHelp','scrollbars=yes,resizable=yes');
}

function displayOption(Option) {
/*	this function shows and hides a div or span
	the space taken up by the div or span does not show when hidden
	parameter:	option is the name of the div or span containing the item to show hide
				the option parameter should be passed WITHOUT quotes

	the item to be shown/hidden must be in a div or span element with an id equal to Option
	if your content is within a table, open and close the div or span tags outside the table
	the function won't work if the content is within a row where the  table declaration
	is outside of the div or span
	
*/
	Option.style.display = Option.style.display == "none" ? "" : "none";
}

function height() 
{
	/*This function detects the height of the page */
        if (document.all) 
           //alert('Document height = ' + document.body.offsetHeight);
		var menuht = (document.body.offsetHeight);
		return(menuht);
}

