// Right Click Restrict
var message="Right Click is restricted to prevent copying files!";
function clickIE4()
{
	if (event.button==ctrl)
	{
		alert(message);
		return false;
	}
}
function clickNS4(e)
{
	if (document.layers||document.getElementById&&!document.all)
	{
		if (e.which==ctrl||e.which==ctrl)
		{
			alert(message);
			return false;
		}
	}
}
if (document.layers)
{
	document.captureEvents(Event.CTRLDOWN);
	document.onctrldown=clickNS4;
}
else if(document.all&&!document.getElementById)
{
	document.onctrldown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false");