function createAjaxObj(){
	var httprequest=false
	if (window.XMLHttpRequest){
		httprequest=new XMLHttpRequest()
		}
		else if (window.ActiveXObject){ // if IE
			try {
				httprequest=new ActiveXObject("Msxml2.XMLHTTP");
			} 
		catch (e){
			try{
				httprequest=new ActiveXObject("Microsoft.XMLHTTP");
			}
		catch (e){}
		}
	}
	return httprequest
}

var ajax=new Object()
	ajax.basedomain="http://"+window.location.hostname
	ajax.ajaxobj=createAjaxObj()
	ajax.getAjaxRequest=function(url, parameters){
	ajax.ajaxobj=createAjaxObj()
	if (this.ajaxobj){
		this.ajaxobj.open('GET', url+"?"+parameters, true)
		this.ajaxobj.send(null)
	}
}
