// JavaScript Document

var http;
if (window.XMLHttpRequest) {
   http = new XMLHttpRequest();
} else if (window.ActiveXObject) {
   http = new ActiveXObject("Microsoft.XMLHTTP");
}


function suche_Orte(landid) {
	http.open("GET", "http://www.ultratours.de/backend.php?suchstring=" + landid, true);
	http.onreadystatechange = ausgeben;
	http.send(null);
}

function xajax_suche(id) {
	suche_Orte(id);
}

function ausgeben() {
		var zieldiv = document.getElementById("suche_l");
	   if (http.readyState == 4) {
           zieldiv.innerHTML = http.responseText;
   	   }

}