//////////////////////////////////////////////////////////////////////////////////////////////global.js///////////////////////////////////////////////////////////////////////////////////////////////////These are functions used site wide.////////////////////////////////////////////////////////////////////WriteCSS//	This is used to create the correct style sheets for the page.//	It takes one argument, which is the path to the stylesheets.//	The name of the style sheets are programmed in.//	LargeTypeBrowsers.css = ie5+, net6+, pc//	SmallTypeBrowsers.css = everything elsefunction WriteCSS( fpath ){	var		plat = navigator.platform;	var		ver = navigator.appVersion;	var		doBig = false;	var		cssString;	if( ver.indexOf("MSIE") > 1)	{		ver = ver.substring(ver.indexOf("MSIE") + 4, 40);	}	if( plat != "MacPPC")	{		doBig = true;	}	else	{		if(parseInt(ver) >= 5)		{			doBig = true;			}	}	cssString = (doBig) ? 'LargeTypeBrowsers.css' : 'SmallTypeBrowsers.css';	cssString = '<link rel="stylesheet" href="' + fpath + cssString + '">';	document.open();	document.write(cssString);	document.close();}////////////////////////////////////////////////////////////////////PopUp//	This opens up a new window with the given page.// To use this, use it as a link.//	the link should be as the following//  javascript:PopUp('pagename.html');function PopUp(page){   var   BarString = "toolbar=yes,menubar=yes,location=no,scrollbars=yes,resizable=yes,";   var   width = 400;   var   height = 400;   BarString = BarString + "width=" + width;   BarString = BarString + ",height=" + height;   window.open(page, "Window", BarString);}