var grads = new Array(); var grads_id = new Array(); var pod_imot = new Array(); var pod_imot_id = new Array(); grads[0] = new Array(" - ","","","","","","","","","","","","Apartments in the Sea resorts","Elena","Golden sands","Houses in the mountain areas","Houses near the sea","Houses near to Sofia","Luxury Houses on the sea Coast","Malashevtsi","Rural houses","Studios","Triaditsa"); grads_id[0] = new Array("","162","144","69","295","319","290","35","198","271","286","10","200","289","300","159","158","156","157","256","160","142","36"); grads[1] = new Array(" - ","","Apartments in Sofia","Apartments in the prestigious Sofia regions","Apartments in the prestigious Sofia regions","Apartments in the sea resorts","Apartments in the ski resorts","Attractive building plots in Sofia","Building plots in the mountain areas","Building plots in the rural areas","Building plots near Sofia","Building plots near the seaside","Building plots on the sea coast","Houses in Sofia","Lozenets resort","Offices in Office buildings in Sofia","Offices in Sofia","Plots in hunting and fishing areas suitable for holiday villages","Properties in the mountain villages","Properties on the ring road of Sofia","Rural properties in Bulgaria","Sandanski","Shops, bars and restourants in Sofia","Shops, bars and restourants in ski resorts","Shops,bars and restourants on the sea Coast","Sofia","Bansko","Burgas","Properties in Bansko and ski resorts","Varna","Veliko Tarnovo","Check-point Lesovo","Gorna Oriahovitsa","Properties in mountain","Golden sands","Kavarna","Kosharitsa","Kranevo","Properties on the sea","Nesebar","Obzor","Properties near the sea","Pamporovo","Primorsko","Ravda","Saint Vlas","Svilengrad","Sunny beach","Sozopol","Tsarevo","Chernomoretz","Apartments","Houses","Offices","Commercial properties","Land","Tourist Properties","Industrial Properties"); grads_id[1] = new Array("","269","197","182","199","183","184","185","189","190","186","188","187","202","321","203","204","196","194","191","195","318","205","206","207","8","283","23","279","22","31","305","315","280","301","309","311","310","282","90","296","281","278","306","87","314","304","88","89","302","303","91","7","152","167","163","146","175"); grads[7] = new Array(" - ","Rural houses","Luxury houses","Storey of a houses"); grads_id[7] = new Array("","285","155","161"); grads[8] = new Array(" - ","","Banishora","Bankya","Belite brezi","Benkovski","Borovo","Boyana","Bunkera","Busmantsi","Bygston","City center","Dianabad","Dragalevtsi","Druzhba","Dyrvenitsa","Filipovtsi","Fondovi zhilishta","Geo Milev","German","Gevgeliiski","Gorna banya","Gorublyane","Gotse Delchev","Hadzhi Dimityr","Hipodruma","Hladilnika","Hristo Botev","Hristo Smirnenski","Ilinden","Iliyantsi","Iskyr","Ivan Vazov","Izgrev","Iztok","Kinotsentyra","Knyazhevo","Krasna polyana","Krasno selo","Lagera","Lozenets","Lyulin","Malashevtsi","Malinova dolina","Manastirski livadi","Metalurg","Mladost","Moderno predgradie","Motopista","Musagenitsa","Nadezhda","Obelya","Oborishte","Orlandovtsi","Ovcha kupel","Pancharevo","Pavlovo","Poduyane","Poligona","Razsadnika","Reduta","Serdika","Serdika","Simeonovo","Slatina","Slaviya","Strelbishte","Studentski grad","Suhata reka","Suhodol","Sveta Troitsa","Svoboda","Tolstoi","Triygylnika","Vasil Levski","Vitosha","Vladaya","Vrazhdebna","Vrybnitsa","Vyzrazhdane","Yavorov","Zaharna fabrika","Zaimov","Zapaden park","Zone B-5"); grads_id[8] = new Array("","320","248","317","232","220","231","214","264","254","247","312","225","212","234","250","218","261","227","209","249","217","210","253","221","245","313","265","243","41","219","50","224","51","226","257","216","39","316","233","9","40","242","213","251","266","52","258","244","238","43","259","46","255","38","308","235","47","237","230","267","49","44","211","48","246","236","53","241","252","228","260","263","262","222","54","215","223","42","45","240","239","268","229","307"); grads[10] = new Array(" - ","",""); grads_id[10] = new Array("","192","193"); grads[16] = new Array(" - ","Basarbovo","Charodeika G","Dolapite","Druzhba","Hyshove","Iztok","Leventa","Maljovitsa","Midiya Enos","Obraztsov chiflik","Rodina","Skorbozi","Sredna kula","Traktsiya","Tsentr. yuzhen rajon","Tsvetnitsa","Vyzrazhdane","Zdravets"); grads_id[16] = new Array("","118","112","117","113","105","109","114","119","120","115","111","122","116","107","121","108","106","110"); grads[18] = new Array(" - ","Durankulak","Kranevo"); grads_id[18] = new Array("","292","294"); grads[22] = new Array(" - ","Asparuhovo","Balchik","Byala","Chaika","Druzhba","Galata","Kavarna","Mladost","Pobeda","Shabla","Troshevo","Vasil Levski","Vinitsa","Vladislav Varnenchik","Vyzrazhdane"); grads_id[22] = new Array("","77","297","291","75","76","78","298","80","83","299","79","84","85","81","82"); grads[23] = new Array(" - ","Akatsiite","Bratja Miladinovi","Dolno Ezerovo","Gorno Ezerovo","Izgrev","Lazur","Lozovo","Meden Rudnik","P.R. Slaveikov","Pobeda","Sarafovo","Vyzrazhdane","Zornitsa"); grads_id[23] = new Array("","93","104","97","96","101","103","98","95","99","94","100","92","102"); grads[25] = new Array(" - ","Belomorski","Filipovo","Gaganitsa","Gagarin","Hladilnika","Hristo Botev","Hristo Smirnenski","Izgrev","Kamenitsa","Komatevo","Kyrshiyaka","Mladezhki hylm","Ostromila","Proslav","Stolipinovo","Trakiya","Yuzhen","Zaharna Fabrika"); grads_id[25] = new Array("","60","67","70","71","55","58","64","73","56","61","66","65","62","63","72","57","59","68"); grads[31] = new Array(" - ","Elena"); grads_id[31] = new Array("","293"); grads[91] = new Array(" - ","Luxury Apartments","Maisonettes","Multi-bedrooms","One-bedrooms","Three-bedrooms","Two-bedrooms","Holiday apartments"); grads_id[91] = new Array("","143","141","140","137","139","138","145"); grads[146] = new Array(" - ","Hotels","Properties suitable for hotels","Rehabilitation centers","Spa centers"); grads_id[146] = new Array("","147","151","150","149"); grads[152] = new Array(" - ","Office buildings","Offices in office buildings"); grads_id[152] = new Array("","154","153"); grads[163] = new Array(" - ","Agricultural land","Building plots","Regulated Land"); grads_id[163] = new Array("","166","165","164"); grads[167] = new Array(" - ","Shops","Bars","Restaurants","Supermarkets","Trade centers"); grads_id[167] = new Array("","169","170","277","171","172"); grads[175] = new Array(" - ","Store houses","Factories","Industrial plots","Workshop","Industrial parcels"); grads_id[175] = new Array("","176","179","180","177","276"); grads[200] = new Array(" - ",""); grads_id[200] = new Array("","201"); grads[269] = new Array(" - ","","","Houses in the mountain areas","Houses near the sea","Rural houses"); grads_id[269] = new Array("","274","275","272","270","273"); grads[286] = new Array(" - ","",""); grads_id[286] = new Array("","287","288"); function gradove(where_ddl, floorID) { var ddl = eval("document.formup1." + where_ddl); ddl.options.length = 0; if(grads[floorID]){ for(var i = 0; i < grads[floorID].length; i++) { ddl.options[i] = new Option( grads[floorID][i], grads_id[floorID][i]); } } else{ ddl.options[0] = new Option( "no entries ", ""); } } pod_imot[0] = new Array(" - ","","","","","","","","","","","","Apartments in the Sea resorts","Elena","Golden sands","Houses in the mountain areas","Houses near the sea","Houses near to Sofia","Luxury Houses on the sea Coast","Malashevtsi","Rural houses","Studios","Triaditsa"); pod_imot_id[0] = new Array("","162","144","69","295","319","290","35","198","271","286","10","200","289","300","159","158","156","157","256","160","142","36"); pod_imot[1] = new Array(" - ","","Apartments in Sofia","Apartments in the prestigious Sofia regions","Apartments in the prestigious Sofia regions","Apartments in the sea resorts","Apartments in the ski resorts","Attractive building plots in Sofia","Building plots in the mountain areas","Building plots in the rural areas","Building plots near Sofia","Building plots near the seaside","Building plots on the sea coast","Houses in Sofia","Lozenets resort","Offices in Office buildings in Sofia","Offices in Sofia","Plots in hunting and fishing areas suitable for holiday villages","Properties in the mountain villages","Properties on the ring road of Sofia","Rural properties in Bulgaria","Sandanski","Shops, bars and restourants in Sofia","Shops, bars and restourants in ski resorts","Shops,bars and restourants on the sea Coast","Sofia","Bansko","Burgas","Properties in Bansko and ski resorts","Varna","Veliko Tarnovo","Check-point Lesovo","Gorna Oriahovitsa","Properties in mountain","Golden sands","Kavarna","Kosharitsa","Kranevo","Properties on the sea","Nesebar","Obzor","Properties near the sea","Pamporovo","Primorsko","Ravda","Saint Vlas","Svilengrad","Sunny beach","Sozopol","Tsarevo","Chernomoretz","Apartments","Houses","Offices","Commercial properties","Land","Tourist Properties","Industrial Properties"); pod_imot_id[1] = new Array("","269","197","182","199","183","184","185","189","190","186","188","187","202","321","203","204","196","194","191","195","318","205","206","207","8","283","23","279","22","31","305","315","280","301","309","311","310","282","90","296","281","278","306","87","314","304","88","89","302","303","91","7","152","167","163","146","175"); pod_imot[7] = new Array(" - ","Rural houses","Luxury houses","Storey of a houses"); pod_imot_id[7] = new Array("","285","155","161"); pod_imot[8] = new Array(" - ","","Banishora","Bankya","Belite brezi","Benkovski","Borovo","Boyana","Bunkera","Busmantsi","Bygston","City center","Dianabad","Dragalevtsi","Druzhba","Dyrvenitsa","Filipovtsi","Fondovi zhilishta","Geo Milev","German","Gevgeliiski","Gorna banya","Gorublyane","Gotse Delchev","Hadzhi Dimityr","Hipodruma","Hladilnika","Hristo Botev","Hristo Smirnenski","Ilinden","Iliyantsi","Iskyr","Ivan Vazov","Izgrev","Iztok","Kinotsentyra","Knyazhevo","Krasna polyana","Krasno selo","Lagera","Lozenets","Lyulin","Malashevtsi","Malinova dolina","Manastirski livadi","Metalurg","Mladost","Moderno predgradie","Motopista","Musagenitsa","Nadezhda","Obelya","Oborishte","Orlandovtsi","Ovcha kupel","Pancharevo","Pavlovo","Poduyane","Poligona","Razsadnika","Reduta","Serdika","Serdika","Simeonovo","Slatina","Slaviya","Strelbishte","Studentski grad","Suhata reka","Suhodol","Sveta Troitsa","Svoboda","Tolstoi","Triygylnika","Vasil Levski","Vitosha","Vladaya","Vrazhdebna","Vrybnitsa","Vyzrazhdane","Yavorov","Zaharna fabrika","Zaimov","Zapaden park","Zone B-5"); pod_imot_id[8] = new Array("","320","248","317","232","220","231","214","264","254","247","312","225","212","234","250","218","261","227","209","249","217","210","253","221","245","313","265","243","41","219","50","224","51","226","257","216","39","316","233","9","40","242","213","251","266","52","258","244","238","43","259","46","255","38","308","235","47","237","230","267","49","44","211","48","246","236","53","241","252","228","260","263","262","222","54","215","223","42","45","240","239","268","229","307"); pod_imot[10] = new Array(" - ","",""); pod_imot_id[10] = new Array("","192","193"); pod_imot[16] = new Array(" - ","Basarbovo","Charodeika G","Dolapite","Druzhba","Hyshove","Iztok","Leventa","Maljovitsa","Midiya Enos","Obraztsov chiflik","Rodina","Skorbozi","Sredna kula","Traktsiya","Tsentr. yuzhen rajon","Tsvetnitsa","Vyzrazhdane","Zdravets"); pod_imot_id[16] = new Array("","118","112","117","113","105","109","114","119","120","115","111","122","116","107","121","108","106","110"); pod_imot[18] = new Array(" - ","Durankulak","Kranevo"); pod_imot_id[18] = new Array("","292","294"); pod_imot[22] = new Array(" - ","Asparuhovo","Balchik","Byala","Chaika","Druzhba","Galata","Kavarna","Mladost","Pobeda","Shabla","Troshevo","Vasil Levski","Vinitsa","Vladislav Varnenchik","Vyzrazhdane"); pod_imot_id[22] = new Array("","77","297","291","75","76","78","298","80","83","299","79","84","85","81","82"); pod_imot[23] = new Array(" - ","Akatsiite","Bratja Miladinovi","Dolno Ezerovo","Gorno Ezerovo","Izgrev","Lazur","Lozovo","Meden Rudnik","P.R. Slaveikov","Pobeda","Sarafovo","Vyzrazhdane","Zornitsa"); pod_imot_id[23] = new Array("","93","104","97","96","101","103","98","95","99","94","100","92","102"); pod_imot[25] = new Array(" - ","Belomorski","Filipovo","Gaganitsa","Gagarin","Hladilnika","Hristo Botev","Hristo Smirnenski","Izgrev","Kamenitsa","Komatevo","Kyrshiyaka","Mladezhki hylm","Ostromila","Proslav","Stolipinovo","Trakiya","Yuzhen","Zaharna Fabrika"); pod_imot_id[25] = new Array("","60","67","70","71","55","58","64","73","56","61","66","65","62","63","72","57","59","68"); pod_imot[31] = new Array(" - ","Elena"); pod_imot_id[31] = new Array("","293"); pod_imot[91] = new Array(" - ","Luxury Apartments","Maisonettes","Multi-bedrooms","One-bedrooms","Three-bedrooms","Two-bedrooms","Holiday apartments"); pod_imot_id[91] = new Array("","143","141","140","137","139","138","145"); pod_imot[146] = new Array(" - ","Hotels","Properties suitable for hotels","Rehabilitation centers","Spa centers"); pod_imot_id[146] = new Array("","147","151","150","149"); pod_imot[152] = new Array(" - ","Office buildings","Offices in office buildings"); pod_imot_id[152] = new Array("","154","153"); pod_imot[163] = new Array(" - ","Agricultural land","Building plots","Regulated Land"); pod_imot_id[163] = new Array("","166","165","164"); pod_imot[167] = new Array(" - ","Shops","Bars","Restaurants","Supermarkets","Trade centers"); pod_imot_id[167] = new Array("","169","170","277","171","172"); pod_imot[175] = new Array(" - ","Store houses","Factories","Industrial plots","Workshop","Industrial parcels"); pod_imot_id[175] = new Array("","176","179","180","177","276"); pod_imot[200] = new Array(" - ",""); pod_imot_id[200] = new Array("","201"); pod_imot[269] = new Array(" - ","","","Houses in the mountain areas","Houses near the sea","Rural houses"); pod_imot_id[269] = new Array("","274","275","272","270","273"); pod_imot[286] = new Array(" - ","",""); pod_imot_id[286] = new Array("","287","288"); function pod_imota(where_ddl, floorID) { var ddl = eval("document.formup1." + where_ddl); ddl.options.length = 0; if(grads[floorID]){ for(var i = 0; i < pod_imot[floorID].length; i++) { ddl.options[i] = new Option( pod_imot[floorID][i], pod_imot_id[floorID][i]); } }else{ ddl.options[0] = new Option( "no entries ", ""); } }