<!-- Script begins next line -->


//*******************************
//*Disable Right Click on a browser

//********************************/

PopUpURL    = "Unauthorized Access";

isIE=document.all;
isNN=!document.all&&document.getElementById;
isN4=document.layers;

if (isIE||isNN)
{
 document.oncontextmenu=checkV;
}
else
{
 document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
 document.onmousedown=checkV;
} 

function checkV(e)
{
	if (isN4)
	 {
	if (e.which==2||e.which==3)
		{
		dPUW=alert(PopUpURL);
		return false;
		}
	}
	else
	{
	dPUW=alert(PopUpURL);
	return false;
	}
}






<!-- Disable
/*function disableselect(e){

return false
}

function reEnable(){

return true
}

//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}*/
//-->

