function swapImg(inImage, t){
	if (t == 1){
		inImage.src = (inImage.src.slice(0,inImage.src.length-4) + '_on.gif');
	}
	else {
		inImage.src = inImage.src.slice(0,inImage.src.length-7) + '.gif';
	}
}
function openWin(url) {
	var width = 400;
	var height = 380;
	var wleft = (screen.width - width-20) / 2;
	var wtop = (screen.height - height) / 2;
	window.open(url,'installWin','status=no,toolbar=no,menubar=no,location=no,height='+height+',width='+width+',top='+wtop+',left='+wleft);
}
function openProdWin(url) {
	var width = 800
	var height = 600;
	var wleft = (screen.width - width-20) / 2;
	var wtop = (screen.height - height) / 2;
	window.open(url,'prodWin','status=no,toolbar=no,menubar=no,location=no,height='+height+',width='+width+',top='+wtop+',left='+wleft);
}
function openNewsWin(url) {
	var width = 820
	var height = 600;
	var wleft = (screen.width - width-20) / 2;
	var wtop = (screen.height - height) / 2;
	window.open(url,'newsWin','scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,height='+height+',width='+width+',top='+wtop+',left='+wleft);
}
function openWin2(url, height, width) {
	var wleft = (screen.width - width-20) / 2;
	var wtop = (screen.height - height) / 2;
	window.open(url,'newWin','scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,height='+height+',width='+width+',top='+wtop+',left='+wleft);
}
