var useSlider = 1; function initSearch(count, formname) { VON = '&VON=' + document.forms[formname].VON.value; DAUER = '&DAUER=' + document.forms[formname].DAUER.value; if(document.forms[formname].reiseziel[1].checked == 1) { NACH = '&NACH=' + document.forms[formname].NACH.value; REISEZIEL = '&REISEZIEL=zielflughafen'; } else { NACH = '&NACH_KONTINENT=' + document.forms[formname].KONTINENT.value; REISEZIEL = '&REISEZIEL=kontinent'; } MVON = '&MVON=' + document.forms[formname].MVON.value; MAX_PREIS = '&MAX_PREIS=' + document.forms[formname].MAX_PREIS.value; rand = '&val=' + Math.random(); // Bitte den Randomwert unbedingt anhängen da IE sonst nur den Cache nutzt! SEARCH = 'SEARCH=preisarchiv'; WHICH = '&WHICH=0' URL = '/inc/XML_Transfer.php?'; Link = URL + SEARCH + WHICH + VON + DAUER + NACH + MVON + MAX_PREIS + REISEZIEL + rand; document.getElementById('text').style.display = "none"; document.getElementById('result').style.display = "block"; document.preisarchiv.Submit.disabled = true; document.getElementById('result').innerHTML = sdiv; document.getElementById('theText').innerHTML = 'Ihre Anfrage wird gesucht'; document.getElementById('s_time').innerHTML = ''; loadXML(Link); } function parseXML() { referer = ''; var items = req.responseXML.getElementsByTagName("Treffer"); var min_preis = 0; var max_preis = 0; var min_Abdate = 202012; // Abflugdatum var max_Abdate = 0; var max_Alter = 0; // Ergebnisalter global_items = items.length; div_aus('bigsize'); document.preisarchiv.Submit.disabled = false; var output = '
| Preis p.P. | \n'; output = output + 'Reiseziel | \n'; output = output + 'Reisedauer / Airline | \n'; output = output + 'Gefunden | \n'; output = output + 'Link | \n'; output = output + '
| ' + Preis + ' € | \n'; output_row = output_row + '' + Ziel + ' | \n'; output_row = output_row + '' + Reisedauer + ' (' + Subairline + ') ' + Datum_von + ' - ' + Datum_nach + ' | \n';
output_row = output_row + ' bei ' + Airline + ' vor ' + TimestampHours + ' h | \n';
output_row = output_row + ' zum Anbieter | \n'; output_row = output_row + '
| Leider nichts gefunden | \n';
output = output + '
| Optionen | \n'; output_r = output_r + '||
| \n';
output_r = output_r + ' ';
output_r = output_r + ' ';
//output_r = output_r + 'nur Tax incl.';
output_r = output_r + '';
output_r = output_r + ' ';
output_r = output_r + ' | ';
output_r = output_r + ' \n';
output_r = output_r + ' ';
output_r = output_r + ' ';
output_r = output_r + '';
output_r = output_r + ' ';
output_r = output_r + ' | ';
output_r = output_r + ' \n';
output_r = output_r + ' ';
output_r = output_r + ' ';
output_r = output_r + '';
output_r = output_r + ' ';
output_r = output_r + ' | ';
output_r = output_r + '