<!--

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) {
	version = "n3";
	}
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) {
	version = "n3";
	}
else {
	version = "n2";
}

if (version == "n3") {
//fans
				a1on= new Image(39,39);
				a1on.src = "../gif/i2fan.gif";
				a1off= new Image(39,39);
				a1off.src = "../gif/i1fan.gif";
				a2on= new Image(23,7);
				a2on.src = "../gif/tb2fan.gif";
				a2off= new Image(23,7);
				a2off.src = "../gif/tb1fan.gif";
//pumps
				b1on= new Image(40,40);
				b1on.src = "../gif/i2pump.gif";
				b1off= new Image(40,40);
				b1off.src = "../gif/i1pump.gif";
				b2on= new Image(29,7);
				b2on.src = "../gif/tb2pump.gif";
				b2off= new Image(29,7);
				b2off.src = "../gif/tb1pump.gif";
//compressors
				c1on= new Image(30,38);
				c1on.src = "../gif/i2comp.gif";
				c1off= new Image(30,38);
				c1off.src = "../gif/i1comp.gif";
				c2on= new Image(65,7);
				c2on.src = "../gif/tb2comp.gif";
				c2off= new Image(65,7);
				c2off.src = "../gif/tb1comp.gif";
//blowers
				d1on= new Image(40,40);
				d1on.src = "../gif/i2blow.gif";
				d1off= new Image(40,40);
				d1off.src = "../gif/i1blow.gif";
				d2on= new Image(41,7);
				d2on.src = "../gif/tb2blow.gif";
				d2off= new Image(41,7);
				d2off.src = "../gif/tb1blow.gif";
//motors
				e1on= new Image(45,38);
				e1on.src = "../gif/i2motor.gif";
				e1off= new Image(45,38);
				e1off.src = "../gif/i1motor.gif";
				e2on= new Image(35,7);
				e2on.src = "../gif/tb2motor.gif";
				e2off= new Image(35,7);
				e2off.src = "../gif/tb1motor.gif";
//air condition
				f1on= new Image(31,38);
				f1on.src = "../gif/i2ac.gif";
				f1off= new Image(31,38);
				f1off.src = "../gif/i1ac.gif";
				f2on= new Image(48,7);
				f2on.src = "../gif/tb2ac.gif";
				f2off= new Image(48,7);
				f2off.src = "../gif/tb1ac.gif";
//motor repair
				g1on= new Image(45,38);
				g1on.src = "../gif/i2motor_repair.gif";
				g1off= new Image(45,38);
				g1off.src = "../gif/i1motor_repair.gif";
				g2on= new Image(70,7);
				g2on.src = "../gif/tb2motor_repair.gif";
				g2off= new Image(70,7);
				g2off.src = "../gif/tb1motor_repair.gif";
//renewable - sun
				h1on= new Image(39,39);
				h1on.src = "../gif/i2renewable.gif";
				h1off= new Image(39,39);
				h1off.src = "../gif/i1renewable.gif";
				h2on= new Image(59,7);
				h2on.src = "../gif/tb2renewable.gif";
				h2off= new Image(59,7);
				h2off.src = "../gif/tb1renewable.gif";
//renewable - wood
				i1on= new Image(28,39);
				i1on.src = "../gif/i2wood_fire.gif";
				i1off= new Image(28,39);
				i1off.src = "../gif/i1wood_fire.gif";
				i2on= new Image(59,7);
				i2on.src = "../gif/tb2renewable.gif";
				i2off= new Image(59,7);
				i2off.src = "../gif/tb1renewable.gif";
//renewable - wind
				j1on= new Image(39,39);
				j1on.src = "../gif/wind_icon_on.gif";
				j1off= new Image(39,39);
				j1off.src = "../gif/wind_icon_off.gif";
				j2on= new Image(59,7);
				j2on.src = "../gif/tb2renewable.gif";
				j2off= new Image(59,7);
				j2off.src = "../gif/tb1renewable.gif";
//ORDER NOW - SUN
				k1on= new Image(39,39);
				k1on.src = "../gif/i2renewable.gif";
				k1off= new Image(39,39);
				k1off.src = "../gif/i1renewable.gif";

//SOLAR PAYBACK CHART
				th1on= new Image(108,84);
				th1on.src = "../gif/th_solar_on.gif";
				th1off= new Image(108,84);
				th1off.src = "../gif/th_solar_off.gif";
//GREEN HOUSE GAS EMISSIONS ANALYSIS
				th2on= new Image(108,84);
				th2on.src = "../gif/th_emissions_on.gif";
				th2off= new Image(108,84);
				th2off.src = "../gif/th_emissions_off.gif";
//RETSCREEN SOFTWARE
				th3on= new Image(108,97);
				th3on.src = "../gif/th_retscreen_on.gif";
				th3off= new Image(108,97);
				th3off.src = "../gif/th_retscreen_off.gif";
//AUTOMATIC CONVERSION TO ENGLISH UNITS
				th4on= new Image(108,84);
				th4on.src = "../gif/th_conversion_on.gif";
				th4off= new Image(108,84);
				th4off.src = "../gif/th_conversion_off.gif";

}

function img_inact(imgName) {
   if (version == "n3") {
      imgOff = eval(imgName + "off.src");
      document [imgName].src = imgOff;
   }
}

function img_act(imgName) {
   if (version == "n3") {
      imgOn = eval(imgName + "on.src");
      document [imgName].src = imgOn;
   }
}
// -->

<!--
/*
var isNav4, isIE4
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
	isNav4 = (navigator.appName == "Netscape") ? true : false
	isIE4 = (navigator.appName.indexOf("Microsoft" != -1)) ? true : false
}
if (isNav4) {
document.captureEvents(Event.MOUSEDOWN);
}
function click(e) {
	if (isNav4 && e.which != 1) {
		alert ("Web site designed by Innovative Media Corporation");
		return false;
	}
	if (isNav4 && e.which == 1) {
		return true;
	}
	if (isIE4 && event.button==2) {
		alert("website designed by Innovative Media Corporation.")
		return false;
	}
	return true;
}
document.onmousedown=click
//-->
*/
function openWindow(theURL,winName,features) { //v1.0
  window.open(theURL,winName,features);
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
