browserName=navigator.appName;   // detect browser 
browserVer=parseInt(navigator.appVersion);
if (browserVer >= 4 || (browserName == "Netscape" && browserVer >= 3)) version="n3";
else version="n2";

if (version == "n3") {
	ourhistoryon=new Image();
	ourhistoryon.src="../images/history-on.gif";
	donateon=new Image();
	donateon.src="../images/donate-on.gif";
	abouton=new Image();
	abouton.src="../images/about-on.gif";
	calendaron=new Image();
	calendaron.src="../images/calendar-on.gif";
	newsletteron=new Image();
	newsletteron.src="../images/newsletter-on.gif";
	rabbicantoron=new Image();
	rabbicantoron.src="../images/rabbicantor-on.gif";
	rabbismonthlyon=new Image();
	rabbismonthlyon.src="../images/rabbismessage-on.gif";
	indexon=new Image();
	indexon.src="../images/index-on.gif";
	membershipon=new Image();
	membershipon.src="../images/membership-on.gif";
	linkson=new Image();
	linkson.src="../images/links-on.gif";
	mapon=new Image();
	mapon.src="../images/map-on.gif";
	pictureson=new Image();
	pictureson.src="../images/pictures-on.gif";
	newson=new Image();
	newson.src="../images/inthenews-on.gif";
	giftshopon=new Image();
	giftshopon.src="../images/giftshop-on.gif";

	ourhistoryoff=new Image();
	ourhistoryoff.src="../images/history-off.gif";
	donateoff=new Image(); 
	donateoff.src="../images/donate-off.gif";
	aboutoff=new Image(); 
	aboutoff.src="../images/about-off.gif";
	calendaroff=new Image(); 
	calendaroff.src="../images/calendar-off.gif";
	newsletteroff=new Image();
	newsletteroff.src="../images/newsletter-off.gif";
	rabbicantoroff=new Image();
	rabbicantoroff.src="../images/rabbicantor-off.gif";
	rabbismonthlyoff=new Image();
	rabbismonthlyoff.src="../images/rabbismessage-off.gif";
	indexoff=new Image();
	indexoff.src="../images/index-off.gif";
	membershipoff=new Image();
	membershipoff.src="../images/membership-off.gif";
	linksoff=new Image();
	linksoff.src="../images/links-off.gif";
	mapoff=new Image();
	mapoff.src="../images/map-off.gif";
	picturesoff=new Image();
	picturesoff.src="../images/pictures-off.gif";
	newsoff=new Image();
	newsoff.src="../images/inthenews-off.gif";
	giftshopoff=new Image();
	giftshopoff.src="../images/giftshop-off.gif";
}
function img_act(imgName,statusText) {
	if (version == "n3") {
		imgOn=eval(imgName + "on.src");
		document [imgName].src=imgOn;
	}
	window.status = statusText;
	return true;
}
function img_inact(imgName) {
	if (version == "n3") {
		imgOff=eval(imgName + "off.src");
		document [imgName].src=imgOff;
		window.status=' ';
		return true;
	}
}
function display_dues()
{
window.open("http://www.tbssanleandro.org/dues.html","_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=600, height=500, left=100, top=100")
}
