<!--
// 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_splash_ourhistory_off = new Image(146,19);
	b_splash_ourhistory_off.src = "images/b_splash_ourhistory_off.jpg";
	b_splash_ourpeople_off = new Image(146,17);
	b_splash_ourpeople_off.src = "images/b_splash_ourpeople_off.jpg";
	b_splash_ourproducts_off = new Image(146,16);
	b_splash_ourproducts_off.src = "images/b_splash_ourproducts_off.jpg";
	b_splash_ourservices_off = new Image(146,17);
	b_splash_ourservices_off.src = "images/b_splash_ourservices_off.jpg";
	b_splash_ourenvironment_off = new Image(146,19);
	b_splash_ourenvironment_off.src = "images/b_splash_ourenvironment_off.jpg";
	b_splash_ourtidalenergy_off = new Image(146,19);
	b_splash_ourtidalenergy_off.src = "images/b_splash_ourtidalenergy_off.jpg";
	b_splash_ourcarboncredits_off = new Image(146,18);
	b_splash_ourcarboncredits_off.src = "images/b_splash_ourcarboncredits_off.jpg";
	splash_b_contactus_off = new Image(541,27);
	splash_b_contactus_off.src = "images/splash_b_contactus_off.jpg";
	b_splash_ourcareers_off = new Image(541,27);
	b_splash_ourcareers_off.src = "images/b_splash_ourcareers_off.jpg";
	
	b_splash_ourhistory_on = new Image(146,19);
	b_splash_ourhistory_on.src = "images/b_splash_ourhistory_on.jpg";
	b_splash_ourpeople_on = new Image(146,17);
	b_splash_ourpeople_on.src = "images/b_splash_ourpeople_on.jpg";
	b_splash_ourproducts_on = new Image(146,16);
	b_splash_ourproducts_on.src = "images/b_splash_ourproducts_on.jpg";
	b_splash_ourservices_on = new Image(146,17);
	b_splash_ourservices_on.src = "images/b_splash_ourservices_on.jpg";
	b_splash_ourenvironment_on = new Image(146,19);
	b_splash_ourenvironment_on.src = "images/b_splash_ourenvironment_on.jpg";
	b_splash_ourtidalenergy_on = new Image(146,19);
	b_splash_ourtidalenergy_on.src = "images/b_splash_ourtidalenergy_on.jpg";
	b_splash_ourcarboncredits_on = new Image(146,18);
	b_splash_ourcarboncredits_on.src = "images/b_splash_ourcarboncredits_on.jpg";
	splash_b_contactus_on = new Image(541,27);
	splash_b_contactus_on.src = "images/splash_b_contactus_on.jpg";
	b_splash_ourcareers_on = new Image(541,27);
	b_splash_ourcareers_on.src = "images/b_splash_ourcareers_on.jpg";	

	splash_line1_off = new Image(541,19);
	splash_line1_off.src = "images/splash_line1_off.jpg";
	splash_line2_off = new Image(541,17);
	splash_line2_off.src = "images/splash_line2_off.jpg";
	splash_line3_off = new Image(541,16);
	splash_line3_off.src = "images/splash_line3_off.jpg";
	splash_line4_off = new Image(541,17);
	splash_line4_off.src = "images/splash_line4_off.jpg";
	splash_line5_off = new Image(541,19);
	splash_line5_off.src = "images/splash_line5_off.jpg";
	splash_line6_off = new Image(541,19);
	splash_line6_off.src = "images/splash_line6_off.jpg";
	splash_line7_off = new Image(541,18);
	splash_line7_off.src = "images/splash_line7_off.jpg";
	splash_line8_off = new Image(541,18);
	splash_line8_off.src = "images/splash_line8_off.jpg";
	
	splash_line1_on = new Image(541,19);
	splash_line1_on.src = "images/splash_line1_on.jpg";
	splash_line2_on = new Image(541,17);
	splash_line2_on.src = "images/splash_line2_on.jpg";
	splash_line3_on = new Image(541,16);
	splash_line3_on.src = "images/splash_line3_on.jpg";
	splash_line4_on = new Image(541,17);
	splash_line4_on.src = "images/splash_line4_on.jpg";
	splash_line5_on = new Image(541,19);
	splash_line5_on.src = "images/splash_line5_on.jpg";
	splash_line6_on = new Image(541,19);
	splash_line6_on.src = "images/splash_line6_on.jpg";
	splash_line7_on = new Image(541,18);
	splash_line7_on.src = "images/splash_line7_on.jpg";
	splash_line8_on = new Image(541,18);
	splash_line8_on.src = "images/splash_line8_on.jpg";
	
}

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

// function to change button image on rollover without line
function mouseOver(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);
}
//-->
