window.onError = 0;
  NS4 = (document.layers) ? 1 : 0;
  IE4 = (document.all) ? 1 : 0;
 ver4 = (NS4 || IE4) ? 1 : 0;
  NS3 = (!NS4 && !IE4 && document.images) ? 1 : 0;
  IE3 = (!NS4 && !IE4 && !NS3 && (navigator.userAgent.indexOf("MSIE") != -1)) ? 1 : 0;
  NS2 = (!NS4 && !IE4 && !NS3 && !IE3 && !document.images) ? 1 : 0;
isMac = (navigator.appVersion.indexOf("Mac") != -1) ? 1 : 0;
isGo = 0
sipper = 900;
doc = (NS4) ? "document" : "document.all";
sty = (NS4) ? "" : ".style";

newWin=0;

function noErrors() {
	return true;
}

function openUp(windowURL, windowWidth, windowHeight) {
	if(newWin){
		if(eval("newWin.location")){
			newWin.close();
		}
	}
	setTimeout("doOpen(\""+windowURL+"\", "+windowWidth+", "+windowHeight+")", 100);
}

function doOpen(windowURL, windowWidth, windowHeight) {
	newWin = window.open(windowURL,"penticton","toolbar=no,menubar=0,width="+windowWidth+",height="+windowHeight+",scrollbars=yes,resizable=yes");

	if(!NS2 && !IE4){
		if(newWin.location){
			setTimeout("newWin.focus()", 100);
		}
	}
}

window.onError = null;