<!--
window.onerror = stopAllErrors; 

function stopAllErrors() {
	return true;
}

function Is () {
	var agt = navigator.userAgent.toLowerCase();
	this.major = parseInt(navigator.appVersion);
	this.minor = parseFloat(navigator.appVersion);
	
	this.nav = ((agt.indexOf('mozilla') != -1) && (agt.indexOf('spoofer') == -1) && (agt.indexOf('compatible') == -1));
	this.nav2 = (this.nav && (this.major == 2));
	this.nav3 = (this.nav && (this.major == 3));
	this.nav4 = (this.nav && (this.major == 4));
	this.nav4up = (this.nav && (this.major >= 4));
	
	this.ie = (agt.indexOf('msie') != -1);
	this.ie2 = (this.ie && (this.major == 2));
	this.ie3 = (this.ie && (this.major == 3));
	this.ie4 = (this.ie && (this.major == 4));
	this.ie4up = (this.ie && (this.major > 4));
	
	this.opera = (agt.indexOf('opera') != -1);
}

function abre(novourl) {
	var is = new Is();
	var popBox;
	var popProp;
	var popWidth = 298;
	var popHeight = 368;
	
	if (is.nav4up || is.ie4 || is.ie4up) { 
		var winW = (screen.width - popWidth) - 10;
		var winH = (screen.height - popHeight) - 55;
		popProp = "width=" + popWidth.toString() + ",height=" + popHeight.toString() + ",top=" + winH.toString() + ",left=" + winW.toString() + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0";
	} else {
		popProp = "width=" + popWidth.toString() + ",height=" + popHeight.toString() + ",top=80,left=30,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0"	
	};
	
	if (is.nav3 || is.nav4up || is.ie4up) { 
		popBox = window.open(novourl, "PopUpWindow", popProp);
		popBox.focus();
	} else {
		popBox = window.open(novourl, "PopUpWindow", popProp);
	} 
}
//-->

