	var message="Right click has been disabled for this page."; 
		
		function clickIE()  {
			if (document.all) {
				alert(message);
				return false;
			}
		}  
		
		
		function clickNS(e) { 
			if (document.layers||(document.getElementById && !document.all)) { 
				if (e.which==2||e.which==3) {
					alert(message);
					return false;
				}
			}
		} 
	
	
	
	//The two functions below carried over from trightclickdisable.js
		
	function setClipBoardData(){
		 setInterval("window.clipboardData.setData('text','')",20);
	}
	
	 
	// this can cause the site to go into an endless loop if there are any JS errors
	function blockError(){
		 window.location.reload(true);
		 return true;
	}
	
	window.onerror = blockError;
