function stopError(){ return true; } //window.onerror=stopError;
//--- GetClientBrowser -----------------------------------------------
var browser,platform,firefoxversionerror,otherbrowsererror,iemacerror,tempsafarierror = false;
function GetClientBrowser(){
	if( !document.getElementById ){ 
		alert("Your browser does not support the DHTML standard \"getElementById()\"\n please return with an updated browser.");
		document.location.href = "http://www.mozilla.com/";
	}if( navigator.userAgent.indexOf("MSIE") != -1 ){ browser = "ie"; }
	else if( navigator.userAgent.indexOf("Firefox") != -1 ){ browser = "firefox"; }
	else if( navigator.userAgent.indexOf("Safari") != -1 ){ browser = "safari"; }
	else if( navigator.userAgent.indexOf("Opera") != -1 ){ browser = "opera"; }
	else if( navigator.userAgent.indexOf("Netscape") != -1 ){ browser = "netscape"; }
	else{ browser = "other"; }
	if( navigator.platform.indexOf("Win") != -1 ){ platform = "windows"; }
	else if( navigator.platform.indexOf("Mac") != -1 ){ platform = "mac"; }
	else{ platform = "other"; }
}	GetClientBrowser();
//--------------------------------------------------------
//--- DIV functionality ------------------------------------------------------
//--------------------------------------------------------
function DOM_toggleVisibility( id, action ){ //alert(document.getElementById(id));
	document.getElementById(id).style.visibility = action;
}
function DOM_setHeight( id,hgt ){ //must send this format: "100px"
	document.getElementById(id).style.height = hgt;
}
function DOM_setPosition( id, x, y ){ //alert(x);
	document.getElementById(id).style.left = x;
	document.getElementById(id).style.top = y;
}
//--------------------------------------------------------
//--- SPECIFIC CUBOLA FUCNCTIONS ------------------------------------------------------
//--------------------------------------------------------
function hideCubolaSplashScreen(){
	document.getElementById('x0_div').style.visibility = 'hidden';
	document.getElementById('x0_div').style.height = '1px';
	document.getElementById('x0_div').style.top = 0;
}








