// firebug test
if (typeof(console) != "object") { console = new Object(); console.log = function(wVal) {} }

function writeYear() {
	RightNow = new Date();
	var TheYear = RightNow.getYear()
	
	if (TheYear >= 100 && TheYear <= 1999)
	{TheYear=TheYear + 1900}
	else
	{TheYear=TheYear}
	document.write(TheYear)
}

function customHandler(desc,page,line,chr)  {		// Display Errors in status	 
	window.status = "JAVASCRIPT ERROR : " + desc + " : PAGE=" + page + " : LINE=" + line;
	return true;
}
window.onerror=customHandler;

function confirmCancel(confirmWhat)	{
	return confirm("Are you sure you want to " + confirmWhat + "?");
}

