//********START**********DISABLING RIGHT CLICK********
<!-- 
//Disable right click script 
//visit http://www.rainbow.arch.scriptmania.com/scripts/ 
var message="Sorry, right-click has been disabled"; 
/////////////////////////////////// 
function clickIE() 
{
    if (document.all) 
    {
    return false;
    }
} 
function clickNS(e) 
{
    if(document.layers||(document.getElementById&&!document.all)) 
    { 
        if (e.which==2||e.which==3) 
        {
        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") 
document.oncontextmenu=new Function("alert(message);return false;") 
// --> 
//********END**********DISABLING RIGHT CLICK********

//*****START********Disabling F5 Key,BackSpace,ctrl for Index*********
document.onkeydown = function(){
if(window.event && window.event.keyCode == 116)
        { // Capture and remap F5
    window.event.keyCode = 505;
      }

/*if(window.event && window.event.keyCode == 8)
        { // Capture and remap backspace
    window.event.keyCode = 505;
      }*/
if(window.event && window.event.ctrlKey)
        { // Capture and remap ctrlkey
    return false
      }
if(window.event && window.event.keyCode == 505)
        { // New action for F5
    return false;	
        // Must return false or the browser will refresh anyway
    }
}