/*  IE4GetElementById translates getElementById for IE4 */		function IE4GetElementById(id)		{		return document.all[id];		}				/* NN4GetLayerById translates getElementById for NN4 */		function NN4GetLayerById(id)		{		return document.layers[id];		}			/* directs any getElementById calls to the correct browser-specific function */		if (document.layers)			document.getElementById = NN4GetLayerById;		else if (document.all && !document.getElementById)			document.getElementById = IE4GetElementById;			/*getStyleObject makes the actual getElementById call, appends the correct browser specific syntax and returns the value*/			function getStyleObject(id)		{		var elem = null;		var styleObject = null;				elem = document.getElementById(id);				if (elem)		{			if (elem.style)				styleObject = elem.style;			else if (document.layers)				styleObject = elem;		}					return styleObject;				}				/* on nav mouse over, swapHeaderUp funnels nav div ids into getStyleObject.  When values are returned, swapHeaderUp alters the visibility of the specified objects */			function swapHeaderUp(square, teaser)		{		var mySquare = getStyleObject(square);		var myTeaser = getStyleObject(teaser);		var shortLines = getStyleObject("tsrLines");		var longLines = getStyleObject("topLines");		var dftSquare = getStyleObject("hdrDefault");				if (mySquare)			mySquare.visibility = "visible";				if (myTeaser)			myTeaser.visibility = "visible";					if (shortLines)			shortLines.visibility = "visible";				if (longLines)			longLines.visibility = "hidden";					if (dftSquare)			dftSquare.visibility = "hidden";		}		/* on nav mouse out, swapHeaderDown funnels nav div ids into getStyleObject.  When values are returned, swapHeaderDown alters the visibility of the specified objects */			function swapHeaderDown(square, teaser)		{		var longLines = getStyleObject("topLines");		var dftSquare = getStyleObject("hdrDefault");		var mySquare = getStyleObject(square);		var myTeaser = getStyleObject(teaser);		var shortLines = getStyleObject("tsrLines");				if (longLines)			longLines.visibility = "visible";					if (dftSquare)			dftSquare.visibility = "visible";				if (mySquare)			mySquare.visibility = "hidden";				if (myTeaser)			myTeaser.visibility = "hidden";					if (shortLines)			shortLines.visibility = "hidden";				} 	function swapCapsUp(caption)	{			var dftCaption = getStyleObject("dftCap");			var onCaption = getStyleObject(caption);			if (onCaption)			onCaption.visibility = "visible";			if (dftCaption)			dftCaption.visibility = "hidden";	}	function swapCapsDown(caption)	{			var offCaption = getStyleObject(caption);			if (offCaption)			offCaption.visibility = "hidden";	}	function swapThumbs(display,caption)	{	var oneDisplay = getStyleObject("display1");	var oneCaption = getStyleObject("cap1");	var twoDisplay = getStyleObject("display2");	var twoCaption = getStyleObject("cap2");	var threeDisplay = getStyleObject("display3");	var threeCaption = getStyleObject("cap3");	var myDisplay = getStyleObject(display);	var myCaption = getStyleObject(caption);if (oneDisplay)		oneDisplay.visibility = "hidden";if (oneCaption)		oneCaption.visibility = "hidden";if (twoDisplay)		twoDisplay.visibility = "hidden";if (twoCaption)		twoCaption.visibility = "hidden";if (threeDisplay)		threeDisplay.visibility = "hidden";if (threeCaption)		threeCaption.visibility = "hidden";if (myDisplay)		myDisplay.visibility = "visible";if (myCaption)		myCaption.visibility = "visible";}function popWindow(page, name, wide, high, toppixels,leftpixels){newWindow = window.open(page, name, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+wide+",height="+high+",screenX="+leftpixels+",screenY="+toppixels+",left="+leftpixels+",top="+toppixels)newWindow.creator = selfnewWindow.focus()}
