<!--
// browser detection
var dhtml = "";
var preload = 0;

browserName = navigator.appName; browserVer = parseInt(navigator.appVersion);
	if (browserName == "Netscape"
		&& browserVer >= 4) dhtml = "NS4";
	if (browserName == "Microsoft Internet Explorer"
		&& browserVer >= 4) dhtml = "MS4";
	if (browserName == "Netscape" && browserVer >= 3) preload = 1;
	if (dhtml == "NS4" || dhtml == "MS4") preload = 1;

// preload rollover images
if (preload) {
	b_ourhistory_off = new Image(146,16);
	b_ourhistory_off.src = "../images/b_ourhistory_off.gif";
	b_ourpeople_off = new Image(146,17);
	b_ourpeople_off.src = "../images/b_ourpeople_off.gif";
	b_ourproducts_off = new Image(146,17);
	b_ourproducts_off.src = "../images/b_ourproducts_off.gif";
	b_ourservices_off = new Image(146,17);
	b_ourservices_off.src = "../images/b_ourservices_off.gif";
	b_ourenvironment_off = new Image(146,17);
	b_ourenvironment_off.src = "../images/b_ourenvironment_off.gif";
	b_ourtidalenergy_off = new Image(146,17);
	b_ourtidalenergy_off.src = "../images/b_ourtidalenergy_off.gif";
	b_ourcarboncredits_off = new Image(211,18);
	b_ourcarboncredits_off.src = "../images/b_ourcarboncredits_off.gif";
	b_ourcareers_off = new Image(146,14);
	b_ourcareers_off.src = "../images/b_ourcareers_off.gif";
	b_contactus_off = new Image(146,14);
	b_contactus_off.src = "../images/b_contactus_off.gif";
		
	b_ourhistory_on = new Image(146,16);
	b_ourhistory_on.src = "../images/b_ourhistory_on.gif";
	b_ourpeople_on = new Image(146,17);
	b_ourpeople_on.src = "../images/b_ourpeople_on.gif";
	b_ourproducts_on = new Image(146,17);
	b_ourproducts_on.src = "../images/b_ourproducts_on.gif";
	b_ourservices_on = new Image(146,17);
	b_ourservices_on.src = "../images/b_ourservices_on.gif";
	b_ourenvironment_on = new Image(146,17);
	b_ourenvironment_on.src = "../images/b_ourenvironment_on.gif";
	b_ourtidalenergy_on = new Image(146,17);
	b_ourtidalenergy_on.src = "../images/b_ourtidalenergy_on.gif";
	b_ourcarboncredits_on = new Image(211,18);
	b_ourcarboncredits_on.src = "../images/b_ourcarboncredits_on.gif";
	b_ourcareers_on = new Image(146,14);
	b_ourcareers_on.src = "../images/b_ourcareers_on.gif";
	b_contactus_on = new Image(146,14);
	b_contactus_on.src = "../images/b_contactus_on.gif";
	
	
	b_ourhistory_his_off = new Image(146,16);
	b_ourhistory_his_off.src = "../images/b_ourhistory_his_off.gif";
	b_ourpeople_his_off = new Image(146,17);
	b_ourpeople_his_off.src = "../images/b_ourpeople_his_off.gif";
	b_ourproducts_his_off = new Image(146,17);
	b_ourproducts_his_off.src = "../images/b_ourproducts_his_off.gif";
	b_ourservices_his_off = new Image(146,17);
	b_ourservices_his_off.src = "../images/b_ourservices_his_off.gif";
	b_ourenvironment_his_off = new Image(146,17);
	b_ourenvironment_his_off.src = "../images/b_ourenvironment_his_off.gif";
	b_ourtidalenergy_his_off = new Image(146,17);
	b_ourtidalenergy_his_off.src = "../images/b_ourtidalenergy_his_off.gif";
	
	b_ourhistory_his_on = new Image(146,16);
	b_ourhistory_his_on.src = "../images/b_ourhistory_his_on.gif";
	b_ourpeople_his_on = new Image(146,17);
	b_ourpeople_his_on.src = "../images/b_ourpeople_his_on.gif";
	b_ourproducts_his_on = new Image(146,17);
	b_ourproducts_his_on.src = "../images/b_ourproducts_his_on.gif";
	b_ourservices_his_on = new Image(146,17);
	b_ourservices_his_on.src = "../images/b_ourservices_his_on.gif";
	b_ourenvironment_his_on = new Image(146,17);
	b_ourenvironment_his_on.src = "../images/b_ourenvironment_his_on.gif";
	b_ourtidalenergy_his_on = new Image(146,17);
	b_ourtidalenergy_his_on.src = "../images/b_ourtidalenergy_his_on.gif";
}

// function to change button image on rollover without line
function rollOver(imgDocName,imgObjName) {
	if (preload) {
		document [imgDocName].src = eval(imgObjName + ".src");
	}
}

// function to open new window
function createWin(filename,windowname,windowattributes) { 
	window.open(filename, windowname, windowattributes);
}
//-->
