//This script needs to be included anywhere BELOW the body tag
var interfaceWidth = 770 //First declare the width of the user interface.

function fixError() {
	return true;
}

if (this.location.hostname.indexOf('192.168.0') == -1) {
	window.onerror = fixError;
} else {
	//alert ('running without fixerror');
}
//Get screenwidth for positioning
var tweek = 17 ; 

if (is.ie4up) {
	var pointLeft = parseInt((document.body.clientWidth/2) - (interfaceWidth/2)- tweek);
	if (document.body.clientWidth < interfaceWidth) {
		var pointLeft = 1; 
	}
} 
if (is.nav4up) {
	var pointLeft = parseInt(window.innerWidth/2 - (interfaceWidth/2)- tweek) ;
	if (window.innerWidth < interfaceWidth) var pointLeft = 8;
}
