function doError(){
    return true;
}

/* check for support */
var dom = document.getElementById?true:false;
var ie4 = document.all?true:false;
var ns4 = document.layers?true:false;
var opera = (navigator.userAgent.indexOf('Opera') >= 0)?true:false;
var mac = (navigator.userAgent.indexOf('Mac') >= 0)?true:false;
var ie = (navigator.userAgent.indexOf('MSIE') >= 0)?true:false;
var iemac = false;
if (mac && ie){
	iemac = true;
}


function WM_netscapeCssFix() {
if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
	document.location = document.location;
	}
}

function PopWin(url,name,width,height,menubar,location,toolbar,scrollbars,resizable,directories){
    var win = window.open(url, name, 'resizable='+resizable+',menubar='+menubar+',scrollbars='+scrollbars+',location='+location+',toolbar='+toolbar+',width='+width+',height='+height+',directories='+directories+'');
}

function WM_netscapeCssFixCheckIn() {
	if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
		if (typeof document.WM == 'undefined'){
			document.WM = new Object;
		}
	if (typeof document.WM.WM_scaleFont == 'undefined') {
		document.WM.WM_netscapeCssFix = new Object;
		document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
		document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
	}
	window.onresize = WM_netscapeCssFix;
	}
}
WM_netscapeCssFixCheckIn();
