var appN = navigator.appName; var appV = navigator.appVersion.substring(0,1);
var ie = (appN=="Microsoft Internet Explorer" && appV >= 4) ? true : false;
var ns = (appN=="Netscape" && (appV >= 4 && appV < 5)) ? true : false;
var nsix = (appN=="Netscape" && appV >= 5) ? true : false;


prdOpen = false;

function prdHover(i) {
	if (prdOpen) {
		document.getElementById('prdImg'+prdOpen).style.display="block";
		document.getElementById('prdDiv'+prdOpen).style.display="none";
		document.getElementById('prdSwitch'+prdOpen).src="img/home_prd_switchClosed.gif";
		prdOpen = false;
	}
	if (arguments.length == 1) {
		var d = document.getElementById('prdDiv'+i);
		document.getElementById('prdImg'+i).style.display="none";
		d.style.display="block";
		document.getElementById('prdSwitch'+i).src="img/home_prd_switchOpen.gif";
		if (ie) {
			d.style.width="159px";
			d.style.height="81px";
		} else {
			d.style.width="155px";
			d.style.height="77px";
		}
		prdOpen = i;
	}
}


function popup(url) {
	window.open(url, "climatePopUp", "width=200,height=200,top=200,left=300,resize=no,scrolling=no,status=yes");
}