
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
	if (browserName == "Netscape" && browserVer >= 3) version = "n3";
	else version = "n2";
	if (version == "n2" && browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "n3";
	if (version == "n3") {
	b1on = new Image(148, 19);
	b1on.src = "/images/buttons/b1_on.gif";
	b2on = new Image(148, 19);
	b2on.src = "/images/buttons/b2_on.gif";
	b3on = new Image(148, 19);
	b3on.src = "/images/buttons/b3_on.gif";
	b4on = new Image(148, 19);
	b4on.src = "/images/buttons/b4_on.gif";
	b5on = new Image(148, 19);
	b5on.src = "/images/buttons/b5_on.gif";
	b6on = new Image(148, 19);
	b6on.src = "/images/buttons/b6_on.gif";
	b7on = new Image(148, 19);
	b7on.src = "/images/buttons/b7_on.gif";
	b8on = new Image(148, 19);
	b8on.src = "/images/buttons/b8_on.gif";
	b9on = new Image(148, 19);
	b9on.src = "/images/buttons/b9_on.gif";
	b10on = new Image(148, 19);
	b10on.src = "/images/buttons/b10_on.gif";
	b11on = new Image(148, 19);
	b11on.src = "/images/buttons/b11_on.gif";
	b12on = new Image(148, 19);
	b12on.src = "/images/buttons/b12_on.gif";
	b13on = new Image(148, 19);
	b13on.src = "/images/buttons/b13_on.gif";

	bhomeon = new Image(47, 16);
	bhomeon.src = "/images/buttons/bhome_on.gif";
	bsearchon = new Image(99, 16);
	bsearchon.src = "/images/buttons/bsearch_on.gif";
	bcontacton = new Image(84, 16);
	bcontacton.src = "/images/buttons/bcontact_on.gif";

	b1off = new Image(148, 19);
	b1off.src = "/images/buttons/b1_off.gif";
	b2off = new Image(148, 19);
	b2off.src = "/images/buttons/b2_off.gif";
	b3off = new Image(148, 19);
	b3off.src = "/images/buttons/b3_off.gif";
	b4off = new Image(148, 19);
	b4off.src = "/images/buttons/b4_off.gif";
	b5off = new Image(148, 19);
	b5off.src = "/images/buttons/b5_off.gif";
	b6off = new Image(148, 19);
	b6off.src = "/images/buttons/b6_off.gif";
	b7off = new Image(148, 19);
	b7off.src = "/images/buttons/b7_off.gif";
	b8off = new Image(148, 19);
	b8off.src = "/images/buttons/b8_off.gif";
	b9off = new Image(148, 19);
	b9off.src = "/images/buttons/b9_off.gif";
	b10off = new Image(148, 19);
	b10off.src = "/images/buttons/b10_off.gif";
	b11off = new Image(148, 19);
	b11off.src = "/images/buttons/b11_off.gif";
	b12off = new Image(148, 19);
	b12off.src = "/images/buttons/b12_off.gif";
	b13off = new Image(148, 19);
	b13off.src = "/images/buttons/b13_off.gif";

	bhomeoff = new Image(47, 16);
	bhomeoff.src = "/images/buttons/bhome_off.gif";
	bsearchoff = new Image(99, 16);
	bsearchoff.src = "/images/buttons/bsearch_off.gif";
	bcontactoff = new Image(84, 16);
	bcontactoff.src = "/images/buttons/bcontact_off.gif";
	}
function img_act(imgName) {
	if (version == "n3") {
	imgOn = eval(imgName + "on.src");
	document[imgName].src = imgOn;
	}
}

function img_inact(imgName) {
	if (version == "n3") {
	imgOff = eval(imgName + "off.src");
	document[imgName].src = imgOff;
	}
}


function getCookie(cookieHeader)
{	var search = cookieHeader + "=", cookieString = "";
	if (document.cookie.length > 0)
	{
		findNameIndex = document.cookie.indexOf(search);
		if (findNameIndex != -1)
		{
			findNameIndex += search.length;
			endIndex = document.cookie.indexOf(";", findNameIndex);
			if (endIndex == -1) endIndex = document.cookie.length;
			cookieString = document.cookie.substring(findNameIndex, endIndex);
		}
	}
	return (cookieString);
}


function searchWindow() {
  search = window.open('/search.shtml','search','toolbar=no,width=238,height=264,directories=no,location=no,status=no,scrollbars=no,resizable=yes,menubar=no');
  if (search.opener == null) search.opener = window;
  search.opener.name = "opener";
}


function createWindow(target,width,height) {
  targetName = target;
  targetName = target.substring(0, target.lastIndexOf('.'));
  if (target.indexOf('/') != -1) { targetName = targetName.substring(targetName.lastIndexOf('/')+1, length.targetName); }
//  params = "toolbar=no,width=" + width + ",height=" + height + ",directories=no,location=no,status=no,scrollbars=no,resizable=yes,menubar=no";
//  alert("x" + targetName + "x");
  scrollbars = "no"; if (target.indexOf('maps/') != -1) { scrollbars = "yes"; }

  window.open(target, targetName, "toolbar=no,width=" + width + ",height=" + height + ",directories=no,location=no,status=no,scrollbars=" + scrollbars + ",resizable=no,menubar=no");
}


function message(txt) { window.status = txt; }
function remove_message() { window.status = ""; }
