	function preload()
	{
		if (document.images)
		{
			aboutNFPAOn = new Image();
			aboutNFPAOff = new Image();
			aboutFluidPowerOn = new Image();
			aboutFluidPowerOff = new Image();
			marketDataOn = new Image();
			marketDataOff = new Image();
			technicalStandardsOn = new Image();
			technicalStandardsOff = new Image();
			educationOn = new Image();
			educationOff = new Image();
			eventsOn = new Image();
			eventsOff = new Image();
			storeOn = new Image();
			storeOff = new Image();
			joiningNFPAOn = new Image();
			joiningNFPAOff = new Image();
			aboutNFPAOn.src = "buttons/aboutNFPA_on.gif";
			aboutNFPAOff.src = "buttons/aboutNFPA.gif";
			aboutFluidPowerOn.src = "buttons/abtFluidPower_on.gif";
			aboutFluidPowerOff.src = "buttons/abtFluidPower.gif";
			marketDataOn.src = "buttons/mktData_on.gif";
			marketDataOff.src = "buttons/mktData.gif";
			technicalStandardsOn.src = "buttons/techStds_on.gif";
			technicalStandardsOff.src = "buttons/techStds.gif";
			educationOn.src = "buttons/education_on.gif";
			educationOff.src = "buttons/education.gif";
			eventsOn.src = "buttons/events_on.gif";
			eventsOff.src = "buttons/events.gif";
			storeOn.src = "buttons/store_on.gif";
			storeOff.src = "buttons/store.gif";
			joiningNFPAOn.src = "buttons/join_red.gif";
			joiningNFPAOff.src = "buttons/joinball.gif";
			}
		}
//END OF IMAGE PRELOAD
	function positionRedLine()
	{
	//jg	grayLogoElement = document.getElementById("grayLogo");
	//jg	redLineElement = document.getElementById("redLine");
	//	redLine.left = grayLogo.left + grayLogo.width;
	//jg	redLineElement.style.left = "283px";
	
	//jg	redLineElement.style.top = grayLogoElement.offsetTop + 	
	//jg    grayLogoElement.offsetHeight + 116 + 30;
	
	}
	function swapImage(theImage,theFile)
	{
		document[theImage].src = theFile;
	}
	function overMenuHeader(theHeader, intColID)
	{
		col = document.getElementById("col"+intColID);
		col.style.visibility='visible';
	}
	function outMenuHeader(theHeader,intColID)
	{
		col = document.getElementById("col"+intColID);
		col.style.visibility='hidden';
	}
	function overMenuColumn(theColumn)
	{
		theColumn.style.visibility='visible';
	}
	function outMenuColumn(theColumn)
	{
		theColumn.style.visibility='hidden';
	}
	function overMenuItem(theItem)
	{
		theItem.style.backgroundColor="#ECE8E8";
		theItem.style.color="#000000";
	}
	function outMenuItem(theItem)
	{
		theItem.style.backgroundColor="#c4c1c1";
		theItem.style.color="#000000";
	}
	function clickMenuItem(pid)
	{
		window.location = window.location.protocol + "//" + window.location.hostname + "/" + "default.asp?pid=" + pid; 
	}
	function submitSearch()
	{
		if ( String(document.searchForm.searchText.value).length == 0 )
		{
			alert("Please Enter The Text To Search For Before Clicking ''Search''");
		}
		else
		{
			window.location = window.location.protocol + "//" + window.location.hostname + "/" + "search/search.asp?pid=303&searchstring=" + document.searchForm.searchText.value;
		}
	}
	function clickSiteMap()
	{
		window.location = window.location.protocol + "//" + window.location.hostname + "/" + "default.asp?pid=304";
	}
	function clickMembersOnly()
	{
		window.location = "/member/welcome.asp?pid=8";
	}
	function mouseOverHomePageLink(theItem)
	{
		theItem.style.color="#f6240e";
	}
	function mouseOutHomePageLink(theItem)
	{
		theItem.style.color="#000000";
	}

	function mouseOverLink(siteurl,pID) 		
	{
		self.status = siteurl + "&sid=" + document.secure_id_form.secure_id.value
	}
	function openEventCalendar()
	{
		window.open("/calendar/Calendar.aspx","calendarWindow","toolbar=no,width=600,height=700,scrollbars=yes")
	}

	function mouseOverLink(siteurl,pID) 		
	{
		self.status = siteurl + "&sid=" + document.secure_id_form.secure_id.value
	}

	function submitLoginForm()
	{
	document.getElementById('frmInPageLogin').submit();
	} 
