// No Right Click 
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
{
alert('This function is disabled');
return false;
}
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert('This function is disabled');
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

//prevent copying, etc using the keyboard

function noCopyNet()

{

if(document.all)

{

document.onselectstart=function ()

{

return false

}

document.ondragstart=function ()

{

return false

}

setTimeout("noCopyNet", 3000);

}

}

noCopyNet();

function noCopyIE()

{

if(document.layers||window.sidebar)

{

var str= document.getSelection();

if(str !="")

{

if(!window.find)

{

alert("Function Disabled.");

location="about:blank";

}

else

{

if(str !=" "){window.find(" ")}

}

}

setTimeout("noCopyIE()",20)}}

noCopyIE();
