function cRqObj () {
 			var A;
			try {
				A=new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					A=new ActiveXObject("Microsoft.XMLHTTP");
				} catch (oc) {
					A=null;
				}
			}
			if(!A && typeof XMLHttpRequest != "undefined")
				A = new XMLHttpRequest();
			if (!A)
				alert('ikke noGET XMLHttpRequest !');
			return A;
}


var http = cRqObj(); // skal decl foer kald xhreq()
function xhreq(serverstr,handleFunc){
	//http.open('GET','http://paula/jo/XMLHttpReq/xhrdb.php?valg=' + document.form1.tbox.value);
	http.open('GET',serverstr,true);
	http.onreadystatechange = handleFunc; 
	http.send(null);

}

