function MH2LX_populateQuickSearch(f) { if(f) { if(f.elements['ddlLocality']) { f.elements['ddlLocality'].options.length=0; f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('CHOOSE LOCATION',''); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Carlow Co.','CW'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Cavan Co.','CN'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Clare Co.','CE'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Cork City','CKC'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Cork City North','CKNTHSIDE'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Cork City Outer','CKOTHER'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Cork City South','CKSTHSIDE'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Cork Co.','CK'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Cork Co. East','CKEAST'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Cork Co. West','CKWEST'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Donegal Co.','DL'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Dublin Co.& City','DCC'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Dublin North','DCNTH'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Dublin South','DCSTH'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Dublin West','DCWEST'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Galway City','GYC'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Galway Co.','GY'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('-- Galway Connemara','GYCONNA'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Kerry Co.','KY'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Kildare Co.','KE'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Kilkenny Co.','KK'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Laois Co.','LS'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Leitrim Co.','LM'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Limerick Co.','LK'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Limerick City','LKC'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Longford Co.','LD'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Louth Co.','LH'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Mayo Co.','MO'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Meath Co.','MH'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Monaghan Co.','MN'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Offaly Co.','OY'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Roscommon Co.','RN'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Sligo Co.','SO'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Tipperary Co.','TI'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Waterford Co.','WD'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Westmeath Co.','WH'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Wexford Co.','WX'); f.elements['ddlLocality'].options[f.elements['ddlLocality'].options.length] = new Option('Wicklow Co.','WW'); } if(f.elements['prop_type']) { f.elements['prop_type'].options.length=0; f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('CHOOSE TYPE',''); f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('To Let','let'); f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('To Share','share'); f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('Short Term','short'); f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('Holiday Home','holidayhome'); f.elements['prop_type'].options[f.elements['prop_type'].options.length] = new Option('Parking Space','parking'); } if(f.elements['prop_price_max']) { f.elements['prop_price_max'].options.length=0; f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('MAX PRICE',''); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('No Limit',''); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 400','400'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 500','500'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 600','600'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 700','700'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 800','800'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 900','900'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1000','1000'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1100','1100'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1200','1200'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1300','1300'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1400','1400'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 1500','1500'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 2000','2000'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 3000','3000'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 4000','4000'); f.elements['prop_price_max'].options[f.elements['prop_price_max'].options.length] = new Option('EUR 5000','5000'); } } }