// BEGIN DETER RIGHT-CLICK SCRIPT
//
// This script blocks the right-click menu in
// IE and Netscape browsers. 
// v1.01 - Bruce Keever 31 Dec 2006

	uistring = "You cannot copy or save content from this site.\n\nCopyright © 2007 Eric Herron. All rights reserved. Portions Copyright © 2004-2007 Bruce Keever.\n\Local content contained within this site is protected by copyright laws. Other data copyrighted by respective owners.\nUnauthorized use or distribution is strictly prohibited.";
 
	broswerVersion  = parseInt(navigator.appVersion)
	browserIE = navigator.appName=="Microsoft Internet Explorer"
	browserNS = navigator.appName=="Netscape"
 
	function norightclick(e) {
	    if (browserNS && e.which > 1){
	       alert(uistring)
	       return false
	    } else if (browserIE && (event.button >1)) {
	      alert(uistring)
	      return false;
	    }
	 }
 
	document.onmousedown = norightclick;
	if (document.layers) window.captureEvents(Event.MOUSEDOWN);
	if (browserNS && browserVersion<5) window.onmousedown = norightclick;

// END DETER RIGHT-CLICK SCRIPT

