var regions = new Array();
r = new Node('35','Auckland');
d = new Node('225','Auckland City');
d.children.push(new Node('14804','Auckland Central'));
d.children.push(new Node('14811','Avondale'));
d.children.push(new Node('14867','Blockhouse Bay'));
d.children.push(new Node('15034','Eden Terrace'));
d.children.push(new Node('15045','Ellerslie'));
d.children.push(new Node('15054','Epsom'));
d.children.push(new Node('15097','Freemans Bay'));
d.children.push(new Node('15109','Glen Innes'));
d.children.push(new Node('15135','Grafton'));
d.children.push(new Node('15144','Greenlane'));
d.children.push(new Node('15150','Grey Lynn'));
d.children.push(new Node('15222','Hillsborough - Auckland City'));
d.children.push(new Node('15376','Kingsland'));
d.children.push(new Node('15385','Kohimarama'));
d.children.push(new Node('15456','Lynfield'));
d.children.push(new Node('15581','Meadowbank'));
d.children.push(new Node('15605','Mission Bay'));
d.children.push(new Node('15635','Mt Albert'));
d.children.push(new Node('15640','Mt Eden'));
d.children.push(new Node('15645','Mt Roskill'));
d.children.push(new Node('15648','Mt Wellington'));
d.children.push(new Node('15679','New Windsor'));
d.children.push(new Node('15682','Newmarket'));
d.children.push(new Node('15683','Newton'));
d.children.push(new Node('15771','One Tree Hill'));
d.children.push(new Node('15773','Onehunga'));
d.children.push(new Node('15793','Orakei'));
d.children.push(new Node('15807','Otahuhu'));
d.children.push(new Node('15852','Panmure'));
d.children.push(new Node('15884','Parnell'));
d.children.push(new Node('15930','Ponsonby'));
d.children.push(new Node('15921','Pt Chevalier'));
d.children.push(new Node('16644','Pt England'));
d.children.push(new Node('16029','Remuera'));
d.children.push(new Node('16074','Royal Oak'));
d.children.push(new Node('16087','Sandringham'));
d.children.push(new Node('16146','St Heliers'));
d.children.push(new Node('16147','St Johns'));
d.children.push(new Node('16153','St Marys Bay'));
d.children.push(new Node('16302','Three Kings'));
d.children.push(new Node('16486','Waterview'));
d.children.push(new Node('16509','Westmere'));
r.children.push(d);
d = new Node('224','Franklin District');
d.children.push(new Node('14820','Awhitu'));
d.children.push(new Node('14872','Bombay'));
d.children.push(new Node('15114','Glenbrook'));
d.children.push(new Node('15115','Glenbrook Beach'));
d.children.push(new Node('15264','Hunua'));
d.children.push(new Node('15295','Kaiaua'));
d.children.push(new Node('15327','Karaka'));
d.children.push(new Node('15550','Matakawau'));
d.children.push(new Node('15604','Miranda'));
d.children.push(new Node('15804','Orua Bay'));
d.children.push(new Node('15890','Patumahoe'));
d.children.push(new Node('15925','Pokeno'));
d.children.push(new Node('15943','Port Waikato'));
d.children.push(new Node('15956','Pukekawa'));
d.children.push(new Node('15957','Pukekohe'));
d.children.push(new Node('16279','Te Toro'));
d.children.push(new Node('16462','Waiuku'));
d.children.push(new Node('16711','Whakatiwai'));
r.children.push(d);
d = new Node('294','Hauraki Gulf Islands');
d.children.push(new Node('15139','Great Barrier Island'));
r.children.push(d);
d = new Node('223','Manukau City');
d.children.push(new Node('14873','Botany Downs'));
d.children.push(new Node('14898','Bucklands Beach'));
d.children.push(new Node('14955','Clendon Park'));
d.children.push(new Node('14956','Clevedon'));
d.children.push(new Node('14962','Clover Park'));
d.children.push(new Node('14969','Cockle Bay'));
d.children.push(new Node('15000','Dannemora'));
d.children.push(new Node('15029','East Tamaki'));
d.children.push(new Node('15032','Eastern Beach'));
d.children.push(new Node('15067','Farm Cove'));
d.children.push(new Node('15069','Favona'));
d.children.push(new Node('15084','Flat Bush'));
d.children.push(new Node('15129','Goodwood Heights'));
d.children.push(new Node('15161','Half Moon Bay'));
d.children.push(new Node('15212','Highland Park'));
d.children.push(new Node('15220','Hill Park'));
d.children.push(new Node('15255','Howick'));
d.children.push(new Node('15352','Kawakawa Bay'));
d.children.push(new Node('15511','Mangere'));
d.children.push(new Node('15512','Mangere Bridge'));
d.children.push(new Node('16623','Mangere East'));
d.children.push(new Node('16624','Manukau City'));
d.children.push(new Node('15519','Manurewa'));
d.children.push(new Node('15528','Maraetai'));
d.children.push(new Node('15584','Mellons Bay'));
d.children.push(new Node('15799','Orere'));
d.children.push(new Node('15800','Orere Point'));
d.children.push(new Node('15815','Otara'));
d.children.push(new Node('15847','Pakuranga'));
d.children.push(new Node('16639','Pakuranga Heights'));
d.children.push(new Node('15863','Papatoetoe'));
d.children.push(new Node('16645','Randwick Park'));
d.children.push(new Node('16647','Somerville'));
d.children.push(new Node('16170','Sunnyhills'));
d.children.push(new Node('16294','The Gardens'));
d.children.push(new Node('16341','Totara Heights'));
d.children.push(new Node('16488','Wattle Downs'));
d.children.push(new Node('16516','Weymouth'));
d.children.push(new Node('16556','Whitford'));
d.children.push(new Node('16571','Wiri'));
r.children.push(d);
d = new Node('226','North Shore City');
d.children.push(new Node('14756','Albany'));
d.children.push(new Node('14833','Bayswater'));
d.children.push(new Node('16594','Bayview'));
d.children.push(new Node('14834','Beach Haven'));
d.children.push(new Node('14844','Belmont - North Shore City'));
d.children.push(new Node('14856','Birkdale'));
d.children.push(new Node('14857','Birkenhead'));
d.children.push(new Node('14893','Browns Bay'));
d.children.push(new Node('14915','Campbells Bay'));
d.children.push(new Node('14932','Castor Bay'));
d.children.push(new Node('14941','Chatswood'));
d.children.push(new Node('15009','Devonport'));
d.children.push(new Node('15088','Forrest Hill'));
d.children.push(new Node('15119','Glenfield'));
d.children.push(new Node('15143','Greenhithe'));
d.children.push(new Node('16616','Hillcrest'));
d.children.push(new Node('15447','Long Bay'));
d.children.push(new Node('15477','Mairangi Bay'));
d.children.push(new Node('16625','Marlborough'));
d.children.push(new Node('15598','Milford'));
d.children.push(new Node('15655','Murrays Bay'));
d.children.push(new Node('16633','Northcote'));
d.children.push(new Node('15715','Northcote Point'));
d.children.push(new Node('15754','Okura'));
d.children.push(new Node('15873','Paremoremo'));
d.children.push(new Node('15908','Pinehill'));
d.children.push(new Node('16064','Rothesay Bay'));
d.children.push(new Node('16171','Sunnynook'));
d.children.push(new Node('16198','Takapuna'));
d.children.push(new Node('16337','Torbay'));
d.children.push(new Node('16338','Torbay Heights'));
d.children.push(new Node('16662','Totaravale'));
d.children.push(new Node('16663','Unsworth Heights'));
d.children.push(new Node('16377','Waiake'));
r.children.push(d);
d = new Node('227','Papakura District');
d.children.push(new Node('14760','Alfriston'));
d.children.push(new Node('14785','Ardmore'));
d.children.push(new Node('15019','Drury'));
d.children.push(new Node('15855','Papakura'));
d.children.push(new Node('16017','Red Hill'));
d.children.push(new Node('16084','Runciman'));
d.children.push(new Node('16196','Takanini'));
r.children.push(d);
d = new Node('228','Rodney District');
d.children.push(new Node('14787','Arkles Bay'));
d.children.push(new Node('14788','Army Bay'));
d.children.push(new Node('14967','Coatesville'));
d.children.push(new Node('14998','Dairy Flat'));
d.children.push(new Node('15182','Hatfields Beach'));
d.children.push(new Node('15197','Helensville'));
d.children.push(new Node('16617','Hobbs Bay'));
d.children.push(new Node('15343','Kaukapakapa'));
d.children.push(new Node('15398','Kumeu'));
d.children.push(new Node('15424','Leigh'));
d.children.push(new Node('15484','Makarau'));
d.children.push(new Node('15514','Manly'));
d.children.push(new Node('15549','Matakatia'));
d.children.push(new Node('15653','Muriwai Beach'));
d.children.push(new Node('15755','Omaha'));
d.children.push(new Node('15802','Orewa'));
d.children.push(new Node('15866','Parakai'));
d.children.push(new Node('15953','Puhoi'));
d.children.push(new Node('16016','Red Beach'));
d.children.push(new Node('16020','Redvale'));
d.children.push(new Node('16043','Riverhead'));
d.children.push(new Node('16099','Scotts Landing'));
d.children.push(new Node('16115','Silverdale - Rodney'));
d.children.push(new Node('16120','Snells Beach'));
d.children.push(new Node('16125','South Head'));
d.children.push(new Node('16155','Stanmore Bay'));
d.children.push(new Node('16158','Stillwater'));
d.children.push(new Node('16311','Tindalls Beach'));
d.children.push(new Node('16415','Waimauku'));
d.children.push(new Node('16423','Wainui'));
d.children.push(new Node('16458','Waitoki'));
d.children.push(new Node('16463','Waiwera'));
d.children.push(new Node('16482','Warkworth'));
d.children.push(new Node('16496','Wellsford'));
d.children.push(new Node('16529','Whangaparaoa'));
d.children.push(new Node('16683','Woodhill'));
r.children.push(d);
d = new Node('297','Waiheke Island');
d.children.push(new Node('15780','Onetangi'));
d.children.push(new Node('15848','Palm Beach'));
d.children.push(new Node('16861','Waiheke Surrounds'));
r.children.push(d);
d = new Node('230','Waitakere City');
d.children.push(new Node('15108','Glen Eden'));
d.children.push(new Node('15116','Glendene'));
d.children.push(new Node('15140','Green Bay'));
d.children.push(new Node('15198','Henderson'));
d.children.push(new Node('16614','Henderson Valley'));
d.children.push(new Node('15257','Huia'));
d.children.push(new Node('15358','Kelston'));
d.children.push(new Node('15402','Laingholm'));
d.children.push(new Node('15542','Massey'));
d.children.push(new Node('16628','Massey West'));
d.children.push(new Node('15677','New Lynn'));
d.children.push(new Node('15797','Oratia'));
d.children.push(new Node('16505','Palm Heights'));
d.children.push(new Node('15870','Parau'));
d.children.push(new Node('16000','Ranui'));
d.children.push(new Node('16073','Royal Heights'));
d.children.push(new Node('16896','Sunnyvale - Waitakere'));
d.children.push(new Node('16178','Swanson'));
d.children.push(new Node('16244','Te Atatu Peninsula'));
d.children.push(new Node('16245','Te Atatu South'));
d.children.push(new Node('16323','Titirangi'));
d.children.push(new Node('16379','Waiatarua'));
d.children.push(new Node('16448','Waitakere'));
d.children.push(new Node('16500','West Harbour'));
d.children.push(new Node('16550','Whenuapai'));
r.children.push(d);
regions.push(r);
r = new Node('37','Bay of Plenty');
d = new Node('241','Opotiki District');
d.children.push(new Node('16253','Te Kaha'));
r.children.push(d);
d = new Node('242','Rotorua District');
d.children.push(new Node('15073','Fenton Park'));
d.children.push(new Node('15086','Fordlands'));
d.children.push(new Node('15121','Glenholme'));
d.children.push(new Node('15172','Hannahs Bay'));
d.children.push(new Node('15218','Hillcrest - Rotorua District'));
d.children.push(new Node('15289','Kaharoa'));
d.children.push(new Node('15350','Kawaha Point'));
d.children.push(new Node('15394','Koutu'));
d.children.push(new Node('15410','Lake Areas'));
d.children.push(new Node('15408','Lake Okareka'));
d.children.push(new Node('15411','Lake Rotoma'));
d.children.push(new Node('15412','Lake Tarawera'));
d.children.push(new Node('15457','Lynmore'));
d.children.push(new Node('15490','Mamaku'));
d.children.push(new Node('16734','Mangakakahi'));
d.children.push(new Node('15633','Mourea'));
d.children.push(new Node('15689','Ngakuru'));
d.children.push(new Node('15702','Ngongotaha'));
d.children.push(new Node('15830','Owhata'));
d.children.push(new Node('15954','Pukehangi'));
d.children.push(new Node('16069','Rotorua Central'));
d.children.push(new Node('16585','Rotorua Surrounds'));
d.children.push(new Node('16106','Selwyn Heights'));
d.children.push(new Node('16736','Springfield'));
d.children.push(new Node('16735','Sunnybrook'));
d.children.push(new Node('16265','Tikitere'));
d.children.push(new Node('16368','Utuhina'));
d.children.push(new Node('16737','Western Heights - Rotorua'));
r.children.push(d);
d = new Node('243','Tauranga District');
d.children.push(new Node('14807','Avenues'));
d.children.push(new Node('14842','Bellevue'));
d.children.push(new Node('14849','Bethlehem'));
d.children.push(new Node('14887','Brookfield'));
d.children.push(new Node('15101','Gate Pa'));
d.children.push(new Node('15147','Greerton'));
d.children.push(new Node('15286','Judea'));
d.children.push(new Node('15564','Matua'));
d.children.push(new Node('15642','Mt Maunganui'));
d.children.push(new Node('15823','Otumoetai'));
d.children.push(new Node('15856','Papamoa'));
d.children.push(new Node('16907','Parkvale'));
d.children.push(new Node('15977','Pyes Pa'));
d.children.push(new Node('16229','Tauranga Central'));
d.children.push(new Node('16729','Tauranga South'));
d.children.push(new Node('15768','Tauranga Surrounds'));
d.children.push(new Node('16230','Tauriko'));
d.children.push(new Node('16494','Welcome Bay'));
r.children.push(d);
d = new Node('244','Western Bay Of Plenty');
d.children.push(new Node('15736','Ohauiti'));
d.children.push(new Node('16387','Waihi Beach'));
r.children.push(d);
d = new Node('245','Whakatane District');
d.children.push(new Node('16521','Whakatane'));
r.children.push(d);
regions.push(r);
r = new Node('45','Canterbury');
d = new Node('281','Ashburton District');
d.children.push(new Node('14795','Ashburton'));
d.children.push(new Node('16791','Ashburton Surrounds'));
d.children.push(new Node('15986','Rakaia'));
d.children.push(new Node('16315','Tinwald'));
r.children.push(d);
d = new Node('280','Banks Peninsula District');
d.children.push(new Node('15459','Lyttelton'));
r.children.push(d);
d = new Node('282','Christchurch City');
d.children.push(new Node('14746','Addington'));
d.children.push(new Node('14812','Avondale - Christchurch'));
d.children.push(new Node('14837','Beckenham'));
d.children.push(new Node('14839','Belfast'));
d.children.push(new Node('14886','Bromley'));
d.children.push(new Node('14896','Bryndwr'));
d.children.push(new Node('14905','Burnside - Christchurch City'));
d.children.push(new Node('14925','Casebrook'));
d.children.push(new Node('14927','Cashmere Hills'));
d.children.push(new Node('14946','City'));
d.children.push(new Node('15072','Fendalton'));
d.children.push(new Node('15077','Ferrymead'));
d.children.push(new Node('15246','Hornby'));
d.children.push(new Node('15437','Linwood'));
d.children.push(new Node('15588','Merivale - Christchurch City'));
d.children.push(new Node('15595','Middleton'));
d.children.push(new Node('15674','New Brighton'));
d.children.push(new Node('15719','Northwood'));
d.children.push(new Node('15784','Opawa'));
d.children.push(new Node('15857','Papanui - Christchurch City'));
d.children.push(new Node('15880','Parklands'));
d.children.push(new Node('15902','Phillipstown'));
d.children.push(new Node('16033','Riccarton'));
d.children.push(new Node('16086','Russley'));
d.children.push(new Node('16121','Sockburn'));
d.children.push(new Node('15676','South New Brighton'));
d.children.push(new Node('16140','St Albans'));
d.children.push(new Node('16168','Sumner'));
d.children.push(new Node('16179','Sydenham'));
d.children.push(new Node('16364','Upper Riccarton'));
d.children.push(new Node('16420','Wainoni'));
d.children.push(new Node('16475','Waltham'));
d.children.push(new Node('16581','Woolston'));
r.children.push(d);
d = new Node('283','Hurunui District');
d.children.push(new Node('14764','Amberley'));
d.children.push(new Node('14765','Amberley Beach'));
d.children.push(new Node('14944','Cheviot'));
d.children.push(new Node('15171','Hanmer Springs'));
d.children.push(new Node('16719','Hawarden'));
d.children.push(new Node('15266','Hurunui'));
d.children.push(new Node('16718','Leithfield'));
d.children.push(new Node('15426','Leithfield Beach'));
d.children.push(new Node('16097','Scargill'));
d.children.push(new Node('16395','Waikari'));
d.children.push(new Node('16435','Waipara'));
r.children.push(d);
d = new Node('279','Selwyn District');
d.children.push(new Node('15002','Darfield'));
d.children.push(new Node('15432','Lincoln'));
d.children.push(new Node('15950','Prebbleton'));
d.children.push(new Node('16053','Rolleston'));
r.children.push(d);
d = new Node('278','Timaru District');
d.children.push(new Node('15065','Fairview'));
d.children.push(new Node('15103','Geraldine'));
d.children.push(new Node('15122','Gleniti'));
d.children.push(new Node('15127','Glenwood'));
d.children.push(new Node('15156','Hadlow'));
d.children.push(new Node('15211','Highfield'));
d.children.push(new Node('15428','Levels'));
d.children.push(new Node('15531','Marchwiel'));
d.children.push(new Node('15874','Pareora'));
d.children.push(new Node('15881','Parkside'));
d.children.push(new Node('15916','Pleasant Point'));
d.children.push(new Node('16287','Temuka'));
d.children.push(new Node('16720','Timaru'));
d.children.push(new Node('16309','Timaru Surrounds'));
d.children.push(new Node('16411','Waimataitai'));
d.children.push(new Node('16484','Washdyke'));
d.children.push(new Node('16487','Watlington'));
d.children.push(new Node('16499','West End'));
d.children.push(new Node('16563','Winchester'));
r.children.push(d);
d = new Node('276','Waimakariri District');
d.children.push(new Node('14797','Ashley'));
d.children.push(new Node('14953','Clarkville'));
d.children.push(new Node('14997','Cust'));
d.children.push(new Node('15293','Kaiapoi'));
d.children.push(new Node('15444','Loburn'));
d.children.push(new Node('15739','Ohoka'));
d.children.push(new Node('15832','Oxford'));
d.children.push(new Node('15992','Rangiora'));
d.children.push(new Node('16105','Sefton'));
d.children.push(new Node('16177','Swannanoa'));
d.children.push(new Node('16912','West Eyreton'));
d.children.push(new Node('16576','Woodend - Waimakariri District'));
r.children.push(d);
d = new Node('277','Waimate District');
d.children.push(new Node('14868','Blue Cliffs'));
d.children.push(new Node('15112','Glenavy'));
d.children.push(new Node('15159','Hakataramea Valley'));
d.children.push(new Node('15272','Ikawai'));
d.children.push(new Node('15488','Makikihi'));
d.children.push(new Node('15569','Maungati'));
d.children.push(new Node('16142','St Andrews - Waimate District'));
d.children.push(new Node('16382','Waihaorunga'));
d.children.push(new Node('16412','Waimate'));
d.children.push(new Node('16833','Waimate Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('55','Central North Island');
d = new Node('257','Ruapehu District');
d.children.push(new Node('15829','Owhango'));
d.children.push(new Node('15982','Raetihi'));
d.children.push(new Node('16814','Ruapehu-King Country Surrounds'));
d.children.push(new Node('16223','Taumarunui'));
r.children.push(d);
d = new Node('233','Taupo District');
d.children.push(new Node('15082','Five Mile Bay'));
d.children.push(new Node('16227','Taupo'));
d.children.push(new Node('16807','Taupo Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('50','Central Otago / Lakes');
d = new Node('287','Central Otago District');
d.children.push(new Node('14759','Alexandra'));
d.children.push(new Node('16842','Central Otago Surrounds'));
d.children.push(new Node('14964','Clyde'));
d.children.push(new Node('14991','Cromwell'));
d.children.push(new Node('15663','Naseby'));
d.children.push(new Node('15760','Omakau'));
d.children.push(new Node('15824','Oturehua'));
d.children.push(new Node('15990','Ranfurly'));
d.children.push(new Node('16071','Roxburgh'));
d.children.push(new Node('16072','Roxburgh East'));
r.children.push(d);
d = new Node('288','Queenstown-Lakes District');
d.children.push(new Node('16926','Albert Town'));
d.children.push(new Node('14791','Arrowtown'));
d.children.push(new Node('14793','Arthurs Point'));
d.children.push(new Node('14922','Cardrona'));
d.children.push(new Node('15076','Fernhill - Queenstown-Lakes District'));
d.children.push(new Node('15094','Frankton'));
d.children.push(new Node('15104','Gibbston'));
d.children.push(new Node('15124','Glenorchy'));
d.children.push(new Node('15187','Hawea'));
d.children.push(new Node('15360','Kelvin Heights'));
d.children.push(new Node('15405','Lake Hawea'));
d.children.push(new Node('15406','Lake Hayes'));
d.children.push(new Node('15453','Luggate'));
d.children.push(new Node('15979','Queenstown'));
d.children.push(new Node('16843','Queenstown Surrounds'));
d.children.push(new Node('16477','Wanaka'));
d.children.push(new Node('16844','Wanaka Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('48','Coromandel');
d = new Node('239','Hauraki District');
d.children.push(new Node('15504','Mangatarata'));
d.children.push(new Node('15697','Ngatea'));
d.children.push(new Node('15838','Paeroa'));
d.children.push(new Node('16354','Turua'));
d.children.push(new Node('16386','Waihi'));
r.children.push(d);
d = new Node('229','Thames-Coromandel District');
d.children.push(new Node('14980','Coroglen'));
d.children.push(new Node('14981','Coromandel'));
d.children.push(new Node('15157','Hahei'));
d.children.push(new Node('15214','Hikuai'));
d.children.push(new Node('15390','Kopu'));
d.children.push(new Node('15396','Kuaotunu'));
d.children.push(new Node('16909','Matarangi'));
d.children.push(new Node('15558','Matatoki'));
d.children.push(new Node('15775','Onemana'));
d.children.push(new Node('15787','Opito Bay - Coromandel'));
d.children.push(new Node('15892','Pauanui'));
d.children.push(new Node('16192','Tairua'));
d.children.push(new Node('16258','Te Kouma'));
d.children.push(new Node('16290','Thames'));
d.children.push(new Node('16291','Thames Coast'));
d.children.push(new Node('16447','Waitakaruru'));
d.children.push(new Node('16527','Whangamata'));
d.children.push(new Node('16530','Whangapoua'));
d.children.push(new Node('16552','Whiritoa'));
d.children.push(new Node('16557','Whitianga'));
r.children.push(d);
regions.push(r);
r = new Node('38','Gisborne');
d = new Node('246','Gisborne District');
d.children.push(new Node('15044','Elgin'));
d.children.push(new Node('15105','Gisborne Central'));
d.children.push(new Node('16254','Gisborne Country'));
d.children.push(new Node('15205','Hexton'));
d.children.push(new Node('15276','Inner Kaiti'));
d.children.push(new Node('15314','Kaiti'));
d.children.push(new Node('15483','Makaraka'));
d.children.push(new Node('15502','Mangapapa'));
d.children.push(new Node('15749','Okitu'));
d.children.push(new Node('15891','Patutahi'));
d.children.push(new Node('16042','Riverdale'));
d.children.push(new Node('16202','Tamarau'));
d.children.push(new Node('16249','Te Hapara'));
d.children.push(new Node('16330','Tokomaru Bay'));
d.children.push(new Node('16545','Whataupoko'));
r.children.push(d);
regions.push(r);
r = new Node('39','Hawkes Bay');
d = new Node('248','Central Hawkes Bay District');
d.children.push(new Node('15932','Central Hawkes Bay Coastal'));
d.children.push(new Node('16197','Central Hawkes Bay Country'));
d.children.push(new Node('15047','Elsthorpe'));
d.children.push(new Node('15813','Otane'));
d.children.push(new Node('16436','Waipawa'));
d.children.push(new Node('16439','Waipukurau'));
r.children.push(d);
d = new Node('247','Hastings District');
d.children.push(new Node('14755','Akina'));
d.children.push(new Node('14876','Bridge Pa'));
d.children.push(new Node('14910','Camberley'));
d.children.push(new Node('14960','Clive'));
d.children.push(new Node('14994','Crownthorpe'));
d.children.push(new Node('15056','Eskdale'));
d.children.push(new Node('15085','Flaxmere'));
d.children.push(new Node('15099','Frimley'));
d.children.push(new Node('15180','Hastings'));
d.children.push(new Node('15183','Hastings Coastal'));
d.children.push(new Node('15964','Hastings Country'));
d.children.push(new Node('15186','Havelock North'));
d.children.push(new Node('16588','Hawkes Bay Area'));
d.children.push(new Node('15450','Longlands'));
d.children.push(new Node('15472','Mahora'));
d.children.push(new Node('15506','Mangateretere'));
d.children.push(new Node('15526','Maraekakaho'));
d.children.push(new Node('15574','Mayfair'));
d.children.push(new Node('15843','Pakipaki'));
d.children.push(new Node('15846','Pakowhai'));
d.children.push(new Node('15882','Parkvale'));
d.children.push(new Node('15948','Poukawa'));
d.children.push(new Node('16011','Raureka'));
d.children.push(new Node('16151','St Leonards - Hastings District'));
d.children.push(new Node('16247','Te Awanga'));
d.children.push(new Node('16334','Tomoana'));
d.children.push(new Node('16359','Twyford'));
d.children.push(new Node('16409','Waimarama'));
d.children.push(new Node('16425','Waiohiki'));
d.children.push(new Node('16523','Whakatu'));
r.children.push(d);
d = new Node('249','Napier City');
d.children.push(new Node('14748','Ahuriri'));
d.children.push(new Node('14819','Awatoto'));
d.children.push(new Node('14832','Bay View'));
d.children.push(new Node('14871','Bluff Hill'));
d.children.push(new Node('15145','Greenmeadows'));
d.children.push(new Node('16811','Jervoistown'));
d.children.push(new Node('15527','Maraenui'));
d.children.push(new Node('15532','Marewa'));
d.children.push(new Node('15582','Meeanee'));
d.children.push(new Node('16740','Napier Central'));
d.children.push(new Node('15660','Napier City Surrounds'));
d.children.push(new Node('15250','Napier Hill'));
d.children.push(new Node('16739','Napier South'));
d.children.push(new Node('15774','Onekawa'));
d.children.push(new Node('15912','Pirimai'));
d.children.push(new Node('15931','Poraiti'));
d.children.push(new Node('16203','Tamatea'));
d.children.push(new Node('16216','Taradale'));
d.children.push(new Node('16515','Westshore'));
r.children.push(d);
regions.push(r);
r = new Node('56','Manawatu / Wanganui');
d = new Node('260','Horowhenua District');
d.children.push(new Node('15090','Foxton'));
d.children.push(new Node('15091','Foxton Beach'));
d.children.push(new Node('16816','Horowhenua Surrounds'));
d.children.push(new Node('15429','Levin'));
d.children.push(new Node('16108','Shannon'));
d.children.push(new Node('16451','Waitarere'));
r.children.push(d);
d = new Node('259','Manawatu District');
d.children.push(new Node('14773','Aorangi'));
d.children.push(new Node('14775','Apiti'));
d.children.push(new Node('14901','Bunnythorpe'));
d.children.push(new Node('15071','Feilding'));
d.children.push(new Node('15160','Halcombe'));
d.children.push(new Node('15225','Himatangi'));
d.children.push(new Node('15226','Himatangi Beach'));
d.children.push(new Node('15309','Kairanga'));
d.children.push(new Node('15374','Kimbolton'));
d.children.push(new Node('16206','Manawatu Surrounds'));
d.children.push(new Node('15786','Opiki'));
d.children.push(new Node('15919','Pohangina'));
d.children.push(new Node('16055','Rongotea'));
d.children.push(new Node('16093','Sanson'));
d.children.push(new Node('16461','Waituna West'));
r.children.push(d);
d = new Node('255','Palmerston North');
d.children.push(new Node('14771','Aokautere'));
d.children.push(new Node('14796','Ashhurst'));
d.children.push(new Node('16749','CBD'));
d.children.push(new Node('14963','Cloverlea'));
d.children.push(new Node('15237','Hokowhitu'));
d.children.push(new Node('15359','Kelvin Grove'));
d.children.push(new Node('15435','Linton'));
d.children.push(new Node('15601','Milson'));
d.children.push(new Node('15850','Palmerston North Surrounds'));
d.children.push(new Node('16289','Terrace End'));
r.children.push(d);
d = new Node('254','Rangitikei District');
d.children.push(new Node('14900','Bulls'));
d.children.push(new Node('15508','Mangaweka'));
d.children.push(new Node('15540','Marton'));
d.children.push(new Node('15875','Parewanui'));
d.children.push(new Node('15260','Rangitikei Surrounds'));
r.children.push(d);
d = new Node('258','Wanganui District');
d.children.push(new Node('14778','Aramoho'));
d.children.push(new Node('14831','Bastia Hill'));
d.children.push(new Node('16931','Brunswick'));
d.children.push(new Node('14930','Castlecliff'));
d.children.push(new Node('14971','College Estate'));
d.children.push(new Node('15026','Durie Hill'));
d.children.push(new Node('16930','Fordell'));
d.children.push(new Node('15128','Gonville'));
d.children.push(new Node('15292','Kai Iwi'));
d.children.push(new Node('15499','Mangamahu'));
d.children.push(new Node('16906','Marybank'));
d.children.push(new Node('15627','Mosston'));
d.children.push(new Node('15751','Okoia'));
d.children.push(new Node('15812','Otamatea'));
d.children.push(new Node('16929','Papaiti'));
d.children.push(new Node('15976','Putiki'));
d.children.push(new Node('16139','Springvale'));
d.children.push(new Node('16148','St Johns Hill'));
d.children.push(new Node('16233','Tawhero'));
d.children.push(new Node('16478','Wanganui Central'));
d.children.push(new Node('16479','Wanganui East'));
d.children.push(new Node('16815','Wanganui Surrounds'));
d.children.push(new Node('16748','Westmere - Wanganui'));
d.children.push(new Node('16526','Whangaehu'));
r.children.push(d);
regions.push(r);
r = new Node('51','Marlborough');
d = new Node('272','Kaikoura District');
d.children.push(new Node('15299','Kaikoura'));
r.children.push(d);
d = new Node('270','Marlborough District');
d.children.push(new Node('14866','Blenheim'));
d.children.push(new Node('15185','Havelock'));
d.children.push(new Node('15281','Islington - Marlborough'));
d.children.push(new Node('15361','Kenepuru Sound'));
d.children.push(new Node('16030','Marlborough Country'));
d.children.push(new Node('15534','Marlborough Sounds'));
d.children.push(new Node('15575','Mayfield'));
d.children.push(new Node('15750','Okiwi Bay'));
d.children.push(new Node('15897','Pelorus Sounds'));
d.children.push(new Node('15903','Picton'));
d.children.push(new Node('16004','Rarangi'));
d.children.push(new Node('16023','Redwoodtown'));
d.children.push(new Node('16044','Riverlands'));
d.children.push(new Node('16103','Seddon'));
d.children.push(new Node('16136','Springlands'));
d.children.push(new Node('16350','Tuamarina'));
d.children.push(new Node('16881','Wairau Valley'));
d.children.push(new Node('16480','Ward'));
d.children.push(new Node('16572','Witherlea'));
r.children.push(d);
regions.push(r);
r = new Node('43','Nelson & Bays');
d = new Node('271','Nelson City');
d.children.push(new Node('14799','Atawhai'));
d.children.push(new Node('14859','Bishopdale - Nelson City'));
d.children.push(new Node('15053','Enner Glynn'));
d.children.push(new Node('15231','Hira'));
d.children.push(new Node('15541','Marybank'));
d.children.push(new Node('15616','Monaco'));
d.children.push(new Node('15634','Moutere'));
d.children.push(new Node('15666','Nayland'));
d.children.push(new Node('15668','Nelson'));
d.children.push(new Node('15670','Nelson South'));
d.children.push(new Node('15939','Port Hills'));
d.children.push(new Node('16159','Stoke'));
d.children.push(new Node('16186','Tahunanui'));
d.children.push(new Node('16292','The Brook'));
d.children.push(new Node('16296','The Wood'));
d.children.push(new Node('16325','Toi Toi'));
d.children.push(new Node('16469','Wakatu'));
r.children.push(d);
d = new Node('269','Tasman District');
d.children.push(new Node('14879','Brightwater'));
d.children.push(new Node('16847','Hope'));
d.children.push(new Node('15313','Kaiteriteri'));
d.children.push(new Node('15628','Motueka'));
d.children.push(new Node('15650','Murchison'));
d.children.push(new Node('15525','Nelson Bays Coastal'));
d.children.push(new Node('16470','Nelson Country'));
d.children.push(new Node('16038','Richmond - Tasman'));
d.children.push(new Node('16144','St Arnaud'));
d.children.push(new Node('16211','Tapawera'));
d.children.push(new Node('16823','Tasman Lakes'));
d.children.push(new Node('16363','Upper Moutere'));
r.children.push(d);
regions.push(r);
r = new Node('34','Northland');
d = new Node('220','Far North District');
d.children.push(new Node('14908','Cable Bay'));
d.children.push(new Node('16547','Karikari Peninsula'));
d.children.push(new Node('15368','Kerikeri'));
d.children.push(new Node('16085','Russell'));
d.children.push(new Node('16799','Russell Surrounds'));
r.children.push(d);
d = new Node('221','Kaipara District');
d.children.push(new Node('15003','Dargaville'));
d.children.push(new Node('15317','Kaiwaka'));
d.children.push(new Node('15509','Mangawhai'));
r.children.push(d);
d = new Node('222','Whangarei District');
d.children.push(new Node('15324','Kamo'));
d.children.push(new Node('16935','Waipu'));
d.children.push(new Node('16586','Whangarei Area'));
d.children.push(new Node('16534','Whangarei Heads'));
d.children.push(new Node('15567','Whangarei Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('46','Otago');
d = new Node('285','Clutha District');
d.children.push(new Node('14823','Balclutha'));
d.children.push(new Node('15319','Kaka Point'));
d.children.push(new Node('15420','Lawrence'));
d.children.push(new Node('16872','Lawrence-Tuapeka Surrounds'));
d.children.push(new Node('15602','Milton'));
d.children.push(new Node('15828','Owaka'));
d.children.push(new Node('16834','South Otago Coastal'));
d.children.push(new Node('16835','South Otago Country'));
d.children.push(new Node('16209','Tapanui'));
d.children.push(new Node('16446','Waitahuna'));
d.children.push(new Node('16871','West Otago Surrounds'));
r.children.push(d);
d = new Node('286','Dunedin City');
d.children.push(new Node('14777','Aramoana'));
d.children.push(new Node('15020','Central City'));
d.children.push(new Node('14975','Concord'));
d.children.push(new Node('14984','Corstorphine'));
d.children.push(new Node('16859','East Otago Surrounds'));
d.children.push(new Node('15141','Green Island'));
d.children.push(new Node('15163','Halfway Bush'));
d.children.push(new Node('16849','Harwood'));
d.children.push(new Node('15268','Hyde'));
d.children.push(new Node('15593','Middlemarch'));
d.children.push(new Node('16770','Mornington'));
d.children.push(new Node('15625','Mosgiel'));
d.children.push(new Node('15657','Musselburgh'));
d.children.push(new Node('15710','North East Valley'));
d.children.push(new Node('16784','Opoho'));
d.children.push(new Node('15826','Outram'));
d.children.push(new Node('15937','Port Chalmers'));
d.children.push(new Node('15946','Portobello'));
d.children.push(new Node('16094','Sawyers Bay'));
d.children.push(new Node('16778','South Dunedin'));
d.children.push(new Node('16145','St Clair'));
d.children.push(new Node('16149','St Kilda'));
d.children.push(new Node('16150','St Leonards - Dunedin City'));
d.children.push(new Node('16172','Sunnyvale - Dunedin'));
d.children.push(new Node('16400','Waikouaiti'));
d.children.push(new Node('16453','Waitati'));
d.children.push(new Node('16468','Wakari'));
d.children.push(new Node('16471','Waldronville'));
d.children.push(new Node('16483','Warrington'));
r.children.push(d);
d = new Node('289','Waitaki District');
d.children.push(new Node('15007','Deborah'));
d.children.push(new Node('15025','Duntroon'));
d.children.push(new Node('15052','Enfield'));
d.children.push(new Node('15081','Five Forks'));
d.children.push(new Node('15168','Hampden'));
d.children.push(new Node('15201','Herbert'));
d.children.push(new Node('15399','Kurow'));
d.children.push(new Node('15468','Maheno'));
d.children.push(new Node('15711','North Otago'));
d.children.push(new Node('15322','North Otago Surrounds'));
d.children.push(new Node('15725','Oamaru'));
d.children.push(new Node('15763','Omarama'));
d.children.push(new Node('15849','Palmerston'));
d.children.push(new Node('16378','Waianakarua'));
d.children.push(new Node('16867','Waitaki Valley'));
d.children.push(new Node('16512','Weston'));
r.children.push(d);
regions.push(r);
r = new Node('54','Pacific Islands');
d = new Node('293','Pacific Islands');
d.children.push(new Node('16866','Outer Islands'));
r.children.push(d);
regions.push(r);
r = new Node('47','Southland');
d = new Node('291','Gore District');
d.children.push(new Node('15131','Gore'));
d.children.push(new Node('16845','Gore Surrounds'));
d.children.push(new Node('15559','Mataura'));
r.children.push(d);
d = new Node('292','Invercargill City');
d.children.push(new Node('14776','Appleby'));
d.children.push(new Node('14806','Avenal'));
d.children.push(new Node('14818','Awarua'));
d.children.push(new Node('14870','Bluff'));
d.children.push(new Node('15102','Georgetown'));
d.children.push(new Node('15120','Glengarry'));
d.children.push(new Node('15138','Grasmere'));
d.children.push(new Node('15189','Hawthorndale'));
d.children.push(new Node('15195','Heidelberg'));
d.children.push(new Node('15277','Invercargill'));
d.children.push(new Node('16846','Invercargill Surrounds'));
d.children.push(new Node('15379','Kingswell'));
d.children.push(new Node('15485','Makarewa'));
d.children.push(new Node('15658','Myross Bush'));
d.children.push(new Node('15680','Newfield'));
d.children.push(new Node('15801','Oreti Beach'));
d.children.push(new Node('15816','Otatara'));
d.children.push(new Node('16163','Strathern'));
d.children.push(new Node('16321','Tisbury'));
d.children.push(new Node('16399','Waikiwi'));
d.children.push(new Node('16566','Windsor - Invercargill City'));
r.children.push(d);
d = new Node('290','Southland District');
d.children.push(new Node('15454','Lumsden & Surrounds'));
d.children.push(new Node('15495','Manapouri'));
d.children.push(new Node('15626','Mossburn'));
d.children.push(new Node('15705','Nightcaps'));
d.children.push(new Node('15729','Ohai'));
d.children.push(new Node('15798','Orepuki'));
d.children.push(new Node('15818','Otautau'));
d.children.push(new Node('16049','Riverton & Surrounds'));
d.children.push(new Node('16156','Stewart Island'));
d.children.push(new Node('15414','Te Anau'));
d.children.push(new Node('16297','Thornbury'));
d.children.push(new Node('16351','Tuatapere'));
d.children.push(new Node('16472','Wallacetown'));
d.children.push(new Node('16570','Winton & Surrounds'));
d.children.push(new Node('16579','Woodlands'));
d.children.push(new Node('16582','Wyndham & Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('40','Taranaki');
d = new Node('253','New Plymouth District');
d.children.push(new Node('14840','Bell Block'));
d.children.push(new Node('16812','Blagdon'));
d.children.push(new Node('16744','Brooklands - New Plymouth'));
d.children.push(new Node('15040','Egmont Village'));
d.children.push(new Node('15074','Ferndale'));
d.children.push(new Node('15080','Fitzroy - New Plymouth'));
d.children.push(new Node('16745','Frankleigh Park'));
d.children.push(new Node('15107','Glen Avon'));
d.children.push(new Node('15213','Highlands Park'));
d.children.push(new Node('15223','Hillsborough - New Plymouth District'));
d.children.push(new Node('15265','Hurdon'));
d.children.push(new Node('15267','Hurworth'));
d.children.push(new Node('15275','Inglewood'));
d.children.push(new Node('15458','Lynmouth'));
d.children.push(new Node('15533','Marfell'));
d.children.push(new Node('15590','Merrilands'));
d.children.push(new Node('15613','Mokau'));
d.children.push(new Node('15631','Moturoa'));
d.children.push(new Node('15678','New Plymouth'));
d.children.push(new Node('15427','New Plymouth Area Surrounds'));
d.children.push(new Node('16366','New Plymouth Coastal'));
d.children.push(new Node('15724','Oakura'));
d.children.push(new Node('15745','Okato'));
d.children.push(new Node('15765','Omata'));
d.children.push(new Node('16131','Spotswood'));
d.children.push(new Node('16746','Strandon'));
d.children.push(new Node('16220','Tarurutangi'));
d.children.push(new Node('16308','Tikorangi'));
d.children.push(new Node('16367','Uruti'));
d.children.push(new Node('16371','Vogeltown - New Plymouth District'));
d.children.push(new Node('16450','Waitara'));
d.children.push(new Node('16493','Welbourn'));
d.children.push(new Node('16513','Westown'));
d.children.push(new Node('16524','Whalers Gate'));
r.children.push(d);
d = new Node('251','South Taranaki District');
d.children.push(new Node('15048','Eltham'));
d.children.push(new Node('15188','Hawera'));
d.children.push(new Node('15492','Manaia - Taranaki'));
d.children.push(new Node('15706','Normanby'));
d.children.push(new Node('15792','Opunake'));
d.children.push(new Node('15984','Rahotu'));
d.children.push(new Node('15326','South Taranaki Surrounds'));
d.children.push(new Node('16490','Waverley - South Taranaki District'));
r.children.push(d);
d = new Node('252','Stratford District');
d.children.push(new Node('16162','Stratford'));
d.children.push(new Node('16813','Stratford Surrounds'));
r.children.push(d);
regions.push(r);
r = new Node('36','Waikato');
d = new Node('237','Hamilton City');
d.children.push(new Node('14838','Beerescourt'));
d.children.push(new Node('14902','Burbush'));
d.children.push(new Node('14909','Callum Brae'));
d.children.push(new Node('14938','Chartwell - Hamilton'));
d.children.push(new Node('14942','Chedworth Park'));
d.children.push(new Node('14954','Claudelands'));
d.children.push(new Node('16863','Coleraine'));
d.children.push(new Node('15006','Deanwell'));
d.children.push(new Node('15012','Dinsdale'));
d.children.push(new Node('15051','Enderley'));
d.children.push(new Node('15060','Fairfield - Hamilton City'));
d.children.push(new Node('15066','Fairview Downs'));
d.children.push(new Node('15079','Fitzroy'));
d.children.push(new Node('15083','Flagstaff'));
d.children.push(new Node('15087','Forest Lake'));
d.children.push(new Node('15093','Frankton - Hamilton City'));
d.children.push(new Node('15126','Glenview'));
d.children.push(new Node('15165','Hamilton Central'));
d.children.push(new Node('15166','Hamilton East'));
d.children.push(new Node('16727','Hamilton North'));
d.children.push(new Node('16848','Hamilton Surrounds'));
d.children.push(new Node('15167','Hamilton West'));
d.children.push(new Node('15217','Hillcrest - Hamilton City'));
d.children.push(new Node('16726','Horsham Downs'));
d.children.push(new Node('15261','Huntington'));
d.children.push(new Node('15442','Livingstone'));
d.children.push(new Node('15464','Maeroa'));
d.children.push(new Node('15586','Melville'));
d.children.push(new Node('15665','Nawton'));
d.children.push(new Node('15965','Pukete'));
d.children.push(new Node('15981','Queenwood'));
d.children.push(new Node('16070','Rototuna'));
d.children.push(new Node('15894','Ruakura'));
d.children.push(new Node('16114','Silverdale - Hamilton'));
d.children.push(new Node('16877','Somerset Heights'));
d.children.push(new Node('16141','St Andrews - Hamilton City'));
d.children.push(new Node('16860','St James Park'));
d.children.push(new Node('15552','Tamahere'));
d.children.push(new Node('16275','Te Rapa'));
d.children.push(new Node('16285','Temple View'));
d.children.push(new Node('16854','Thornton Estate'));
d.children.push(new Node('16503','Western Heights - Hamilton'));
d.children.push(new Node('16559','Whitiora'));
r.children.push(d);
d = new Node('238','Matamata-Piako District');
d.children.push(new Node('15551','Matamata'));
d.children.push(new Node('15624','Morrinsville'));
d.children.push(new Node('16185','Tahuna'));
d.children.push(new Node('16243','Te Aroha'));
d.children.push(new Node('16476','Walton'));
r.children.push(d);
d = new Node('236','Otorohanga District');
d.children.push(new Node('14790','Arohena'));
d.children.push(new Node('15783','Oparau'));
d.children.push(new Node('15822','Otorohanga'));
d.children.push(new Node('15355','Otorohanga Surrounds'));
r.children.push(d);
d = new Node('235','South Waikato District');
d.children.push(new Node('16316','Tirau'));
d.children.push(new Node('16331','Tokoroa'));
r.children.push(d);
d = new Node('234','Waikato District');
d.children.push(new Node('15058','Eureka'));
d.children.push(new Node('15130','Gordonton'));
d.children.push(new Node('15249','Horotiu'));
d.children.push(new Node('15262','Huntly'));
d.children.push(new Node('15695','Ngaruawahia'));
d.children.push(new Node('15983','Raglan'));
d.children.push(new Node('15995','Rangiriri'));
d.children.push(new Node('16225','Taupiri'));
d.children.push(new Node('16255','Te Kauwhata'));
d.children.push(new Node('16259','Te Kowhai'));
d.children.push(new Node('16280','Te Uku'));
d.children.push(new Node('16805','Waikato Surrounds'));
d.children.push(new Node('16546','Whatawhata'));
d.children.push(new Node('16558','Whitikahu'));
r.children.push(d);
d = new Node('231','Waipa District');
d.children.push(new Node('14912','Cambridge'));
d.children.push(new Node('15371','Kihikihi'));
d.children.push(new Node('15687','Ngahinapouri'));
d.children.push(new Node('15737','Ohaupo'));
d.children.push(new Node('15915','Pirongia'));
d.children.push(new Node('16068','Rotoorangi'));
d.children.push(new Node('16082','Rukuhia'));
d.children.push(new Node('16246','Te Awamutu'));
d.children.push(new Node('16267','Te Pahu'));
r.children.push(d);
d = new Node('232','Waitomo District');
d.children.push(new Node('14815','Awakino'));
d.children.push(new Node('15536','Marokopa'));
d.children.push(new Node('16459','Waitomo Caves'));
r.children.push(d);
regions.push(r);
r = new Node('52','Wairarapa');
d = new Node('264','Carterton District');
d.children.push(new Node('14924','Carterton'));
d.children.push(new Node('16822','Carterton Surrounds'));
d.children.push(new Node('15106','Gladstone'));
r.children.push(d);
d = new Node('262','Masterton District');
d.children.push(new Node('15544','Masterton'));
d.children.push(new Node('14931','Masterton Surrounds'));
d.children.push(new Node('15546','Matahiwi'));
d.children.push(new Node('16047','Riversdale Beach'));
d.children.push(new Node('16314','Tinui'));
r.children.push(d);
d = new Node('267','South Wairarapa District');
d.children.push(new Node('14919','Cape Palliser'));
d.children.push(new Node('15070','Featherston'));
d.children.push(new Node('15152','Greytown'));
d.children.push(new Node('15539','Martinborough'));
r.children.push(d);
d = new Node('256','Tararua District');
d.children.push(new Node('15001','Dannevirke'));
d.children.push(new Node('15042','Eketahuna'));
d.children.push(new Node('15708','Norsewood'));
d.children.push(new Node('15839','Pahiatua'));
d.children.push(new Node('15929','Pongaroa'));
d.children.push(new Node('16817','Tararua Surrounds'));
d.children.push(new Node('16580','Woodville'));
r.children.push(d);
regions.push(r);
r = new Node('42','Wellington');
d = new Node('295','Hutt Valley');
d.children.push(new Node('14753','Akatarawa'));
d.children.push(new Node('14762','Alicetown'));
d.children.push(new Node('14805','Avalon'));
d.children.push(new Node('14843','Belmont - Lower Hutt City'));
d.children.push(new Node('14853','Birchville'));
d.children.push(new Node('14869','Blue Mountains'));
d.children.push(new Node('14874','Boulcott'));
d.children.push(new Node('14892','Brown Owl'));
d.children.push(new Node('15451','Central Hutt'));
d.children.push(new Node('14961','Clouston Park'));
d.children.push(new Node('15033','Ebdentown'));
d.children.push(new Node('15043','Elderslea'));
d.children.push(new Node('15055','Epuni'));
d.children.push(new Node('15203','Heretaunga'));
d.children.push(new Node('15315','Kaitoke'));
d.children.push(new Node('15377','Kingsley Heights'));
d.children.push(new Node('15392','Korokoro'));
d.children.push(new Node('15452','Lowry Bay'));
d.children.push(new Node('15566','Maungaraki'));
d.children.push(new Node('16754','Maymorn'));
d.children.push(new Node('15619','Moonshine'));
d.children.push(new Node('15659','Naenae'));
d.children.push(new Node('15707','Normandale'));
d.children.push(new Node('15901','Petone'));
d.children.push(new Node('15907','Pinehaven'));
d.children.push(new Node('16116','Silverstream'));
d.children.push(new Node('16160','Stokes Valley'));
d.children.push(new Node('16193','Taita'));
d.children.push(new Node('16261','Te Marua'));
d.children.push(new Node('16310','Timberlea'));
d.children.push(new Node('16320','Tirohanga'));
d.children.push(new Node('16344','Trentham'));
d.children.push(new Node('16361','Upper Hutt'));
d.children.push(new Node('16819','Upper Hutt Surrounds'));
d.children.push(new Node('16465','Waiwhetu'));
d.children.push(new Node('16473','Wallaceville'));
d.children.push(new Node('16555','Whitemans Valley'));
d.children.push(new Node('16573','Woburn'));
r.children.push(d);
d = new Node('261','Kapiti Coast District');
d.children.push(new Node('16252','Kapiti Coast Surrounds'));
d.children.push(new Node('15809','Otaihanga'));
d.children.push(new Node('15811','Otaki'));
d.children.push(new Node('15868','Paraparaumu'));
d.children.push(new Node('15869','Paraparaumu Beach'));
d.children.push(new Node('15896','Peka Peka'));
d.children.push(new Node('16009','Raumati Beach'));
d.children.push(new Node('16008','Raumati South'));
d.children.push(new Node('16932','Te Horo'));
d.children.push(new Node('16392','Waikanae'));
d.children.push(new Node('16393','Waikanae Beach'));
r.children.push(d);
d = new Node('268','Porirua City');
d.children.push(new Node('14794','Ascot Park'));
d.children.push(new Node('14911','Camborne'));
d.children.push(new Node('14917','Cannons Creek'));
d.children.push(new Node('15872','Paremata'));
d.children.push(new Node('15893','Pauatahanui'));
d.children.push(new Node('15917','Plimmerton'));
d.children.push(new Node('15933','Porirua'));
d.children.push(new Node('15934','Porirua East'));
d.children.push(new Node('15963','Pukerua Bay'));
d.children.push(new Node('16322','Titahi Bay'));
d.children.push(new Node('16449','Waitangirua'));
d.children.push(new Node('16553','Whitby'));
r.children.push(d);
d = new Node('265','Wellington City');
d.children.push(new Node('14789','Aro Valley'));
d.children.push(new Node('14847','Berhampore'));
d.children.push(new Node('14884','Broadmeadows'));
d.children.push(new Node('14890','Brooklyn'));
d.children.push(new Node('14948','Churton Park'));
d.children.push(new Node('16495','City/Te Aro'));
d.children.push(new Node('14990','Crofton Downs'));
d.children.push(new Node('15149','Grenada Village'));
d.children.push(new Node('15181','Hataitai'));
d.children.push(new Node('15209','Highbury - Wellington City'));
d.children.push(new Node('15279','Island Bay'));
d.children.push(new Node('15285','Johnsonville'));
d.children.push(new Node('15318','Kaiwharawhara'));
d.children.push(new Node('15328','Karaka Bay'));
d.children.push(new Node('15339','Karori'));
d.children.push(new Node('15356','Kelburn'));
d.children.push(new Node('15370','Khandallah'));
d.children.push(new Node('15372','Kilbirnie'));
d.children.push(new Node('15378','Kingston'));
d.children.push(new Node('15455','Lyall Bay'));
d.children.push(new Node('15572','Maupuia'));
d.children.push(new Node('15585','Melrose'));
d.children.push(new Node('15603','Miramar'));
d.children.push(new Node('15623','Mornington'));
d.children.push(new Node('15639','Mt Cook - Wellington City'));
d.children.push(new Node('15647','Mt Victoria'));
d.children.push(new Node('15681','Newlands'));
d.children.push(new Node('15684','Newtown'));
d.children.push(new Node('15688','Ngaio'));
d.children.push(new Node('15717','Northland'));
d.children.push(new Node('15803','Oriental Bay'));
d.children.push(new Node('15859','Paparangi'));
d.children.push(new Node('16054','Rongotai'));
d.children.push(new Node('16899','Roseneath'));
d.children.push(new Node('16100','Seatoun'));
d.children.push(new Node('16165','Strathmore Park'));
d.children.push(new Node('16232','Tawa'));
d.children.push(new Node('16242','Te Aro'));
d.children.push(new Node('16298','Thorndon'));
d.children.push(new Node('16372','Vogeltown - Wellington City'));
d.children.push(new Node('16374','Wadestown'));
d.children.push(new Node('16561','Wilton'));
r.children.push(d);
regions.push(r);
r = new Node('44','West Coast');
d = new Node('274','Buller District');
d.children.push(new Node('15137','Buller Surrounds'));
d.children.push(new Node('14918','Cape Foulwind'));
d.children.push(new Node('14923','Carters Beach'));
d.children.push(new Node('14936','Charleston'));
d.children.push(new Node('15193','Hector'));
d.children.push(new Node('15329','Karamea'));
d.children.push(new Node('15969','Punakaiki'));
d.children.push(new Node('16024','Reefton'));
d.children.push(new Node('16104','Seddonville'));
d.children.push(new Node('16407','Waimangaroa'));
d.children.push(new Node('16514','Westport'));
d.children.push(new Node('16830','Westport Surrounds'));
r.children.push(d);
d = new Node('273','Grey District');
d.children.push(new Node('16831','Greymouth Surrounds'));
r.children.push(d);
d = new Node('275','Westland District');
d.children.push(new Node('15089','Fox Glacier'));
d.children.push(new Node('15155','Haast'));
d.children.push(new Node('15176','Harihari'));
d.children.push(new Node('15236','Hokitika'));
d.children.push(new Node('16062','Ross'));
r.children.push(d);
regions.push(r);
var listing_types = new Array();
t = new Node('2','Commercial & Industrial');
t.children.push(new Node('28','Commercial Land'));
t.children.push(new Node('22','Hotel Motel Leisure to Buy'));
t.children.push(new Node('26','Hotel Motel Leisure to Lease'));
t.children.push(new Node('29','Industrial Land'));
t.children.push(new Node('19','Industrial to Buy'));
t.children.push(new Node('23','Industrial to Lease'));
t.children.push(new Node('27','Investment Flat'));
t.children.push(new Node('21','Office to Buy'));
t.children.push(new Node('25','Office to Lease'));
t.children.push(new Node('20','Retail to Buy'));
t.children.push(new Node('24','Retail to Lease'));
listing_types.push(t);
t = new Node('1','Residential');
t.children.push(new Node('2','Apartment'));
t.children.push(new Node('4','Home & Income'));
t.children.push(new Node('3','House'));
t.children.push(new Node('5','Lifestyle'));
t.children.push(new Node('8','Section'));
t.children.push(new Node('7','Townhouse'));
t.children.push(new Node('6','Unit'));
listing_types.push(t);
t = new Node('3','Rural');
t.children.push(new Node('48','Arable'));
t.children.push(new Node('56','Bare Land'));
t.children.push(new Node('49','Dairy'));
t.children.push(new Node('50','Fattening'));
t.children.push(new Node('51','Forestry'));
t.children.push(new Node('52','Grazing'));
t.children.push(new Node('53','Horticultural'));
t.children.push(new Node('47','Other'));
t.children.push(new Node('55','Specialist Livestock'));
t.children.push(new Node('54','Sth Island High Country'));
listing_types.push(t)