var hide_empty_list=true;

addListGroup("areas", "pro-vince");

addList("pro-vince", "Select a province", "", "dummy-province");
addList("pro-vince", "Gauteng", "Gauteng", "Gauteng", 1);
addList("pro-vince", "Mphumalanga", "Mphumalanga", "Mphumalanga");
addList("pro-vince", "Limpopo", "Limpopo", "Limpopo");
addList("pro-vince", "North West", "North West", "North West");
addList("pro-vince", "Freestate", "Freestate", "Freestate");
addList("pro-vince", "Kwa-Zulu Natal", "Kwa-Zulu Natal", "Kwa-Zulu Natal");
addList("pro-vince", "Eastern Cape", "Eastern Cape", "Eastern Cape");
addList("pro-vince", "Northern Cape", "Northern Cape", "Northern Cape");
addList("pro-vince", "Western Cape", "Western Cape", "Western Cape");
addList("pro-vince", "Namibia", "Namibia", "Namibia");
addList("pro-vince", "Botswana", "Botswana", "Botswana");
addList("pro-vince", "Head Office", "Head Office", "Head Office");

addList("dummy-province", "Not available", "", "dummy-city");

addOption("dummy-city", "Not available", "");

addList("Gauteng", "Select a city", "", "dummy-gauteng");
addList("Gauteng", "Johannesburg", "Johannesburg", "Johannesburg", 1);
addList("Gauteng", "Pretoria", "Pretoria", "Pretoria");
addList("Gauteng", "Other Area", "Other Area", "Other Area");

addOption("dummy-gauteng", "Not available", "");

addList("Western Cape", "Select a city", "", "dummy-western cape");
addList("Western Cape", "Cape Town", "Cape Town", "Cape Town");
addList("Western Cape", "Other Area", "Other Area", "Other Area");

addOption("dummy-western cape", "Not available", "");

addOption("Mphumalanga", "Select A Franchise Area", "");
addOption("Mphumalanga", "Witbank Central", "Witbank Central");
addOption("Mphumalanga", "Nelspruit", "Nelspruit");
addOption("Mphumalanga", "Middelburg", "Middelburg");
addOption("Mphumalanga", "Secunda / Bethal / Evander / Kinross / Leandra", "Secunda / Bethal / Evander / Kinross / Leandra");
addOption("Mphumalanga", "Ermelo / Breyten / Amsterdam", "Ermelo / Breyten / Amsterdam");
addOption("Mphumalanga", "Other Area", "Other Area");

addOption("Limpopo", "Select A Franchise Area", "");
addOption("Limpopo", "Pietersburg", "Pietersburg");
addOption("Limpopo", "Other Area", "Other Area");

addOption("North West", "Select A Franchise Area", "");
addOption("North West", "Klerksdorp / Orkney / Stilfontein", "Klerksdorp / Orkney / Stilfontein");
addOption("North West", "Hartbeespoort / Brits", "Hartbeespoort / Brits");
addOption("North West", "Potchefstroom", "Potchefstroom");
addOption("North West", "Other Area", "Other Area");

addOption("Freestate", "Select A Franchise Area", "");
addOption("Freestate", "Bloemfontein North", "Bloemfontein North");
addOption("Freestate", "Other Area", "Other Area");

addOption("Kwa-Zulu Natal", "Select A Franchise Area", "");
addOption("Kwa-Zulu Natal", "Durban / Durban North / Westville / Bluff", "Durban / Durban North / Westville / Bluff");
addOption("Kwa-Zulu Natal", "Amanzimtoti / Umkomaas / Scottburgh", "Amanzimtoti / Umkomaas / Scottburgh");
addOption("Kwa-Zulu Natal", "Kloof / Hillcrest", "Kloof / Hillcrest");
addOption("Kwa-Zulu Natal", "Queensburgh / Chatsworth / Shallcross", "Queensburgh / Chatsworth / Shallcross");
addOption("Kwa-Zulu Natal", "Pietermaritzburg", "Pietermaritzburg");
addOption("Kwa-Zulu Natal", "Other Area", "Other Area");

addOption("Eastern Cape", "Select A Franchise Area", "");
addOption("Eastern Cape", "Mosselbay / Wilderness", "Mosselbay / Wilderness");
addOption("Eastern Cape", "Other Area", "Other Area");

addOption("Western Cape", "Select A Franchise Area", "");
addOption("Western Cape", "Stellenbosch", "Stellenbosch");

addOption("Northern Cape", "Select A Franchise Area", "");
addOption("Northern Cape", "The Whole Region", "The Whole Region");

addOption("Botswana", "Select A Franchise Area", "");
addOption("Botswana", "Gaborone", "Gaborone");
addOption("Botswana", "Other Area", "Other Area");

addOption("Namibia", "Select A Franchise Area", "");
addOption("Namibia", "Windhoek", "Windhoek");
addOption("Namibia", "Other Area", "Other Area");

addOption("Head Office", "Select A Franchise Area", "");
addOption("Head Office", "Head Office", "Head Office");
addOption("Head Office", "Other Area", "Other Area");

addOption("Johannesburg", "Select A Franchise Area", "");
addOption("Johannesburg", "North Cliff / Linden / Cresta", "North Cliff / Linden / Cresta");
addOption("Johannesburg", "Boksburg Southern Suburbs", "Boksburg Southern Suburbs");
addOption("Johannesburg", "Boksburg Northern Suburbs", "Boksburg Northern Suburbs");
addOption("Johannesburg", "Midrand", "Midrand");
addOption("Johannesburg", "Randburg / Fairland / Weltevreden Park", "Randburg / Fairland / Weltevreden Park");
addOption("Johannesburg", "Bryanston / Sunninghill", "Bryanston / Sunninghill");
addOption("Johannesburg", "Woodmead / Buccleuch / Rivonia", "Woodmead / Buccleuch / Rivonia");
addOption("Johannesburg", "Fourways", "Fourways");
addOption("Johannesburg", "Glenvista / Basonia / Oakdene", "Glenvista / Basonia / Oakdene");
addOption("Johannesburg", "Vereeniging / Van Der Bijl Park / Meyerton", "Vereeniging / Van Der Bijl Park / Meyerton");
addOption("Johannesburg", "Alberton", "Alberton");
addOption("Johannesburg", "Sandton", "Sandton");
addOption("Johannesburg", "Roodepoort / Krugersdorp ", "Roodepoort / Krugersdorp ");
addOption("Johannesburg", "Soweto", "Soweto");
addOption("Johannesburg", "Kempton Park", "Kempton Park");
addOption("Johannesburg", "Bedfordview / Kensington / Senderwood", "Bedfordview / Kensington / Senderwood");
addOption("Johannesburg", "Bramley / Lyndhurst / Lombardy", "Bramley / Lyndhurst / Lombardy");
addOption("Johannesburg", "Edenvale", "Edenvale");
addOption("Johannesburg", "Soweto", "Soweto");
addOption("Johannesburg", "Brakpan / Springs", "Brakpan / Springs");
addOption("Johannesburg", "Constantia Kloof / Florida / Mellville", "Constantia Kloof / Florida / Mellville");
addOption("Johannesburg", "Tembisa / Olifantsfontein / Klipfontein", "Tembisa / Olifantsfontein / Klipfontein");
addOption("Johannesburg", "Vosloorus / Thokoza / Kathlehong / Heidelberg", "Vosloorus / Thokoza / Kathlehong / Heidelberg");
addOption("Johannesburg", "Germiston", "Germiston");
addOption("Johannesburg", "Benoni", "Benoni");
addOption("Johannesburg", "Rosebank / Melrose / Houghton ", "Rosebank / Melrose / Houghton ");
addOption("Johannesburg", "Other Area", "Other Area");

addList("Pretoria", "Select A Franchise Area", "", "dummy-pretoria");
addList("Pretoria", "Pretoria North", "Pretoria North", "Pretoria North");
addList("Pretoria", "Kameeldrift East / Montana / Montana Park / Magalieskruin", "Kameeldrift East / Montana / Montana Park / Magalieskruin", "Kameeldrift East / Montana / Montana Park / Magalieskruin");
addList("Pretoria", "Wierda Park / Eldoraigne / Raslouw", "Wierda Park / Eldoraigne / Raslouw", "Wierda Park / Eldoraigne / Raslouw");
addList("Pretoria", "Brooklyn / Waterkloof / Hatfield", "Brooklyn / Waterkloof / Hatfield", "Brooklyn / Waterkloof / Hatfield");
addList("Pretoria", "Silver Lakes", "Silver Lakes", "Silver Lakes");
addList("Pretoria", "Lynnwood", "Lynnwood", "Lynnwood");
addList("Pretoria", "Moot / Arcadia / Sunnyside", "Moot / Arcadia / Sunnyside", "Moot / Arcadia / Sunnyside");
addList("Pretoria", "La Montagne / Murrayfield", "La Montagne / Murrayfield", "La Montagne / Murrayfield");
addList("Pretoria", "Eersterus / Murrayfield / Meyerspark / Mamelodi", "Eersterus / Murrayfield / Meyerspark / Mamelodi", "Eersterus / Murrayfield / Meyerspark / Mamelodi");
addList("Pretoria", "Fearie Glen / Garsfontein / Olympus", "Fearie Glen / Garsfontein / Olympus", "Fearie Glen / Garsfontein / Olympus");
addList("Pretoria", "Moreleta / Mooikloof / Woodhill", "Moreleta / Mooikloof / Woodhill", "Moreleta / Mooikloof / Woodhill");
addList("Pretoria", "Pierre van Reyeneveldt / Irene / Elardus Park", "Pierre van Reyeneveldt / Irene / Elardus Park", "Pierre van Reyeneveldt / Irene / Elardus Park");
addList("Pretoria", "The Reeds / Midstream Estate / Blue Valley", "The Reeds / Midstream Estate / Blue Valley", "The Reeds / Midstream Estate / Blue Valley");
addList("Pretoria", "Rayton / Cullinan", "Rayton / Cullinan", "Rayton / Cullinan");
addList("Pretoria", "Centurion Gholf Estate / Highveld / Doringkloof", "Centurion Gholf Estate / Highveld / Doringkloof", "Centurion Gholf Estate / Highveld / Doringkloof");
addList("Pretoria", "Bronkhorstspruit", "Bronkhorstspruit");
addList("Pretoria", "Other Area", "Other Area", "Other Area");

addOption("dummy-pretoria", "Not available", "");

addList("Cape Town", "Select A Franchise Area", "", "dummy-cape town");
addList("Cape Town", "Durbanville / Kraaifontein / Kuilsrivier", "Durbanville / Kraaifontein / Kuilsrivier", "Durbanville / Kraaifontein / Kuilsrivier");
addList("Cape Town", "Bellville / Brackenfell / Boston", "Bellville / Brackenfell / Boston", "Bellville / Brackenfell / Boston");
addList("Cape Town", "Edgemead / Panorama / Tableview", "Edgemead / Panorama / Tableview", "Edgemead / Panorama / Tableview");
addList("Cape Town", "Rondebosch / Claremont / Athlone", "Rondebosch / Claremont / Athlone", "Rondebosch / Claremont / Athlone");
addList("Cape Town", "Gordonsbay / Somerset-West / Strand", "Gordonsbay / Somerset-West / Strand", "Gordonsbay / Somerset-West / Strand");
addList("Cape Town", "Constantia / Tokai / Noordhoek", "Constantia / Tokai / Noordhoek", "Constantia / Tokai / Noordhoek");
addList("Cape Town", "Paarl / Wellington", "Paarl / Wellington", "Paarl / Wellington");
addList("Cape Town", "Other Area", "Other Area", "Other Area");
