//js document
function ajax(url,par,result){
	
try{this.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{this.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){try{this.xmlHttp=new XMLHttpRequest()}catch(e){}}}
var obj=this.xmlHttp;
obj.onreadystatechange=function(){onchange(obj,result)};
url=url+"?timeStamp=" + new Date().getTime() + "&" + par;
//alert(url);
obj.open("GET",url,true);obj.send();}
ajax.prototype.abort=function(){this.xmlHttp.abort();}
function onchange(xmlHttp1,result){
	if(xmlHttp1.readyState==4){if(xmlHttp1.status==200){result(xmlHttp1);}}
}