/**
function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
        return false;
    else if ((event.button == 2 || event.button == 3)) {
        alert("Sorry, you do not have permission to right click.");
        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;

 **/

/**
var message="Sorry Right Click is Disabled!"; // Message for the alert box

// Don't edit below!

function click(e) {
    if (document.all) {
        if (event.button == 2) {
            alert(message);
            return false;
        }
    }
    if (document.layers) {
        if (e.which == 3) {
            alert(message);
            return false;
        }
    }
}
if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
}

if (document.all) // for IE
{
  document.onmousedown=click;
}
else // for FF
{
  document.onclick=click;
}
**/

var message='No Right Click';
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');



