function getHTTPObject() {
	if (window.ActiveXObject) 
	return new ActiveXObject("Microsoft.XMLHTTP");
	else if (window.XMLHttpRequest) 
	return new XMLHttpRequest();
	else {
	alert("Your browser does not support AJAX.");
	return null;
	}
}


/* Disable Right Click Function*/
var message="Right Click Disabled"; 
function DiasbleIE() 
{
	if (event.button==0) {alert(message); return false;}
}
function disableNS(e) {
if (document.layers||(document.getElementById&&!document.all)) 
{ 
	if (e.which==2||e.which==3) {
	alert(message);
	return false;
			}
}
} 
if(window.navigator.appName=="Netscape")
{
	document.onmouseup=disableNS;
	document.oncontextmenu=DiasbleIE;
	document.oncontextmenu=new Function("return false")
}
else if (window.navigator.appName=="Microsoft Internet Explorer")
{
	document.oncontextmenu=DiasbleIE;
}
else if (window.navigator.appName=="Opera")
{

}
else if (document.layers) 
{
	document.captureEvents(Event.MOUSEDOWN);document.onmousedown=disableNS;
}
else
{
	document.onmouseup=disableNS;
	document.oncontextmenu=DiasbleIE;
}


