am = "This function is disabled!";
<!-- Begin NoCache Code Provided By http://www.DesignerWiz.com -->

<!-- End NoCache Code -->
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;

var agt = navigator.userAgent.toLowerCase();
if((agt.indexOf("msie 5") != -1) && (agt.indexOf("mac") != -1)){
  document.writeln("<style type=\"text/css\">#boxContent \{ position: absolute \}</style>")
}

function whichButton(event)
{
if(event.keyCode==44)
{
alert("no copy")
}
}




var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")


//disable selet script

function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")


document.onselectstart=new Function('return false');function ds(e){return false;}function ra(){return true;}document.onmousedown=ds;document.onclick=ra;



// Access key control  //


//first, tell the browsers to react to the event
if( document.captureEvents && Event.KEYUP ) {
  //remove this part if you do not need Netscape 4 to work
  document.captureEvents( Event.KEYUP );
}
/* this next line tells the browser to detect a keyup
event over the whole document and when it detects it,
it should run the event handler function 'alertkey' */
document.onkeyup = alertkey;

//now create the event handler function to process the event
function alertkey(e) {

  if( !e ) {
    //if the browser did not pass the event information to the
    //function, we will have to obtain it from the event register
    if( window.event ) {
      //Internet Explorer
      e = window.event;
    } else {
      //total failure, we have no way of referencing the event
      return;
    }
  }
 
  if( typeof( e.keyCode ) == 'number'  ) {
    //DOM
    e = e.keyCode;
	return false;
  } else if( typeof( e.which ) == 'number' ) {
    //NS 4 compatible
    e = e.which;
	return false;
  } else if( typeof( e.charCode ) == 'number'  ) {
    //also NS 6+, Mozilla 0.9+
    e = e.charCode;
	
	return false;
  } else {
    //total failure, we have no way of obtaining the key code
    return false;
  }
  
  if(e==44) {
alert('Printscreen!') 
return false; 
 }
  window.alert('Does not Copy ' + e +
    'Pressed key ' + String.fromCharCode( e ) );
}



/// function to prevent keys

function my_onkeydown_handler()
		{
			
		switch (event.keyCode)
			{
				case 69 : // 'E'
					
						//alert(event.keyCode);
						event.returnValue = false;
					    event.keyCode = 0; //BRJ: required to disable stubborn key strokes
						window.status = "You have just disabled";
					
					break;
				case 53 : // '5'
					
					//alert(event.keyCode);
					event.returnValue = false;
					event.keyCode = 0; //BRJ: required to disable stubborn key strokes
					window.status = "You have just disabled";
					
				   break;						
				case 122 : // 'F5'
					//alert(event.keyCode);
					event.returnValue = false;
					event.keyCode = 0; //BRJ: required to disable stubborn key strokes
					window.status = "You have just disabled";
				  break;				
			
               default : 
			   
			            //alert(event.keyCode);
						event.returnValue = false;
						event.keyCode = 0; //BRJ: required to disable stubborn key strokes
						window.status = "You have just disabled";			   
			   
			
			
			
			}
		}

		document.attachEvent("onkeydown", my_onkeydown_handler);



