/*
 * Class Name: disableRightClick.js
 * 
 * Version: 1.0
 *
 * Creation Date: 
 * 
 * Created By: Zest
 *
 * Description: This .js file disables the right click option.
 *
 * See also
 *
 * Version History 
 *
 * Version        Changed By	   Reason
 *
 * 
 */
	var message="Function Disabled!";
	function clickIE4()
	{
		if (event.button==2)
		{
			//alert(message);
			return false;
		}
	}//	end of function clickIE4()

	function clickNS4(e)
	{
		if (document.layers||document.getElementById&&!document.all)
		{
			if (e.which==2||e.which==3)
			{
				//alert(message);
				return false;
			}//	end of if (e.which==2||e.which==3)
		}//	end of if (document.layers||document.getElementById&&!document.all)
	}//	end of function clickNS4(e)

	if (document.layers)
	{
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown=clickNS4;
	}
	else if (document.all&&!document.getElementById)
	{
		document.onmousedown=clickIE4;
	}
	
	document.oncontextmenu=new Function("return false;")



