function otoHizliAra(){ if(document.getElementById('oto_tipi').value>0){ var path = '/oto/'; path += document.getElementById('oto_tipi').value; if(document.getElementById('oto_marka').value>0){ path += '-'+document.getElementById('oto_marka').value; } if(document.getElementById('oto_model').value>0){ path += '-'+document.getElementById('oto_model').value; } //alert(path); window.location.href = path; } else { alert('_arac_tipi_seciniz'); } } function emlakDetayAra(){ var path = '/emlak/'; if(document.getElementById('ilan_turu_detay')){ path += document.getElementById('ilan_turu_detay').value; } if(document.getElementById('ilan_tipi_detay')){ path += '-'+document.getElementById('ilan_tipi_detay').value; } if(document.getElementById('ilan_tipi_detay')!=2 && document.getElementById('ilan_konut_tipi')){ path += '-'+document.getElementById('ilan_konut_tipi').value; } if(document.getElementById('sehir')){ path += '-'+document.getElementById('sehir').value; } if(document.getElementById('ilce')){ path += '-'+document.getElementById('ilce').value; } if(document.getElementById('semt')){ path += '-'+document.getElementById('semt').value; } //alert(path); window.location.href = path; } function ilce_getir(sehir){ var ko = 'modul=ilceler'; ko += '&sehir='+sehir; //alert(ko); if(document.getElementById('semt_seciniz')){ document.getElementById('semt_seciniz').selected = 'selected'; } JXP(1,'ilceler','./inc/sorgu.php', ko); } function semt_getir(ilce){ var ko = 'modul=semtler'; ko += '&ilce='+ilce; //alert(ko); JXP(1,'semtler','./inc/sorgu.php', ko); } function marka_getir(tip){ var kB = 'modul=otomarkalar'; kB += '&tip='+tip; JXP(1,'markalar','./inc/sorgu.php', kB); } function model_getir(marka){ var kC = 'modul=otomodeller'; kC += '&marka='+marka; JXP(1,'modeller','./inc/sorgu.php', kC); }