//platform sniffer serve the appropriate style sheet----------------------------------------------------------------
		var os;
		os = navigator.platform;
		if (os == "MacPPC"){
				document.writeln('<link rel="stylesheet" type="text/css" href="styles/macStyle.css">');
			}	
		else {
			document.writeln('<link rel="stylesheet" type="text/css" href="styles/pcStyle.css">');
        	}
			
//preload and ID images

		aboutOff = new Image();
  		aboutOff.src = "images/navAboutOff.gif";
		
		aboutOn = new Image();
  		aboutOn.src = "images/navAboutOn.gif";
		
		eventsOff = new Image();
  		eventsOff.src = "images/navEventsOff.gif";
		
		eventsOn = new Image();
  		eventsOn.src = "images/navEventsOn.gif";
		
		volunteersOff = new Image();
  		volunteersOff.src = "images/navVolunteersOff.gif";
		
		volunteersOn = new Image();
  		volunteersOn.src = "images/navVolunteersOn.gif";
		
		fundraisingOff = new Image();
  		fundraisingOff.src = "images/navFundraisingOff.gif";
		
		fundraisingOn = new Image();
  		fundraisingOn.src = "images/navFundraisingOn.gif";
		
		outreachOff = new Image();
  		outreachOff.src = "images/navOutreachOff.gif";
		
		outreachOn = new Image();
  		outreachOn.src = "images/navOutreachOn.gif";
		
		helpfulOff = new Image();
  		helpfulOff.src = "images/navHelpfulOff.gif";
		
		helpfulOn = new Image();
  		helpfulOn.src = "images/navHelpfulOn.gif";
		
		contactOff = new Image();
  		contactOff.src = "images/navContactOff.gif";
		
		contactOn = new Image();
  		contactOn.src = "images/navContactOn.gif";
		
		
			
//image swtich  -------------------------------------------------------------------

// Function to 'activate' images.
function imgSwitchOn(imgName) {
	imgName = imgName + "";
	document[imgName].src = eval(imgName + "On.src");
}
// Function to 'deactivate' images.
function imgSwitchOff(imgName) {
	imgName = imgName + "";
	document[imgName].src = eval(imgName + "Off.src");
}
 
//NN fix  -------------------------------------------------------------------

function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight;
onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH)
location.reload();
}
reloadPage(true);