// BEGIN DETER RIGHT-CLICK SCRIPT
//
// This script blocks the right-click menu in
// IE and Netscape browsers. 
// v1.04 - Bruce Keever 05 April 2011

	uistring = "Right-click access disabled.\n\nCopyright © 2004-2011 Bruce Keever. All rights reserved.\n\nContent created for KirklandWeather.com and the user interface, design, and layout is protected by copyright laws. Other data copyrighted by respective owners. Unauthorized 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

