1/** 2 * @author jaloma 3 */ 4function updateurl() 5{ 6 document.getElementById("bf").href = "http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?productsDefault=1111101000&productsLocal=0000010111&time=actual&boardType=dep&productsFilter=0&distance=0&start=click&input=" + document.getElementById("S").value; 7 document.getElementById("bf").title = "Klicken, um den aktuellen Fahrplan von " + document.getElementById("S").value + " anzuzeigen."; 8} 9 10function flipStations() 11{ 12 var s_val = document.getElementById("S").value; 13 var z_val = document.getElementById("Z").value; 14 document.getElementById("S").value = z_val; 15 document.getElementById("Z").value = s_val; 16 updateurl(); 17} 18