// JavaScript Document

//<script language="JavaScript">
 
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script
 
 var diselect
 {

		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
		}

 }
 
 var disRight
 {
	 
	var message="Welcome to MIT Limited, your one source for new and refurbished Server products";
	
	function clickIE()
	 
	{if (document.all)
	{(message);return false;}}
	 
	function clickNS(e) {
	if
	(document.layers||(document.getElementById&&!document.all))
	{
	if (e.which==2||e.which==3) {(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")
		 
 }

/*<SCRIPT LANGUAGE="JavaScript1.1">*/

//var message="Right-mouse click has been disabled.";
//function click(e)
//{
//  if (document.all)
//  {
//    if (event.button==2||event.button==3)
//    {
//      alert(message);
//      return false;
//    }
//  }
//  else
//  {
//    if (e.button==2||e.button==3)
//    {
//      e.preventDefault();
//      e.stopPropagation();
//      alert(message);
//      return false;
//    }
//  }
//  if (e.which)
//  {
//    alert("oops Opera?")
//  }
//}
//
//if (document.all) // for IE
//{
//  document.onmousedown=click;
//}
//else // for FF
//{
//  document.onclick=click;
//}
// 
 
 
 

 
 
/* var message=”Sorry, No Right Click Allowed!!!”;

function clickIE6(){

if (event.button==2){

alert(message);

return false;

}

}

function clickNS4(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=clickNS4;

}

else if (document.all&&!document.getElementById){

document.onmousedown=clickIE6;

}

document.oncontextmenu=new Function(”alert(message);return false”)
 
 
 }*/
 
 
 
 
 




/*var disRight1={

			<!-- Original:  Martin Webb (martin@irt.org) 
			 
		//	 This script and many more are available free online at 
//			 The JavaScript Source!! http://javascript.internet.com 
//			 
//			 Begin
			function right(ev) {
			if (navigator.appName == 'Netscape' &&
			(ev.which == 3 || ev.which == 2))
			return false;
			
			else if (navigator.appName == 'firefox' &&
			(window.event.button == 2 || event.button == 1))
			return false;
			
			else if (navigator.appName == 'Microsoft Internet Explorer' &&
			(window.event.button == 2 || window.event.button == 3)) {
			alert("Welcome to MIT Limited, your one source for new and refurbished Server products");
			return false;
			}
			return true;
			}
			 
			document.onmousedown=right;
			document.onmouseup=right;
			if (document.layers) window.captureEvents(Event.MOUSEDOWN);
			if (document.layers) window.captureEvents(Event.MOUSEUP);
			window.onmousedown=right;
			window.onmouseup=right;
			////  End -->
			// 

}*/