



//Start

var d = new dynamicSelect();
d.addSelect('weekday');
d.selects['weekday'].addOption('Abbotsford');
d.selects['weekday'].options['Abbotsford'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Abbotsford'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Abbotsford'].createOption('Green Island / Abbotsford / Brighton to City - Weekends', 'page53a.html');
d.selects['weekday'].options['Abbotsford'].createOption('City to Green Island / Abbotsford / Brighton - Weekends', 'page53b.html');
d.selects['weekday'].addOption('Andersons Bay');
d.selects['weekday'].options['Andersons Bay'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Andersons Bay'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Balaclava');
d.selects['weekday'].options['Balaclava'].createOption('Balaclava to Octagon / University', 'page43a.html');
d.selects['weekday'].options['Balaclava'].createOption('University / Octagon to Balaclava', 'page43b.html');
d.selects['weekday'].addOption('Balmacewen');
d.selects['weekday'].options['Balmacewen'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Balmacewen'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].addOption('Bay Cemetery');
d.selects['weekday'].options['Bay Cemetery'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Bay Cemetery'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Belleknowes');
d.selects['weekday'].options['Belleknowes'].createOption('Kenmure / Mornington to Octagon', 'page46.html');
d.selects['weekday'].options['Belleknowes'].createOption('Octagon to Mornington / Kenmure', 'page46.html');
d.selects['weekday'].options['Belleknowes'].createOption('University / Octagon / City Rise / Belleknowes to Bradford', '63b.html');
d.selects['weekday'].options['Belleknowes'].createOption('Bradford / Belleknowes / City Rise / Octagon to University', '63a.html');
d.selects['weekday'].addOption('Bradford');
d.selects['weekday'].options['Bradford'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Bradford'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Bradford'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Bradford'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Bradford'].createOption('Brockville / Halfway Bush to Octagon - Evenings Weekends and Public Holidays Only', 'page30.html');
d.selects['weekday'].options['Bradford'].createOption('University / Octagon / City Rise / Belleknowes to Bradford', '63b.html');
d.selects['weekday'].options['Bradford'].createOption('Bradford / Belleknowes / City Rise / Octagon to University', '63a.html');
d.selects['weekday'].addOption('Brighton');
d.selects['weekday'].options['Brighton'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Brighton'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Brighton'].createOption('Green Island / Abbotsford / Brighton to City - Weekends', 'page53a.html');
d.selects['weekday'].options['Brighton'].createOption('City to Green Island / Abbotsford / Brighton - Weekends', 'page53b.html');
d.selects['weekday'].addOption('Broad Bay');
d.selects['weekday'].options['Broad Bay'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Broad Bay'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Brockville');
d.selects['weekday'].options['Brockville'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Brockville'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Brockville'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Brockville'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Brockville'].createOption('Brockville / Halfway Bush to Octagon - Evenings Weekends and Public Holidays Only', 'page30.html');
d.selects['weekday'].addOption('Burkes');
d.selects['weekday'].options['Burkes'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Burkes'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Burnside');
d.selects['weekday'].options['Burnside'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Burnside'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Burnside'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].addOption('Calton Hill');
d.selects['weekday'].options['Calton Hill'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Calton Hill'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Calton Hill'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].addOption('Carisbrook');
d.selects['weekday'].options['Carisbrook'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Carisbrook'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].addOption('Caversham');
d.selects['weekday'].options['Caversham'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Caversham'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Caversham'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Caversham'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].options['Caversham'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].addOption('Clyde Hill');
d.selects['weekday'].options['Clyde Hill'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Clyde Hill'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].addOption('Concord');
d.selects['weekday'].options['Concord'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Concord'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Concord'].createOption('Concord / Kaikorai Valley to University', 'page62a.html');
d.selects['weekday'].options['Concord'].createOption('University / Octagon to Concord', 'page62b.html');
d.selects['weekday'].addOption('Corstorphine');
d.selects['weekday'].options['Corstorphine'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Corstorphine'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Corstorphine'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Corstorphine'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].options['Corstorphine'].createOption('Octagon to Corstorphine to Lookout Point to Octagon - Evenings, Weekends and Public Holidays Only', 'page15b.html');
d.selects['weekday'].addOption('Dalmore');
d.selects['weekday'].options['Dalmore'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Dalmore'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].addOption('Fairfield');
d.selects['weekday'].options['Fairfield'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Fairfield'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].addOption('Garden Village');
d.selects['weekday'].options['Garden Village'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Garden Village'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Gardens');
d.selects['weekday'].options['Gardens'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['Gardens'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['Gardens'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['Gardens'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].options['Gardens'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Gardens'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['Gardens'].createOption('Octagon to Wakari / Helensburgh / Maori Hill / Gardens / University to Octagon - Evenings and Weekends', '69.html');
d.selects['weekday'].addOption('Glenleith');
d.selects['weekday'].options['Glenleith'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Glenleith'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Green Island');
d.selects['weekday'].options['Green Island'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Green Island'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].options['Green Island'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Green Island'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Green Island'].createOption('Green Island / Abbotsford / Brighton to City - Weekends', 'page53a.html');
d.selects['weekday'].options['Green Island'].createOption('City to Green Island / Abbotsford / Brighton - Weekends', 'page53b.html');
d.selects['weekday'].addOption('Halfway Bush');
d.selects['weekday'].options['Halfway Bush'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Halfway Bush'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Halfway Bush'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Halfway Bush'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Halfway Bush'].createOption('Brockville / Halfway Bush to Octagon - Evenings Weekends and Public Holidays Only', 'page30.html');
d.selects['weekday'].addOption('Harington Point');
d.selects['weekday'].options['Harington Point'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Harington Point'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Harwood');
d.selects['weekday'].options['Harwood'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Harwood'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Helensburgh');
d.selects['weekday'].options['Helensburgh'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Helensburgh'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].options['Helensburgh'].createOption('Octagon to Wakari / Helensburgh / Maori Hill / Gardens / University to Octagon - Evenings and Weekends', '69.html');
d.selects['weekday'].addOption('Highcliff');
d.selects['weekday'].options['Highcliff'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Highcliff'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].addOption('Kaikorai');
d.selects['weekday'].options['Kaikorai'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Kaikorai'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Kaikorai'].createOption('Concord / Kaikorai Valley to University', 'page62a.html');
d.selects['weekday'].options['Kaikorai'].createOption('University / Octagon to Concord', 'page62b.html');
d.selects['weekday'].addOption('Karitane');
d.selects['weekday'].options['Karitane'].createOption('Palmerston / Waikouaiti / Karitane / Waitati / Dunedin', 'page64.html');
d.selects['weekday'].addOption('Kenmure');
d.selects['weekday'].options['Kenmure'].createOption('Kenmure / Mornington to Octagon', 'page46.html');
d.selects['weekday'].options['Kenmure'].createOption('Octagon to Mornington / Kenmure', 'page46.html');
d.selects['weekday'].addOption('Kew');
d.selects['weekday'].options['Kew'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Kew'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].addOption('Leith Valley');
d.selects['weekday'].options['Leith Valley'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Leith Valley'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Liberton');
d.selects['weekday'].options['Liberton'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Liberton'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].addOption('Logan Park');
d.selects['weekday'].options['Logan Park'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Logan Park'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Lookout Point');
d.selects['weekday'].options['Lookout Point'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Lookout Point'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].options['Lookout Point'].createOption('Octagon to Corstorphine to Lookout Point to Octagon - Evenings, Weekends and Public Holidays Only', 'page15b.html');
d.selects['weekday'].addOption('Macandrew Bay');
d.selects['weekday'].options['Macandrew Bay'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Macandrew Bay'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Maori Hill');
d.selects['weekday'].options['Maori Hill'].createOption('Octagon to Wakari / Helensburgh / Maori Hill / Gardens / University to Octagon - Evenings and Weekends', '69.html');
d.selects['weekday'].options['Maori Hill'].createOption('Octagon to Roslyn / Maori Hill / University to Octagon - Evenings and Weekends', '68.html');
d.selects['weekday'].options['Maori Hill'].createOption('University / Octagon to Maori Hill / Prospect Park / University to Octagon', '67.html');
d.selects['weekday'].options['Maori Hill'].createOption('Roslyn / Maori Hill / Prospect Park to University / Octagon', '66.html');
d.selects['weekday'].addOption('Maryhill');
d.selects['weekday'].options['Maryhill'].createOption('Balaclava to Octagon / University', 'page43a.html');
d.selects['weekday'].options['Maryhill'].createOption('University / Octagon to Balaclava', 'page43b.html');
d.selects['weekday'].options['Maryhill'].createOption('University / Octagon / Balaclava to Kenmure - Evenings and Weekends', 'page47.html');
d.selects['weekday'].options['Maryhill'].createOption('Kenmure / Balaclava / Octagon to University - Evenings and Weekends', 'page47.html');
d.selects['weekday'].addOption('Moana Pool');
d.selects['weekday'].options['Moana Pool'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Moana Pool'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Moana Pool'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Moana Pool'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Moana Pool'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Moana Pool'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].addOption('Mornington');
d.selects['weekday'].options['Mornington'].createOption('Balaclava to Octagon / University', 'page43a.html');
d.selects['weekday'].options['Mornington'].createOption('University / Octagon to Balaclava', 'page43b.html');
d.selects['weekday'].options['Mornington'].createOption('Kenmure / Mornington to Octagon', 'page46.html');
d.selects['weekday'].options['Mornington'].createOption('Octagon to Mornington / Kenmure', 'page46.html');
d.selects['weekday'].addOption('Mosgiel');
d.selects['weekday'].options['Mosgiel'].createOption('Mosgiel Loop', 'page59.html');
d.selects['weekday'].options['Mosgiel'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Mosgiel'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].addOption('Mount Mera');
d.selects['weekday'].options['Mount Mera'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['Mount Mera'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['Mount Mera'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['Mount Mera'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].addOption('Musselburgh');
d.selects['weekday'].options['Musselburgh'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Musselburgh'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].options['Musselburgh'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Musselburgh'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Normanby');
d.selects['weekday'].options['Normanby'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['Normanby'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['Normanby'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['Normanby'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].addOption('North East Valley');
d.selects['weekday'].options['North East Valley'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['North East Valley'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['North East Valley'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['North East Valley'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].addOption('Ocean Grove');
d.selects['weekday'].options['Ocean Grove'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Ocean Grove'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].addOption('Ocean View');
d.selects['weekday'].options['Ocean View'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].options['Ocean View'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].addOption('Opoho');
d.selects['weekday'].options['Opoho'].createOption('Opoho to Octagon / Shiel Hill', 'page14a.html');
d.selects['weekday'].options['Opoho'].createOption('Shiel Hill to Octagon / Opoho', 'page14b.html');
d.selects['weekday'].options['Opoho'].createOption('Octagon to Pine Hill / Opoho - Evenings and Weekends only', 'page15a.html');
d.selects['weekday'].addOption('Palmerston');
d.selects['weekday'].options['Palmerston'].createOption('Palmerston / Waikouaiti / Karitane / Waitati / Dunedin', 'page64.html');
d.selects['weekday'].addOption('Peninsula');
d.selects['weekday'].options['Peninsula'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Peninsula'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Pine Hill');
d.selects['weekday'].options['Pine Hill'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Pine Hill'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].options['Pine Hill'].createOption('Octagon to Pine Hill / Opoho - Evenings and Weekends only', 'page15a.html');
d.selects['weekday'].addOption('Port Chalmers');
d.selects['weekday'].options['Port Chalmers'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Port Chalmers'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Portobello');
d.selects['weekday'].options['Portobello'].createOption('City to Peninsula', 'page58b.html');
d.selects['weekday'].options['Portobello'].createOption('Peninsula to City', 'page58a.html');
d.selects['weekday'].addOption('Prospect Park');
d.selects['weekday'].options['Prospect Park'].createOption('University / Octagon to Maori Hill / Prospect Park / University to Octagon', '67.html');
d.selects['weekday'].options['Prospect Park'].createOption('Roslyn / Maori Hill / Prospect Park to University / Octagon', '66.html');
d.selects['weekday'].addOption('Ravensbourne');
d.selects['weekday'].options['Ravensbourne'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Ravensbourne'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Roseneath');
d.selects['weekday'].options['Roseneath'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Roseneath'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Roslyn');
d.selects['weekday'].options['Roslyn'].createOption('Octagon to Roslyn / Maori Hill / University to Octagon - Evenings and Weekends', '68.html');
d.selects['weekday'].options['Roslyn'].createOption('University / Octagon to Maori Hill / Prospect Park / University to Octagon', '67.html');
d.selects['weekday'].options['Roslyn'].createOption('Roslyn / Maori Hill / Prospect Park to University / Octagon', '66.html');
d.selects['weekday'].addOption('Sawyers Bay');
d.selects['weekday'].options['Sawyers Bay'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Sawyers Bay'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Shiel Hill');
d.selects['weekday'].options['Shiel Hill'].createOption('Opoho to Octagon / Shiel Hill', 'page14a.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Shiel Hill to Octagon / Opoho', 'page14b.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Shiel Hill'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Shiel Hill'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Shiel Hill'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['Shiel Hill'].createOption('Octagon to St Kilda / Waverley / Shiel Hill - Evenings Weekends and Public Holidays Only', 'page23.html');
d.selects['weekday'].addOption('South Dunedin');
d.selects['weekday'].options['South Dunedin'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['South Dunedin'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['South Dunedin'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['South Dunedin'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].options['South Dunedin'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['South Dunedin'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['South Dunedin'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['South Dunedin'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['South Dunedin'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['South Dunedin'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].options['South Dunedin'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['South Dunedin'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['South Dunedin'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['South Dunedin'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');
d.selects['weekday'].options['South Dunedin'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['South Dunedin'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].options['South Dunedin'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].addOption('Saint Clair');
d.selects['weekday'].options['Saint Clair'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['Saint Clair'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['Saint Clair'].createOption('Normanby to Octagon / St Clair - Mornings', 'page09a.html');
d.selects['weekday'].options['Saint Clair'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page09b.html');
d.selects['weekday'].addOption('Saint Clair Park');
d.selects['weekday'].options['Saint Clair Park'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Saint Clair Park'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].addOption('Saint Kilda');
d.selects['weekday'].options['Saint Kilda'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Saint Kilda'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Saint Kilda'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Saint Kilda'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Saint Kilda'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Saint Kilda'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['Saint Kilda'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Saint Kilda'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].options['Saint Kilda'].createOption('Octagon to St Kilda / Waverley / Shiel Hill - Evenings Weekends and Public Holidays Only', 'page23.html');
d.selects['weekday'].addOption('Saint Leonards');
d.selects['weekday'].options['Saint Leonards'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['Saint Leonards'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Sunninghurst');
d.selects['weekday'].options['Sunninghurst'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Sunninghurst'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].addOption('Sunnyvale');
d.selects['weekday'].options['Sunnyvale'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Sunnyvale'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].addOption('Sunshine');
d.selects['weekday'].addOption('Tainui');
d.selects['weekday'].options['Tainui'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Tainui'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['Tainui'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Tainui'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].addOption('University');
d.selects['weekday'].options['University'].createOption('Balaclava to Octagon / University', 'page43a.html');
d.selects['weekday'].options['University'].createOption('University / Octagon to Balaclava', 'page43b.html');
d.selects['weekday'].options['University'].createOption('Concord / Kaikorai Valley to University', 'page62a.html');
d.selects['weekday'].options['University'].createOption('University / Octagon to Concord', 'page62b.html');
d.selects['weekday'].options['University'].createOption('Kenmure / Mornington to Octagon', 'page46.html');
d.selects['weekday'].options['University'].createOption('Octagon to Mornington / Kenmure', 'page46.html');
d.selects['weekday'].options['University'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['University'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['University'].createOption('Octagon to Wakari / Helensburgh / Maori Hill / Gardens / University to Octagon - Evenings and Weekends', '69.html');
d.selects['weekday'].options['University'].createOption('Octagon to Roslyn / Maori Hill / University to Octagon - Evenings and Weekends', '68.html');
d.selects['weekday'].options['University'].createOption('University / Octagon to Maori Hill / Prospect Park / University to Octagon', '67.html');
d.selects['weekday'].options['University'].createOption('Roslyn / Maori Hill / Prospect Park to University / Octagon', '66.html');
d.selects['weekday'].options['University'].createOption('University / Octagon / City Rise / Belleknowes to Bradford', '63b.html');
d.selects['weekday'].options['University'].createOption('Bradford / Belleknowes / City Rise / Octagon to University', '63a.html');
d.selects['weekday'].addOption('Waikouaiti');
d.selects['weekday'].options['Waikouaiti'].createOption('Palmerston / Waikouaiti / Karitane / Waitati / Dunedin', 'page64.html');
d.selects['weekday'].addOption('Waitati');
d.selects['weekday'].options['Waitati'].createOption('Palmerston / Waikouaiti / Karitane / Waitati / Dunedin', 'page64.html');
d.selects['weekday'].addOption('Wakari');
d.selects['weekday'].options['Wakari'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Wakari'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].options['Wakari'].createOption('Octagon to Wakari / Helensburgh / Maori Hill / Gardens / University to Octagon - Evenings and Weekends', '69.html');
d.selects['weekday'].addOption('Wakari Hospital');
d.selects['weekday'].options['Wakari Hospital'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Mornings', 'page26.html');
d.selects['weekday'].options['Wakari Hospital'].createOption('Brockville / Halfway Bush to Octagon / St Kilda - Afternoons', 'page27.html');
d.selects['weekday'].options['Wakari Hospital'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Mornings', 'page28.html');
d.selects['weekday'].options['Wakari Hospital'].createOption('St Kilda to Octagon / Brockville / Halfway Bush - Afternoons', 'page29.html');
d.selects['weekday'].options['Wakari Hospital'].createOption('St Clair Park / Corstophine to Octagon / Wakari / Helensburgh', 'page37.html');
d.selects['weekday'].options['Wakari Hospital'].createOption('Wakari / Helensburgh to Octagon / Corstophine / St Clair Park', 'page36.html');
d.selects['weekday'].addOption('Waldronville');
d.selects['weekday'].options['Waldronville'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Waldronville'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].addOption('Waverley');
d.selects['weekday'].options['Waverley'].createOption('City to Highcliff / Waverley', 'page21b.html');
d.selects['weekday'].options['Waverley'].createOption('Waverley / Highcliff to City', 'page21a.html');
d.selects['weekday'].options['Waverley'].createOption('Octagon to St Kilda / Waverley / Shiel Hill - Evenings Weekends and Public Holidays Only', 'page23.html');
d.selects['weekday'].addOption('West Harbour');
d.selects['weekday'].options['West Harbour'].createOption('City to Port Chalmers', 'page57.html');
d.selects['weekday'].options['West Harbour'].createOption('Port Chalmers to City', 'page56.html');
d.selects['weekday'].addOption('Westwood');
d.selects['weekday'].options['Westwood'].createOption('City to Green Island / Abbotsford / Brighton', 'page52b.html');
d.selects['weekday'].options['Westwood'].createOption('Green Island / Abbotsford / Brighton to City', 'page52a.html');
d.selects['weekday'].addOption('Wingatui');
d.selects['weekday'].options['Wingatui'].createOption('City to Fairfield / Wingatui / Mosgiel', 'page51.html');
d.selects['weekday'].options['Wingatui'].createOption('Wingatui / Mosgiel / Fairfield to City', 'page50.html');
d.selects['weekday'].addOption('Woodhaugh');
d.selects['weekday'].options['Woodhaugh'].createOption('St Clair to Octagon / Normanby - Mornings', 'page09a.html');
d.selects['weekday'].options['Woodhaugh'].createOption('St Clair to Octagon / Normanby - Afternoons', 'page09b.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Normanby to Octagon / St Clair - Mornings', 'page08a.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Normanby to Octagon / St Clair - Afternoons', 'page08b.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Glenleith / Garden Village to Ocean Grove / Bay Cemetery', 'page32.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Ocean Grove / Bay Cemetery to Glenleith / Garden Village', 'page33.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Lookout Point / Caversham to Octagon / Pine Hill / Liberton / Dalmore', 'page19.html');
d.selects['weekday'].options['Woodhaugh'].createOption('Pine Hill to Octagon / Caversham / Lookout Point', 'page18.html');


function dynamicSelect()
{
	this.selects = new Array();

	this.addSelect = function(name)
	{
		this.selects[name] = new selectObj();
	}



	this.updateOptions = function(source, target)
	{
		var form = source.form;
		var target = form.elements[target];
		var value = source.options[source.selectedIndex].value;

		while(target.options.length) target.remove(0);

		if(!this.selects[source.name].options[value])
		{
			//alert('Invalid selection.');
		}

		var data = this.selects[source.name].options[value].options;

		for(var x=0; x<data.length; x++)
		{
			try
			{
				target.add(data[x]);
			}
			catch(e)
			{
				target.add(data[x], null);
			}
		}

		target.selectedIndex = 0;
	}
}



function selectObj()
{
	this.options = new Array();

	this.addOption = function(value)
	{
		this.options[value] = new optionObj();
	}
}



function optionObj()
{
	this.options = new Array();

	this.createOption = function(name, value)
	{
		this.options[this.options.length] = new Option(name, value);
	}
}

