
var purpose = new Array();
ar = new Node('1','Prodaja');
purpose.push(ar);
ar = new Node('2','Nakup');
purpose.push(ar);
ar = new Node('3','Oddaja');
purpose.push(ar);
ar = new Node('4','Najem');
purpose.push(ar);


var regions = new Array();
r = new Node('1','Slovenija');

d = new Node('10','Dolenjska');
d.children.push(new Node('48','\u010Crnomelj  '));
d.children.push(new Node('49','Ko\u010Devje  '));
d.children.push(new Node('50','Metlika  '));
d.children.push(new Node('51','Novo mesto  '));
d.children.push(new Node('52','Ribnica  '));
d.children.push(new Node('53','Trebnje  '));

r.children.push(d);


d = new Node('3','Gorenjska');
d.children.push(new Node('16','\u0160kofja Loka'));
d.children.push(new Node('13','Jesenice'));
d.children.push(new Node('14','Kranj'));
d.children.push(new Node('15','Radovljica'));
d.children.push(new Node('17','Tr\u017Ei\u010D'));
r.children.push(d);

d = new Node('4','Ju\u017Ena Primorska');
d.children.push(new Node('18','Izola'));
d.children.push(new Node('19','Koper'));
d.children.push(new Node('20','Piran'));
d.children.push(new Node('21','Se\u017Eana'));
r.children.push(d);


d = new Node('9','Koro\u0161ka');
d.children.push(new Node('44','Dravograd'));
d.children.push(new Node('45','Radlje ob Dravi'));
d.children.push(new Node('46','Ravne na Koro\u0161kem'));
d.children.push(new Node('47','Slovenj Gradec'));

r.children.push(d);

d = new Node('1','Ljubljana');

d.children.push(new Node('4','\u0160i\u0161ka'));
d.children.push(new Node('1','Be\u017Eigrad'));
d.children.push(new Node('2','Center'));
d.children.push(new Node('5','Ljubljana'));
d.children.push(new Node('3',"Moste Polje"));
d.children.push(new Node('6',"Vic Rudnik"));
r.children.push(d);

d = new Node('6','Notranjska  ');
d.children.push(new Node('26','Cerknica'));
d.children.push(new Node('27','Ilirska Bistrica'));
d.children.push(new Node('28','Postojna'));

r.children.push(d);


d = new Node('2','Osrednja');
d.children.push(new Node('7','Dom\u017Eale'));
d.children.push(new Node('8','Grosuplje'));
d.children.push(new Node('9','Kamnik'));
d.children.push(new Node('10','Litija'));
d.children.push(new Node('11','Logatec'));
d.children.push(new Node('12','Vrhnika'));
r.children.push(d);

d = new Node('8','Podravska');
d.children.push(new Node('37','Lenart '));
d.children.push(new Node('38','Maribor '));
d.children.push(new Node('39','Ormo\u017E '));
d.children.push(new Node('40','Pesnica '));
d.children.push(new Node('41','Ptuj'));
d.children.push(new Node('42','Ru\u0161e'));
d.children.push(new Node('43','Slovenska Bistrica '));

r.children.push(d);

d = new Node('13','Pomurska ');
d.children.push(new Node('60','Gornja Radgona '));
d.children.push(new Node('61','Lendava '));
d.children.push(new Node('62','Ljutomer '));
d.children.push(new Node('63','Murska Sobota'));
r.children.push(d);
regions.push(r);

d = new Node('11','Posavska');
d.children.push(new Node('54','Bre\u017Eice '));
d.children.push(new Node('55','Kr\u0161ko '));
d.children.push(new Node('56','Sevnica '));

r.children.push(d);

d = new Node('7','Savinjska ');
d.children.push(new Node('29','Celje '));
d.children.push(new Node('30','La\u0161ko '));
d.children.push(new Node('31','Mozirje  '));
d.children.push(new Node('32','Slovenske Konjice '));
d.children.push(new Node('33','\u0160entjur  '));
d.children.push(new Node('34','\u0160marje pri Jel\u0161ah '));
d.children.push(new Node('35','Velenje  '));
d.children.push(new Node('36','\u017Dalec  '));

r.children.push(d);

d = new Node('5','Severna Primorska');
d.children.push(new Node('22','Ajdov\u0161\u010Dina'));
d.children.push(new Node('23','Idrija'));
d.children.push(new Node('24','Nova Gorica'));
d.children.push(new Node('25','Tolmin'));

r.children.push(d);

d = new Node('12','Zasavska');
d.children.push(new Node('57','Hrastnik '));
d.children.push(new Node('58','Trbovlje'));
d.children.push(new Node('59','Zagorje ob Savi'));

r.children.push(d);


////////////////////////////////////////////////////////////////////


//r.children.push(d);

/*d = new Node('2','LJ-okolica');
d.children.push(new Node('7','Domžale'));
d.children.push(new Node('8','Grosuplje'));
d.children.push(new Node('9','Kamnik '));
d.children.push(new Node('10','Litija'));
d.children.push(new Node('11','Lj. J&Z del (Vic, Rudnik)'));
d.children.push(new Node('12','Lj. SV del (Bežigrad)'));
d.children.push(new Node('13','Lj. SZ del (Šiška)'));
d.children.push(new Node('14','Lj. V del (Moste-Polje) '));
d.children.push(new Node('15','Logatec'));
d.children.push(new Node('16','Vrhnika  '));

r.children.push(d);


d = new Node('6','Notranjska  ');
d.children.push(new Node('30','Cerknica '));
d.children.push(new Node('31','Ilirska Bistrica '));
d.children.push(new Node('32','Postojna  '));

r.children.push(d);
*/



///////////////////////Croatia... ////////////////
r = new Node('2','Croatia');


d = new Node('15','Bjelovarsko-bilogorska');
d.children.push(new Node('100','Bjelovar'));
d.children.push(new Node('101','Bjelovar'));
d.children.push(new Node('102','Bjelovar - okolica'));
d.children.push(new Node('103','Čazma'));
d.children.push(new Node('104','Daruvar'));
d.children.push(new Node('105','Dežanovac'));
d.children.push(new Node('106','Đulovac'));
d.children.push(new Node('107','Garešnica'));
d.children.push(new Node('108','Grubišno polje'));
d.children.push(new Node('109','Hercegovac'));
d.children.push(new Node('110','Ivanska'));
d.children.push(new Node('111','Kapela'));
d.children.push(new Node('112','Končanica'));
d.children.push(new Node('113','Nova rača'));
d.children.push(new Node('114','Rovišće'));
d.children.push(new Node('115','Severin'));
d.children.push(new Node('116','Sirač'));
d.children.push(new Node('117','Šandrovac'));
d.children.push(new Node('118','Štefanje'));
d.children.push(new Node('119','Velika pisanica'));
d.children.push(new Node('120','Velika trnovitica'));
d.children.push(new Node('121','Veliki grđevac'));
r.children.push(d);

d = new Node('16','Brodsko-posavska');
d.children.push(new Node('125','Bebrina'));
d.children.push(new Node('126','Brodski stupnik'));
d.children.push(new Node('127','Bukovlje'));
d.children.push(new Node('128','Cernik'));
d.children.push(new Node('129','Davor'));
d.children.push(new Node('130','Donji andrijevci'));
d.children.push(new Node('131','Dragalić'));
d.children.push(new Node('132','Garčin'));
d.children.push(new Node('133','Gornja vrba'));
d.children.push(new Node('134','Gornji bogićevci'));
d.children.push(new Node('135','Gundinci'));
d.children.push(new Node('136','Klakar'));
d.children.push(new Node('137','Nova gradiška'));
d.children.push(new Node('138','Nova kapela'));
d.children.push(new Node('139','Okučani'));
d.children.push(new Node('140','Oprisavci'));
d.children.push(new Node('141','Oriovac'));
d.children.push(new Node('142','Podcrkavlje'));
d.children.push(new Node('143','Rešetari'));
d.children.push(new Node('144','Sibinj'));
d.children.push(new Node('145','Sikirevci'));
d.children.push(new Node('146','Slavonski brod'));
d.children.push(new Node('147','Slavonski brod - okolica'));
d.children.push(new Node('148','Slavonski šamac'));
d.children.push(new Node('149','Stara gradiška'));
d.children.push(new Node('150','Staro petrovo selo'));
d.children.push(new Node('151','Velika kopanica'));
d.children.push(new Node('152','Vrbje'));
d.children.push(new Node('153','Vrpolje'));
r.children.push(d);

d = new Node('17','Dubrovačko-neretvanska');
d.children.push(new Node('154','Blato'));
d.children.push(new Node('155','Dubrovačko primorje'));
d.children.push(new Node('156','Dubrovnik'));
d.children.push(new Node('157','Dubrovnik - okolica'));
d.children.push(new Node('158','Janjina'));
d.children.push(new Node('159','Konavle'));
d.children.push(new Node('160','Korčula'));
d.children.push(new Node('161','Kula norinska'));
d.children.push(new Node('162','Lastovo'));
d.children.push(new Node('163','Lumbarda'));
d.children.push(new Node('164','Metković'));
d.children.push(new Node('165','Mljet'));
d.children.push(new Node('166','Opuzen'));
d.children.push(new Node('167','Orebić'));
d.children.push(new Node('168','Ploče'));
d.children.push(new Node('169','Pojezerje'));
d.children.push(new Node('170','Slivno'));
d.children.push(new Node('171','Smokvica'));
d.children.push(new Node('172','Ston'));
d.children.push(new Node('173','Trpanj'));
d.children.push(new Node('174','Vela luka'));
d.children.push(new Node('175','Zažablje'));
d.children.push(new Node('176','Župa dubrovačka'));
r.children.push(d);

d = new Node('18','Grad Zagreb');
d.children.push(new Node('177','Brezovica'));
d.children.push(new Node('178','Črnomerec'));
d.children.push(new Node('179','Donja dubrava'));
d.children.push(new Node('180','Donji grad'));
d.children.push(new Node('181','Gornja dubrava'));
d.children.push(new Node('182','Gornji grad - medveščak'));
d.children.push(new Node('183','Maksimir'));
d.children.push(new Node('184','Novi zagreb - istok'));
d.children.push(new Node('185','Novi zagreb - zapad'));
d.children.push(new Node('186','Peščenica - žitnjak'));
d.children.push(new Node('187','Podsljeme'));
d.children.push(new Node('188','Podsused - vrapče'));
d.children.push(new Node('189','Sesvete'));
d.children.push(new Node('190','Stenjevec'));
d.children.push(new Node('191','Trešnjevka - jug'));
d.children.push(new Node('192','Trešnjevka - sjever'));
d.children.push(new Node('193','Trnje'));
d.children.push(new Node('194','Zagreb - okolica'));
r.children.push(d);

d = new Node('19','Istarska');
d.children.push(new Node('250','Bale'));
d.children.push(new Node('251','Barban'));
d.children.push(new Node('252','Brtonigla'));
d.children.push(new Node('253','Buje'));
d.children.push(new Node('254','Buzet'));
d.children.push(new Node('255','Cerovlje'));
d.children.push(new Node('256','Fažana'));
d.children.push(new Node('257','Gračišće'));
d.children.push(new Node('258','Grožnjan'));
d.children.push(new Node('259','Kanfanar'));
d.children.push(new Node('260','Karojba'));
d.children.push(new Node('261','Kaštelir-labinci'));
d.children.push(new Node('262','Kršan'));
d.children.push(new Node('263','Labin'));
d.children.push(new Node('264','Lanišće'));
d.children.push(new Node('265','Ližnjan'));

d.children.push(new Node('266','Lupoglav'));
d.children.push(new Node('267','Marčana'));
d.children.push(new Node('268','Medulin'));
d.children.push(new Node('269','Motovun'));
d.children.push(new Node('270','Novigrad'));
d.children.push(new Node('271','Oprtalj'));
d.children.push(new Node('272','Pazin'));
d.children.push(new Node('273','Pazin - okolica'));
d.children.push(new Node('274','Pićan'));
d.children.push(new Node('275','Poreč'));
d.children.push(new Node('276','Pula'));
d.children.push(new Node('277','Pula - okolica'));
d.children.push(new Node('278','Raša'));
d.children.push(new Node('279','Rovinj'));
d.children.push(new Node('280','Sveta nedelja'));
d.children.push(new Node('281','Sveti Lovreč'));
d.children.push(new Node('282','Sveti petar U šumi'));
d.children.push(new Node('283','Svetvinčenat'));
d.children.push(new Node('284','Tinjan'));
d.children.push(new Node('285','Umag'));
d.children.push(new Node('286','Višnjan'));
d.children.push(new Node('287','Vižinada'));
d.children.push(new Node('288','Vodnjan'));
d.children.push(new Node('289','Vrsar'));
d.children.push(new Node('290','Žminj'));
r.children.push(d);

d = new Node('20','Karlovačka');
d.children.push(new Node('330','Barilovići'));
d.children.push(new Node('331','Bosiljevo'));
d.children.push(new Node('332','Cetingrad'));
d.children.push(new Node('333','Draganić'));
d.children.push(new Node('334','Duga Resa'));
d.children.push(new Node('335','Generalski stol'));
d.children.push(new Node('336','Josipdol'));
d.children.push(new Node('337','Karlovac'));
d.children.push(new Node('338','Karlovac - okolica'));
d.children.push(new Node('339','Krnjak'));
d.children.push(new Node('340','Lasinja'));
d.children.push(new Node('341','Netretić'));
d.children.push(new Node('342','Ogulin'));
d.children.push(new Node('343','Ozalj'));
d.children.push(new Node('344','Plaški'));
d.children.push(new Node('345','Rakovica'));
d.children.push(new Node('346','Ribnik'));
d.children.push(new Node('347','Saborsko'));
d.children.push(new Node('348','Slunj'));
d.children.push(new Node('349','Tounj'));
d.children.push(new Node('350','Vojnić'));
d.children.push(new Node('351','Žakanje'));
r.children.push(d);

d = new Node('21','Koprivničko-križevačka');
d.children.push(new Node('370','Drnje'));
d.children.push(new Node('371','Đelekovec'));
d.children.push(new Node('372','Đurđevac'));
d.children.push(new Node('373','Ferdinandovac'));
d.children.push(new Node('374','Gola'));
d.children.push(new Node('375','Gornja Rijeka'));
d.children.push(new Node('376','Hlebine'));
d.children.push(new Node('377','Kalinovac'));
d.children.push(new Node('378','Kalnik'));
d.children.push(new Node('379','Kloštar Podravski'));
d.children.push(new Node('380','Koprivnica'));
d.children.push(new Node('381','Koprivnica - Okolica'));
d.children.push(new Node('382','Koprivnički Bregi'));
d.children.push(new Node('383','Koprivnički Ivanec'));
d.children.push(new Node('384','Križevci'));
d.children.push(new Node('385','Legrad'));
d.children.push(new Node('386','Molve'));
d.children.push(new Node('387','Novigrad Podravski'));
d.children.push(new Node('388','Novo Virje'));
d.children.push(new Node('389','Peteranec'));
d.children.push(new Node('390','Podravske Sesvete'));
d.children.push(new Node('391','Rasinja'));
d.children.push(new Node('392','Sokolovac'));
d.children.push(new Node('393','Sveti Ivan Žabno'));
d.children.push(new Node('394','Sveti Petar Orehovec'));
d.children.push(new Node('395','Virje'));
r.children.push(d);

d = new Node('22','Krapinsko-zagorska');
d.children.push(new Node('430','Bedekovčina'));
d.children.push(new Node('431','Budinščina'));
d.children.push(new Node('432','Desinić'));
d.children.push(new Node('433','Donja Stubica'));
d.children.push(new Node('434','Đurmanec'));
d.children.push(new Node('435','Gornja Stubica'));
d.children.push(new Node('436','Hrašćina'));
d.children.push(new Node('437','Hum Na Sutli'));
d.children.push(new Node('438','Jesenje'));
d.children.push(new Node('439','Klanjec'));
d.children.push(new Node('440','Konjščina'));
d.children.push(new Node('441','Kraljevec Na Sutli'));
d.children.push(new Node('442','Krapina'));
d.children.push(new Node('443','Krapina - Okolica'));
d.children.push(new Node('444','Krapinske Toplice'));
d.children.push(new Node('445','Kumrovec'));
d.children.push(new Node('446','Lobor'));
d.children.push(new Node('447','Mače'));
d.children.push(new Node('448','Marija Bistrica'));
d.children.push(new Node('449','Mihovljan'));
d.children.push(new Node('450','Novi Golubovec'));
d.children.push(new Node('451','Oroslavje'));
d.children.push(new Node('452','Petrovsko'));
d.children.push(new Node('453','Pregrada'));
d.children.push(new Node('454','Radoboj'));
d.children.push(new Node('455','Stubičke Toplice'));
d.children.push(new Node('456','Sveti Križ Začretje'));
d.children.push(new Node('457','Tuhelj'));
d.children.push(new Node('458','Veliko Trgovišće'));
d.children.push(new Node('459','Zabok'));
d.children.push(new Node('460','Zagorska Sela'));
d.children.push(new Node('461','Zlatar'));
d.children.push(new Node('462','Zlatar-Bistrica'));
r.children.push(d);

d = new Node('23','Ličko-senjska');
d.children.push(new Node('480','Brinje'));
d.children.push(new Node('481','Donji Lapac'));
d.children.push(new Node('482','Gospić'));
d.children.push(new Node('483','Gospić - Okolica'));
d.children.push(new Node('484','Karlobag'));
d.children.push(new Node('485','Lovinac'));
d.children.push(new Node('486','Novalja'));
d.children.push(new Node('487','Otočac'));
d.children.push(new Node('488','Perušić'));
d.children.push(new Node('489','Plitvička Jezera'));
d.children.push(new Node('490','Senj'));
d.children.push(new Node('491','Udbina'));
d.children.push(new Node('492','Vrhovine'));
r.children.push(d);

d = new Node('24','Međimurska');
d.children.push(new Node('520','Belica'));
d.children.push(new Node('521','Čakovec'));
d.children.push(new Node('522','Čakovec - Okolica'));
d.children.push(new Node('523','Dekanovec'));
d.children.push(new Node('524','Domašinec'));
d.children.push(new Node('525','Donja Dubrava'));
d.children.push(new Node('526','Donji Kraljevec'));
d.children.push(new Node('527','Donji Vidovec'));
d.children.push(new Node('528','Goričan'));
d.children.push(new Node('529','Gornji Mihaljevec'));
d.children.push(new Node('530','Kotoriba'));
d.children.push(new Node('531','Mala Subotica'));
d.children.push(new Node('532','Mursko Središće'));
d.children.push(new Node('533','Nedelišće'));
d.children.push(new Node('534','Orehovica'));
d.children.push(new Node('535','Podturen'));
d.children.push(new Node('536','Prelog'));
d.children.push(new Node('537','Pribislavec'));
d.children.push(new Node('538','Selnica'));
d.children.push(new Node('539','Strahoninec'));
d.children.push(new Node('540','Sveta Marija'));
d.children.push(new Node('541','Sveti Juraj Na Bregu'));
d.children.push(new Node('542','Sveti Martin Na Muri'));
d.children.push(new Node('543','Šenkovec'));
d.children.push(new Node('544','Štrigova'));
d.children.push(new Node('545','Vratišinec'));
r.children.push(d);

d = new Node('25','Osječko-baranjska');
d.children.push(new Node('570','Antunovac'));
d.children.push(new Node('571','Beli Manastir'));
d.children.push(new Node('572','Belišće'));
d.children.push(new Node('573','Bilje'));
d.children.push(new Node('574','Bizovac'));
d.children.push(new Node('575','Čeminac'));
d.children.push(new Node('576','Čepin'));
d.children.push(new Node('577','Darda'));
d.children.push(new Node('578','Donja Motičina'));
d.children.push(new Node('579','Donji Miholjac'));
d.children.push(new Node('580','Draž'));
d.children.push(new Node('581','Drenje'));
d.children.push(new Node('582','Đakovo'));
d.children.push(new Node('583','Đurđenovac'));
d.children.push(new Node('584','Erdut'));
d.children.push(new Node('585','Ernestinovo'));
d.children.push(new Node('586','Feričanci'));
d.children.push(new Node('587','Gorjani'));
d.children.push(new Node('588','Jagodnjak'));
d.children.push(new Node('590','Kneževi Vinogradi'));
d.children.push(new Node('591','Koška'));
d.children.push(new Node('592','Levanjska Varoš'));
d.children.push(new Node('593','Magadenovac'));
d.children.push(new Node('594','Marijanci'));
d.children.push(new Node('595','Našice'));
d.children.push(new Node('596','Osijek'));
d.children.push(new Node('597','Osijek - Okolica'));
d.children.push(new Node('598','Petlovac'));
d.children.push(new Node('599','Petrijevci'));
d.children.push(new Node('601','Podgorač'));
d.children.push(new Node('602','Podravska Moslavina'));
d.children.push(new Node('603','Popovac'));
d.children.push(new Node('604','Punitovci'));
d.children.push(new Node('605','Satnica Đakovačka'));
d.children.push(new Node('606','Semeljci'));
d.children.push(new Node('607','Strizivojna'));
d.children.push(new Node('608','Šodolovci'));
d.children.push(new Node('609','Trnava'));
d.children.push(new Node('610','Valpovo'));
d.children.push(new Node('611','Viljevo'));
d.children.push(new Node('612','Viškovci'));
d.children.push(new Node('613','Vladislavci'));
d.children.push(new Node('614','Vuka'));
r.children.push(d);

d = new Node('26','Požeško-slavonska');
d.children.push(new Node('630','Brestovac'));
d.children.push(new Node('631','Čaglin'));
d.children.push(new Node('632','Jakšić'));
d.children.push(new Node('633','Kaptol'));
d.children.push(new Node('634','Kutjevo'));
d.children.push(new Node('635','Lipik'));
d.children.push(new Node('636','Pakrac'));
d.children.push(new Node('637','Pleternica'));
d.children.push(new Node('638','Požega'));
d.children.push(new Node('639','Požega - Okolica'));
d.children.push(new Node('640','Velika'));
r.children.push(d);

d = new Node('27','Primorsko-goranska');
d.children.push(new Node('660','Bakar'));
d.children.push(new Node('661','Baška'));
d.children.push(new Node('662','Brod Moravice'));
d.children.push(new Node('663','Cres'));
d.children.push(new Node('664','Crikvenica'));
d.children.push(new Node('665','Čabar'));
d.children.push(new Node('666','Čavle'));
d.children.push(new Node('667','Delnice'));
d.children.push(new Node('668','Dobrinj'));
d.children.push(new Node('669','Fužine'));
d.children.push(new Node('670','Jelenje'));
d.children.push(new Node('671','Kastav'));
d.children.push(new Node('672','Kastav - Okolica'));
d.children.push(new Node('673','Klana'));
d.children.push(new Node('674','Kostrena'));
d.children.push(new Node('675','Kraljevica'));
d.children.push(new Node('676','Krk'));
d.children.push(new Node('677','Lokve'));
d.children.push(new Node('678','Lovran'));
d.children.push(new Node('679','Mali Lošinj'));
d.children.push(new Node('680','Malinska-Dubašnica'));
d.children.push(new Node('681','Matulji'));
d.children.push(new Node('682','Mošćenička Draga'));
d.children.push(new Node('683','Mrkopalj'));
d.children.push(new Node('684','Novi Vinodolski'));
d.children.push(new Node('685','Omišalj'));
d.children.push(new Node('686','Opatija'));
d.children.push(new Node('687','Opatija - Okolica'));
d.children.push(new Node('688','Punat'));
d.children.push(new Node('689','Rab'));
d.children.push(new Node('690','Ravna Gora'));
d.children.push(new Node('691','Rijeka'));
d.children.push(new Node('692','Rijeka - Okolica'));
d.children.push(new Node('693','Skrad'));
d.children.push(new Node('694','Vinodolska Općina'));
d.children.push(new Node('695','Viškovo'));
d.children.push(new Node('696','Vrbnik'));
d.children.push(new Node('697','Vrbovsko'));
r.children.push(d);

d = new Node('28','Sisačko-moslavačka');
d.children.push(new Node('720','Donji Kukuruzari'));
d.children.push(new Node('721','Dvor'));
d.children.push(new Node('722','Glina'));
d.children.push(new Node('723','Gvozd'));
d.children.push(new Node('724','Hrvatska Dubica'));
d.children.push(new Node('725','Hrvatska Kostajnica'));
d.children.push(new Node('726','Jasenovac'));
d.children.push(new Node('727','Kutina'));
d.children.push(new Node('728','Lekenik'));
d.children.push(new Node('729','Lipovljani'));
d.children.push(new Node('730','Majur'));
d.children.push(new Node('731','Martinska Ves'));
d.children.push(new Node('732','Novska'));
d.children.push(new Node('733','Petrinja'));
d.children.push(new Node('734','Popovača'));
d.children.push(new Node('735','Sisak'));
d.children.push(new Node('736','Sisak - Okolica'));
d.children.push(new Node('737','Sunja'));
d.children.push(new Node('738','Topusko'));
d.children.push(new Node('739','Velika Ludina'));
r.children.push(d);

d = new Node('29','Splitsko-dalmatinska');
d.children.push(new Node('760','Baška Voda'));
d.children.push(new Node('761','Bol'));
d.children.push(new Node('762','Brela'));
d.children.push(new Node('763','Cista Provo'));
d.children.push(new Node('764','Dicmo'));
d.children.push(new Node('765','Dugi Rat'));
d.children.push(new Node('766','Dugopolje'));
d.children.push(new Node('767','Gradac'));
d.children.push(new Node('768','Hrvace'));
d.children.push(new Node('769','Hvar'));
d.children.push(new Node('770','Imotski'));
d.children.push(new Node('771','Jelsa'));
d.children.push(new Node('772','Kaštela'));
d.children.push(new Node('773','Klis'));
d.children.push(new Node('774','Komiža'));
d.children.push(new Node('775','Lećevica'));
d.children.push(new Node('776','Lokvičići'));
d.children.push(new Node('777','Lovreć'));
d.children.push(new Node('778','Makarska'));
d.children.push(new Node('779','Marina'));
d.children.push(new Node('780','Milna'));
d.children.push(new Node('781','Muć'));
d.children.push(new Node('782','Nerežišća'));
d.children.push(new Node('783','Okrug'));
d.children.push(new Node('784','Omiš'));
d.children.push(new Node('785','Otok'));
d.children.push(new Node('788','Podbablje'));
d.children.push(new Node('789','Podgora'));
d.children.push(new Node('790','Podstrana'));
d.children.push(new Node('791','Postira'));
d.children.push(new Node('792','Prgomet'));
d.children.push(new Node('793','Primorski Dolac'));
d.children.push(new Node('794','Proložac'));
d.children.push(new Node('795','Pučišća'));
d.children.push(new Node('796','Runovići'));
d.children.push(new Node('797','Seget'));
d.children.push(new Node('798','Selca'));
d.children.push(new Node('799','Sinj'));
d.children.push(new Node('800','Solin'));
d.children.push(new Node('801','Solin - Okolica'));
d.children.push(new Node('802','Split'));
d.children.push(new Node('803','Split - Okolica'));
d.children.push(new Node('804','Stari Grad'));
d.children.push(new Node('805','Sućuraj'));
d.children.push(new Node('806','Supetar'));
d.children.push(new Node('807','Sutivan'));
d.children.push(new Node('808','Šestanovac'));
d.children.push(new Node('809','Šolta'));
d.children.push(new Node('810','Trilj'));
d.children.push(new Node('811','Trogir'));
d.children.push(new Node('812','Trogir - Okolica'));
d.children.push(new Node('813','Tučepi'));
d.children.push(new Node('814','Vis'));
d.children.push(new Node('815','Vrgorac'));
d.children.push(new Node('816','Vrlika'));
d.children.push(new Node('817','Zadvarje'));
d.children.push(new Node('818','Zagvozd'));
d.children.push(new Node('819','Zmijavci'));
r.children.push(d);

d = new Node('30','Šibensko-kninska');
d.children.push(new Node('840','Bilice'));
d.children.push(new Node('841','Biskupija'));
d.children.push(new Node('842','Civljane'));
d.children.push(new Node('843','Drniš'));
d.children.push(new Node('844','Ervenik'));
d.children.push(new Node('845','Kijevo'));
d.children.push(new Node('846','Kistanje'));
d.children.push(new Node('847','Knin'));
d.children.push(new Node('848','Murter'));
d.children.push(new Node('849','Pirovac'));
d.children.push(new Node('850','Primošten'));
d.children.push(new Node('851','Promina'));
d.children.push(new Node('852','Rogoznica'));
d.children.push(new Node('853','Ružić'));
d.children.push(new Node('854','Skradin'));
d.children.push(new Node('855','Šibenik'));
d.children.push(new Node('856','Šibenik - Okolica'));
d.children.push(new Node('857','Tisno'));
d.children.push(new Node('858','Unešić'));
d.children.push(new Node('859','Vodice'));
r.children.push(d);

d = new Node('31','Varaždinska');
d.children.push(new Node('870','Bednja'));
d.children.push(new Node('871','Beretinec'));
d.children.push(new Node('872','Breznica'));
d.children.push(new Node('873','Breznički Hum'));
d.children.push(new Node('874','Cestica'));
d.children.push(new Node('875','Donja Voća'));
d.children.push(new Node('876','Donji Martijanec'));
d.children.push(new Node('877','Gornji Kneginec'));
d.children.push(new Node('878','Ivanec'));
d.children.push(new Node('879','Jalžabet'));
d.children.push(new Node('880','Klenovnik'));
d.children.push(new Node('881','Lepoglava'));
d.children.push(new Node('882','Ludbreg'));
d.children.push(new Node('883','Ljubešćica'));
d.children.push(new Node('884','Mali Bukovec'));
d.children.push(new Node('885','Maruševec'));
d.children.push(new Node('886','Novi Marof'));
d.children.push(new Node('887','Petrijanec'));
d.children.push(new Node('888','Sračinec'));
d.children.push(new Node('889','Sveti Đurđ'));
d.children.push(new Node('890','Sveti Ilija'));
d.children.push(new Node('891','Trnovec Bartolovečki'));
d.children.push(new Node('892','Varaždin'));
d.children.push(new Node('893','Varaždin - Okolica'));
d.children.push(new Node('894','Varaždinske Toplice'));
d.children.push(new Node('895','Veliki Bukovec'));
d.children.push(new Node('896','Vidovec'));
d.children.push(new Node('897','Vinica'));
d.children.push(new Node('898','Visoko'));
r.children.push(d);

d = new Node('32','Virovitičko-podravska');
d.children.push(new Node('920','Crnac'));
d.children.push(new Node('921','Čačinci'));
d.children.push(new Node('922','Čađavica'));
d.children.push(new Node('923','Gradina'));
d.children.push(new Node('924','Lukač'));
d.children.push(new Node('925','Mikleuš'));
d.children.push(new Node('926','Nova Bukovica'));
d.children.push(new Node('927','Orahovica'));
d.children.push(new Node('928','Pitomača'));
d.children.push(new Node('929','Slatina'));
d.children.push(new Node('930','Sopje'));
d.children.push(new Node('931','Suhopolje'));
d.children.push(new Node('932','Špišić Bukovica'));
d.children.push(new Node('933','Virovitica'));
d.children.push(new Node('934','Virovitica - Okolica'));
d.children.push(new Node('935','Voćin'));
d.children.push(new Node('936','Voćin'));
r.children.push(d);

d = new Node('33','Vukovarsko-srijemska');
d.children.push(new Node('950','Andrijaševci'));
d.children.push(new Node('951','Babina Greda'));
d.children.push(new Node('952','Bogdanovci'));
d.children.push(new Node('953','Borovo'));
d.children.push(new Node('954','Bošnjaci'));
d.children.push(new Node('955','Cerna'));
d.children.push(new Node('956','Drenovci'));
d.children.push(new Node('957','Gradište'));
d.children.push(new Node('958','Gunja'));
d.children.push(new Node('959','Ilok'));
d.children.push(new Node('960','Ivankovo'));
d.children.push(new Node('961','Jarmina'));
d.children.push(new Node('962','Lovas'));
d.children.push(new Node('963','Markušica'));
d.children.push(new Node('964','Negoslavci'));
d.children.push(new Node('965','Nijemci'));
d.children.push(new Node('966','Nuštar'));
d.children.push(new Node('967','Otok'));
d.children.push(new Node('968','Privlaka'));
d.children.push(new Node('969','Stari Jankovci'));
d.children.push(new Node('970','Stari Mikanovci'));
d.children.push(new Node('971','Tompojevci'));
d.children.push(new Node('972','Tordinci'));
d.children.push(new Node('973','Tovarnik'));
d.children.push(new Node('974','Trpinja'));
d.children.push(new Node('975','Vinkovci'));
d.children.push(new Node('976','Vinkovci - Okolica'));
d.children.push(new Node('977','Vođinci'));
d.children.push(new Node('978','Vrbanja'));
d.children.push(new Node('979','Vukovar'));
d.children.push(new Node('980','Vukovar - Okolica'));
d.children.push(new Node('981','Županja'));
r.children.push(d);

d = new Node('34','Zadarska');
d.children.push(new Node('1000','Benkovac'));
d.children.push(new Node('1001','Bibinje'));
d.children.push(new Node('1002','Biograd Na Moru'));
d.children.push(new Node('1003','Galovac'));
d.children.push(new Node('1004','Gračac'));
d.children.push(new Node('1005','Jasenice'));
d.children.push(new Node('1006','Kali'));
d.children.push(new Node('1007','Kolan'));
d.children.push(new Node('1008','Kukljica'));
d.children.push(new Node('1009','Lišane Ostrovičke'));
d.children.push(new Node('1010','Nin'));
d.children.push(new Node('1011','Novigrad'));
d.children.push(new Node('1012','Obrovac'));
d.children.push(new Node('1013','Pag'));
d.children.push(new Node('1014','Pakoštane'));
d.children.push(new Node('1015','Pašman'));
d.children.push(new Node('1016','Polača'));
d.children.push(new Node('1017','Poličnik'));
d.children.push(new Node('1018','Posedarje'));
d.children.push(new Node('1019','Povljana'));
d.children.push(new Node('1020','Preko'));
d.children.push(new Node('1021','Privlaka'));
d.children.push(new Node('1022','Ražanac'));
d.children.push(new Node('1023','Sali'));
d.children.push(new Node('1024','Stankovci'));
d.children.push(new Node('1025','Starigrad'));
d.children.push(new Node('1026','Sukošan'));
d.children.push(new Node('1027','Sveti Filip I Jakov'));
d.children.push(new Node('1028','Škabrnje'));
d.children.push(new Node('1029','Tkon'));
d.children.push(new Node('1030','Vir'));
d.children.push(new Node('1031','Zadar'));
d.children.push(new Node('1032','Zadar - Okolica'));
d.children.push(new Node('1050','Zemunik Donji'));
r.children.push(d);

d = new Node('35','Zagrebačka');
d.children.push(new Node('1051','Bedenica'));
d.children.push(new Node('1052','Bistra'));
d.children.push(new Node('1053','Brckovljani'));
d.children.push(new Node('1054','Brdovec'));
d.children.push(new Node('1055','Dubrava'));
d.children.push(new Node('1056','Dubravica'));
d.children.push(new Node('1057','Dugo Selo'));
d.children.push(new Node('1058','Dugo Selo - Okolica'));
d.children.push(new Node('1059','Farkaševac'));
d.children.push(new Node('1060','Gradec'));
d.children.push(new Node('1061','Ivanić-Grad'));
d.children.push(new Node('1062','Ivanić-Grad - Okolica'));
d.children.push(new Node('1063','Jakovlje'));
d.children.push(new Node('1064','Jastrebarsko'));
d.children.push(new Node('1065','Jastrebarsko - Okolica'));
d.children.push(new Node('1066','Klinča Sela'));
d.children.push(new Node('1067','Kloštar Ivanić'));
d.children.push(new Node('1068','Krašić'));
d.children.push(new Node('1069','Kravarsko'));
d.children.push(new Node('1070','Križ'));
d.children.push(new Node('1071','Luka'));
d.children.push(new Node('1072','Marija Gorica'));
d.children.push(new Node('1073','Orle'));
d.children.push(new Node('1074','Pisarovina'));
d.children.push(new Node('1075','Pokupsko'));
d.children.push(new Node('1076','Preseka'));
d.children.push(new Node('1077','Pušća'));
d.children.push(new Node('1078','Rakovec'));
d.children.push(new Node('1079','Rugvica'));
d.children.push(new Node('1080','Samobor'));
d.children.push(new Node('1081','Samobor - Okolica'));
d.children.push(new Node('1082','Stupnik'));
d.children.push(new Node('1083','Sveta Nedjelja'));
d.children.push(new Node('1084','Sveti Ivan Zelina'));
d.children.push(new Node('1085','Velika Gorica'));
d.children.push(new Node('1086','Velika Gorica - Okolica'));
d.children.push(new Node('1087','Vrbovec'));
d.children.push(new Node('1088','Zaprešić'));
d.children.push(new Node('1089','Zaprešić - Okolica'));
d.children.push(new Node('1090','Žumberak'));
r.children.push(d);

///////////////////////////////

/*


d.children.push(new Node('117','Ston'));
d.children.push(new Node('117','Ston'));
d.children.push(new Node('117','Ston'));
d.children.push(new Node('117','Ston'));

r.children.push(d);





d = new Node('17','Licko-senjska_zupanija');
d.children.push(new Node('104','Karlobag'));
d.children.push(new Node('105','Novalja'));
d.children.push(new Node('106','Senj'));
r.children.push(d);

d = new Node('18','Zagrebacka_zupanija');
d.children.push(new Node('107','Zagreb'));
r.children.push(d);

d = new Node('19','Primorsko-goranska_zup');
d.children.push(new Node('108','Rijeka'));
d.children.push(new Node('109','Cres'));
d.children.push(new Node('110','Crikvenica'));
d.children.push(new Node('111','Krk'));
d.children.push(new Node('112','Lovran'));
d.children.push(new Node('113','Mali Lošinj'));
d.children.push(new Node('114','N.Vinodolski'));
d.children.push(new Node('115','Omisalj'));
d.children.push(new Node('116','Opatija'));
r.children.push(d);

d = new Node('20','Dubrovacko-neretvanska');
d.children.push(new Node('117','Korcula'));
d.children.push(new Node('118','Ston'));
r.children.push(d);





d = new Node('21','Varazdinska_zupanija');
d.children.push(new Node('119','Varazdin'));
r.children.push(d);

d = new Node('22','Splitsko-dalmatinska_zup.');
d.children.push(new Node('120','Split'));
d.children.push(new Node('121','Brac'));
d.children.push(new Node('122','Hvar'));
d.children.push(new Node('123','Makarska'));
d.children.push(new Node('124','Omis'));
d.children.push(new Node('125','Trogir'));
r.children.push(d);

d = new Node('23','Medimurska_zupanija');
d.children.push(new Node('126','Mursko_Sredisce'));
r.children.push(d);

d = new Node('24','Krapinsko-zagorska_zup.');
d.children.push(new Node('127','Pregrada'));
r.children.push(d);

d = new Node('25','Zadarska_zupanija');
d.children.push(new Node('128','Zadar'));
d.children.push(new Node('129','Pag'));
r.children.push(d);

d = new Node('26','Sibensko-kninska_zupanija');
d.children.push(new Node('130','Sibenik'));
d.children.push(new Node('131','Murter'));
d.children.push(new Node('132','Primosten'));
d.children.push(new Node('133','Vodice'));
r.children.push(d);




*/
regions.push(r);

var listing_types = new Array();
t = new Node('1','Stanovanje');
t.children.push(new Node('1','Soba '));
t.children.push(new Node('2','Garsonjera '));
t.children.push(new Node('3','1-sobno '));
t.children.push(new Node('4','1,5-sobno '));
t.children.push(new Node('5','2-sobno '));
t.children.push(new Node('6',' 2,5-sobno '));
t.children.push(new Node('7','3-sobno '));
t.children.push(new Node('8' ,'3,5-sobno '));
t.children.push(new Node('9','4-sobno  '));
t.children.push(new Node('10','4,5-sobno  '));
t.children.push(new Node('11','5 in ve\u010Dsobno'));
t.children.push(new Node('12','Apartma'));
t.children.push(new Node('51','Duplex'));
t.children.push(new Node('13','Ostalo'));


listing_types.push(t);

t = new Node('2','Hi\u0161a');
t.children.push(new Node('14','Samostojna'));
t.children.push(new Node('15','Vrstna'));
t.children.push(new Node('16','Atrijska'));
t.children.push(new Node('17','Dvojček'));
t.children.push(new Node('18','Dvostanovanjska  '));
t.children.push(new Node('19',' Trojček'));
t.children.push(new Node('20',' Ostalo'));

listing_types.push(t);

t = new Node('3','Vikend');
t.children.push(new Node('21','Bivalen '));
t.children.push(new Node('22','Zidan '));
t.children.push(new Node('23','Lesen '));
t.children.push(new Node('24','Monta\u017Een  '));
t.children.push(new Node('26','Ostalo  '));

listing_types.push(t);

t = new Node('4','Posest');
t.children.push(new Node('27','Zazidljiva '));
t.children.push(new Node('28','Nezazidljiva '));
t.children.push(new Node('29','Kmetijsko zemlji\u0161ce  '));
t.children.push(new Node('30','Kmetija  '));
t.children.push(new Node('31','Ostalo  '));

listing_types.push(t);
t = new Node('5','Poslovno');
t.children.push(new Node('32','Pisarna '));
t.children.push(new Node('33','\u017Divilska trgovina '));
t.children.push(new Node('34','Ne\u017Eivilska trgovina  '));
t.children.push(new Node('35','Prostor za storitve '));
t.children.push(new Node('36','Gostinski lokal  '));
t.children.push(new Node('37','Delavnica  '));
t.children.push(new Node('38','Skladi\u0161\u010De'));
t.children.push(new Node('39','Ordinacija  '));
t.children.push(new Node('40','Ostalo  '));

listing_types.push(t)

t = new Node('6','Gara\u017Ea');

t.children.push(new Node('48','Samostojna'));
t.children.push(new Node('49','Gara\u017Ena hi\u0161a'));
t.children.push(new Node('50','Parkirno mesto'));
//t.children.push(new Node('41','Vsi tipi '));


listing_types.push(t)

//t = new Node('7','Po\u010Ditni\u0161ki objekt');
t = new Node('7','Po\u010Ditnice');
t.children.push(new Node('42','Apartma '));
t.children.push(new Node('43','Vikend '));
t.children.push(new Node('44','Ko\u010Da, Po\u010Ditni\u0161ka prikolica'));
t.children.push(new Node('45','Hi\u0161a  '));
t.children.push(new Node('46','Pocitni\u0161ka prikolica'));
t.children.push(new Node('47','Ostalo  '));

listing_types.push(t)