    function do_XMLRequest(typerecherche, url, ordner_name, abflughafen, KID,  ktag, kmonat, id_content){
		var hotelname = '';
		var ispromo = '0';
	
		switch (typerecherche)
		{
		  case '2' : hotelname = 'eldorador'; break;
		  case '5' : ispromo='1'; break;	// Promo hotel
		  default : hotelname = '';
		}
        var xmlRequest = false;
        var xml_url = url+'booking_ml/' +ordner_name+'/get_anzahl_hotels.php';
        var params = '?port=654&KID='+KID+'&abflughafen='+abflughafen+'&personen=25;25;-1';
        params += ';-1;-1;;;&sportangebot=-1&marke=&ktag='+ktag+'&kmonat='+kmonat+'&dauer=6_6-9&verpflegung=&kategorie=-1&ttdays=3&price_=150000&shotel='+hotelname+'&ispromo='+ispromo;
        try{
            xmlRequest = new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch(e){
            try{
                xmlRequest = new ActiveXObject("Microsoft.XMLHTTP");
            }
            catch(e){
                xmlRequest = false;
            }
        }
		
        if(!xmlRequest && typeof(XMLHttpRequest)!='undefined'){

            xmlRequest = new XMLHttpRequest();
        }
        if(xmlRequest){
             xmlRequest.onreadystatechange = function() {
					if(xmlRequest.readyState == 4){
					if(xmlRequest.status == 200 || xmlRequest.status == 0){
							var str_Response_tmp = xmlRequest.responseText.split('#tt#');
							if(str_Response_tmp[0]==""){
								//newCalcTable += 'pas de voyage';
								// If no offer found then hide the whole line
								document.getElementById(id_content).parentNode.parentNode.style.display = 'none';
							}
							else{
								var newCalcTable = ' ';
								newCalcTable += '(' + str_Response_tmp[0] + ' voyage'
								if (str_Response_tmp[0] > 1) { newCalcTable += "s"; }
								newCalcTable += ')';
								// If there are offers, display the found number
								document.getElementById(id_content).innerHTML = newCalcTable;
							}
							// When no offer was found this link was leeding to nowhere - document.getElementById(id_content).innerHTML = newCalcTable;
					}else{document.getElementById(id_content).innerHTML = 'status' + xmlRequest.status;}
				}else{document.getElementById(id_content).innerHTML = 'state' + xmlRequest.readyState;}
			}
			 xmlRequest.open('GET', xml_url+params, true);
           xmlRequest.send(null);
        }		
    }
    //_________________________________________________________________________________________________
/*
    var handleResponse = function(showBookCalc_) { 
	return function() {
			
				if(xmlReq.readyState == 4){

					if(xmlReq.status == 200 || xmlReq.status == 0){
							var strResponse = xmlReq.responseText;
							var str_Response_tmp = strResponse.split('#tt#');
							var anzahlH = str_Response_tmp[0];
							var ausg_text="hôtels";
							if(anzahlH!=""){
										var newCalcTable= '('+anzahlH+') '+ausg_text;
										document.getElementById(showBookCalc_).innerHTML = newCalcTable;
							}
							else{
										document.getElementById(showBookCalc_).innerHTML = 'Pas de départ';
							}
					}
				}
		};

    };
*/