	{
	document.onmousedown=right;
	document.onmouseup=right;
	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
	if (document.layers) window.captureEvents(Event.MOUSEUP);
	window.onmousedown=right;
	window.onmouseup=right;
//	document.onmouseover=makeCool;
//	document.onmouseout=makeNormal;

	onerror = errWindow
	}


	function openNewWindow(theURL,winName,specs) { 
		newwindow=window.open(theURL,winName,specs);
	}

function printPage() {
  if (window.print)
	window.print()
  else
	alert("Sorry, your browser doesn't support this feature.");
}

function errWindow(errMsg, location, linenumber) {
	debugWin=window.open("", "debugWin", "height=200,width=300,resize=yes")
	debugWin.document.write("<H2>There was an error at line " + linenumber)
	debugWin.document.write("<br>The error was : " + errMsg)
	debugWin.document.close()
	return true
}

function goBack() {
	window.location.href = document.referrer
}

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {

	alert("Oops!");
	window.status = "No Right Click";
	return false;
	}
return true;
}
