function showLoading(field) { if(field == "City") { hide("selCity") } if(field == "Store") { show("radStore") } show("load" + field) } function change_store() { if(!dataLoaded) return else clearInterval(timerid) hide("loadStore") show("radStore") stores = document.getElementById("selStore") if(document.getElementById("otherdata").contentDocument) stores.innerHTML = document.getElementById("otherdata").contentDocument.getElementById("selData").innerHTML else stores.innerHTML = document.frames["otherdata"].document.getElementById("selData").innerHTML show("selStore") } function change_city() { if(!dataLoaded) return clearInterval(timerid) swapData("City") show("selCity") }