// Can we display Acrobat PDF's
mimetype = navigator.mimeTypes["application/pdf"]
function releaseForm(){
if (mimetype&&mimetype.enabledPlugin){
window.location="../release.pdf"
}else{
window.location="../release.html"
	}
}
//popUps

dahType=navigator.appName;
dahNav=parseInt(navigator.appVersion);
function popWin(url,width,height){			
	if(dahNav<4){
		myProps=",scollbars=yes,resizable=yes,menubar=no";
		}else{
		myLeft=screen.width/2 - width/2;
		myTop=screen.height/2 - height/2;
		if (screen.width>=800){
				scrollMe="no"
			}else{
				scrollMe="yes"
			}
myProps=",top="+myTop+",left="+myLeft+",scrollbars="+scrollMe+",resizable=yes,menubar=no";
		}
aNewWindow=window.open(url,"popWin","width="+width+",height="+height+myProps);
}

/*
function popWin(url,width,height){
	thisurl="images/pop/"+url;
	myLeft=screen.width/2 - width/2;
	myTop=screen.height/2 - height/2;
	
myProps=",top="+myTop+",left="+myLeft+",scrollbars=yes,resizable=yes,menubar=no";

aNewWindow=window.open(thisurl,"popWin","width="+width+",height="+height+myProps);
}
*/
<!-- Original:  Martin Webb (martin@irt.org) -->
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("Sorry, you do not have permission to right click.");
return false;
}
return true;
}
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;