/*
	This portion of the script detects the user's browser type and version.  If the 
	browser is IE 3.0x or 4.0+, or Netscape 4.0+, the script writes
	a link tag to load a separate style sheet for each browser.
	You will need to supply the style sheets, and change the path
	and file names as necessary in the link tags.
	*/
	 var browser=navigator.appName;
	 var version=navigator.appVersion
	 var ver1=version.substring(0,1)
	 var ver2=version.lastIndexOf("MSIE")
	 var ver3=version.substring(ver2+5,ver2+6)
	
	 function itsNetscape() { // write the link for Netscape 4.0+
	  document.write('<LINK REL=StyleSheet HREF="styles/nc4.css" TYPE="text/css">')
	 }	
	 function itsMsie() { // find out which version of IE is in use
	  if (browser == "Microsoft Internet Explorer")
	  ieVersion()
	 }
	 function ieVersion(){ // write the link for IE3 or IE4+
	  if (ver1 >= 4)
	   document.write('<LINK REL=StyleSheet HREF="styles/ie4.css" TYPE="text/css">')
	  if (ver3 == 3)
	   document.write('<LINK REL=StyleSheet HREF="styles/ie3.css" TYPE="text/css">')
	 }
	 if ((browser == "Netscape") && (ver1 >= 4)){ // check to see if the browser is Netscape
	  itsNetscape()
	 }
	 else{ // otherwise assume the browser is IE
	  itsMsie()
	 }
	


