isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? 1 : 0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all && !isMac) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

// Rollovers
if (document.images) {       //if image object is available     
	project_on = new Image();		// MouseOver Images
	project_on.src = "images/home/project_on.gif";
	members_on = new Image();
	members_on.src = "images/home/members_on.gif";
	foundation_on = new Image();
	foundation_on.src = "images/home/foundation_on.gif";
	home_on = new Image();
	home_on.src = "images/home/home_on.gif";
	
	project_icon_on = new Image();
	project_icon_on.src = "images/home/project_icon_on.gif";
	members_icon_on = new Image();
	members_icon_on.src = "images/home/members_icon_on.gif";
	foundation_icon_on = new Image();
	foundation_icon_on.src = "images/home/foundation_icon_on.gif";
	
	
	project_off = new Image();		  	// MouseOut Images
	project_off.src = "images/home/project_off.gif";
	members_off = new Image();
	members_off.src = "images/home/members_off.gif";
	foundation_off = new Image();
	foundation_off.src = "images/home/foundation_off.gif";
	back_off = new Image();
	back_off.src = "images/home/back_off.gif";
	
	project_icon_off = new Image();
	project_icon_off.src = "images/home/project_icon_off.gif";
	members_icon_off = new Image();
	members_icon_off.src = "images/home/members_icon_off.gif";
	foundation_icon_off = new Image();
	foundation_icon_off.src = "images/home/foundation_icon_off.gif";
	back_on = new Image();
	back_on.src = "images/home/back_on.gif";
}

// naviOn(imgName)
function naviOn(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_on.src");
		document[imgName + "_icon"].src = eval(imgName + "_icon_on.src");
	}
}
// naviOff(imgName)
function naviOff(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_off.src");
		document[imgName + "_icon"].src = eval(imgName + "_icon_off.src");
	}
}

// backOn(imgName)
function backOn(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_on.src");
	}
}
// backOff(imgName)
function backOff(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_off.src");
	}
}



