function initSearch(count, formname) { document.getElementById('text').style.display = "none"; document.getElementById('result').style.display = "block"; countdown = 30; document.reisen.Submit.disabled = true; Start(); document.getElementById('result').innerHTML = sdiv; document.getElementById('theText').innerHTML = 'Ihre Reise wird gesucht'; document.getElementById('theTime').innerHTML = countdown; VON = '&VON_region=' + document.forms[formname].VON_region.value; NACH = '&NACH_region=' + document.forms[formname].NACH_region.value; DVON = '&DVON=' + document.forms[formname].DVON.value; MVON = '&MVON=' + document.forms[formname].MVON.value; DAUER = '&DAUER=' + document.forms[formname].DAUER.value; ADT = '&ADT=' + document.forms[formname].ADT.value; STERNE = '&STERNE=' + document.forms[formname].STERNE.value; ZTYP = '&ZTYP=' + document.forms[formname].ZTYP.value; ESSEN = '&ESSEN=' + document.forms[formname].ESSEN.value; rand = '&val=' + Math.random(); // Bitte den Randomwert unbedingt anhängen da IE sonst nur den Cache nutzt! SEARCH = 'SEARCH=reisen'; WHICH = '&WHICH=16' URL = '/inc/XML_Transfer.php?'; Link = URL + SEARCH + WHICH + VON + NACH + DVON + MVON + DAUER + ADT + STERNE + ZTYP + ESSEN + rand; loadXML(Link); } function parseXML() { referer = ''; var items = req.responseXML.getElementsByTagName("Treffer"); Stop(); document.reisen.Submit.disabled = false; var output = '
| Preis | \n'; output = output + 'Ort/Anlage | \n'; output = output + 'Zielregion | \n'; output = output + 'Anbieter | \n'; output = output + 'Angebotslink | \n'; output = output + '
| ab ' + Preis + ' € | \n'; output = output + '' + Zielort + ' | \n';
output = output + ' ' + ZielRegion + ' | \n'; output = output + '' + Anbieter + ' | \n'; output = output + 'zum Anbieter | \n'; output = output + '
| Leider nichts gefunden | \n';
output = output + '