function newrequest(){
req=null;
	try{
	req=new XMLHttpRequest;
	}catch(micro1){
	try{
	req=new ActiveXObject("Msxml2.XMLHTTP");
	}catch(micro2){
	try{
	req=new ActiveXObject("Microsoft.XMLHTTP");
	}catch(other){
	req=null;
	}
	}
	}
return req;	
}

