//Right click disable for Internet Explorer.........
function click(e) 
{
	if (document.all) 
	{
		if (event.button==2||event.button==3) 
		{ 
			alert("Copyrights MediScan, 2010."); 
			return false;
		}
	}
	if (document.layers) 
	{
		if (e.which == 3) 
		{ 
			alert(message); 
			return false;
		}
	}
}// --------- end function


if (document.layers) 
{ 
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
//Right click disable for Internet Explorer.........

//Right click disable for Firefox.........
var message="Copyright MediScan.";

function clickIE()
 
{
	if (document.all)
	{
		alert("message");
		return false;
	}
}
 
function clickNS(e) 
{
	if
	(document.layers||(document.getElementById&&!document.all))
	{
		if (e.which==2||e.which==3) 
		{
			alert(message);
			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")
//Right click disable for Firefox.........

//Right click disable for Firefox and Internet Explorer.........
function disableselect(e)
{
	return false;
}
function reEnable()
{
	return true;
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar)
{
	document.onmousedown=disableselect
	document.onclick=reEnable
}
//Right click disable for Firefox and Internet Explorer.........

