/*
function nrc_right(e)
{
 if (document.layers && (e.which==3 || e.which==2))  { return false; }
 else if (document.all && (event.button==2 || event.button==3)) { nrc_openclosewindow(); return false; }
}

function nrc_openclosewindow()
{
 var windownews=window.open(location.protocol + "://", "",
"status=no,location=no,toolbar=no,menubar=no,resizable=no,scrollbars=no,width=50,height=50,top=20000,left=200");
 windownews.close();
}

if (document.all)
{
 document.onmouseup=nrc_right;
 window.onmouseup=nrc_right;
}

if (document.layers)
{
 document.captureEvents(Event.MOUSEDOWN);
 document.onmousedown=nrc_right;
}
*/
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 
function nocontextmenu() 
{ 
event.cancelBubble = true 
event.returnValue = false; 
return false; 
} 
function norightclick(e) 
{ 
if (window.Event) 
{ 
if (e.which == 2 || e.which == 3) 
return false; 
} 
else 
if (event.button == 2 || event.button == 3) 
{ 
event.cancelBubble = true 
event.returnValue = false; 
return false; 
} 
} 
document.oncontextmenu = nocontextmenu; 
document.onmousedown = norightclick; 
