// JavaScript Document

var bus_stops = new Array();
var am_depart_times = new Array();
var pm_depart_times = new Array();

// Add the Stops In order they will appear in the list
bus_stops[1] = 'Bennion SUB';
bus_stops[2] = 'Old Fred Meyer';
bus_stops[3] = 'Yellowstone Exit 113';
bus_stops[4] = 'Blackfoot';
//bus_stops[4] = 'Rexburg';
//bus_stops[5] = 'Rigby';
bus_stops[5] = 'Twin Falls KMART';
bus_stops[6] = 'Exit 183';
bus_stops[7] = 'Burley KMART';
bus_stops[8] = 'Declo KOA';
bus_stops[9] = 'American Falls HillTop';


// The am depart times array should have the same number of rows
// as the bus stops array.  Each row should conatin an array that
// will hold all of the depart times for the corresponding location.
// This will initialise the am depart times arrays for each bus stop.
am_depart_times[1] = new Array();
am_depart_times[2] = new Array();
am_depart_times[3] = new Array();
am_depart_times[4] = new Array();
am_depart_times[5] = new Array();
am_depart_times[6] = new Array();
am_depart_times[7] = new Array();
am_depart_times[8] = new Array();
am_depart_times[9] = new Array();
//am_depart_times[10] = new Array();


// Add the morning depart times for each stop.
am_depart_times[1][1] = '6:30';		// Bennion SUB - Times
am_depart_times[1][2] = '7:30';

am_depart_times[2][1] = '6:20';		// Fred Meyer  - Times
am_depart_times[2][2] = '7:20';

am_depart_times[3][1] = '6:40';		// Yellowstone Exit 113 - Times
am_depart_times[3][2] = '7:40';

am_depart_times[4][1] = '7:00';		// Blackfoot - Times
am_depart_times[4][2] = '8:00';

//am_depart_times[4][1] = '5:45';		// Rexburg - Times

//am_depart_times[5][1] = '6:10';		// Rigby - Times

am_depart_times[5][1] = '5:20';		// Twin Falls - Times

am_depart_times[6][1] = '5:30';		// Exit 183 - Times

am_depart_times[7][1] = '6:05';		// Burly - Times

am_depart_times[8][1] = '6:15';		// Declo - Times

am_depart_times[9][1] = '7:05';	// American Falls - Times


// The pm depart times array should have the same number of rows
// as the bus stops array.  Each row should conatin an array that
// will hold all of the depart times for the corresponding location.
// This will initialise the pm depart times arrays for each bus stop.
pm_depart_times[1] = new Array();
pm_depart_times[2] = new Array();
pm_depart_times[3] = new Array();
pm_depart_times[4] = new Array();
pm_depart_times[5] = new Array();
pm_depart_times[6] = new Array();
pm_depart_times[7] = new Array();
pm_depart_times[8] = new Array();
pm_depart_times[9] = new Array();
//pm_depart_times[10] = new Array();


// Add the afternoon depart times for each stop
pm_depart_times[1][1] = '1:10';		// Bennion SUB - Times
pm_depart_times[1][2] = '2:10';
pm_depart_times[1][3] = '3:10';
pm_depart_times[1][4] = '4:10';
pm_depart_times[1][5] = '5:10';

pm_depart_times[2][1] = '1:10';		// Fred Meyer - Times
pm_depart_times[2][2] = '2:10';
pm_depart_times[2][3] = '3:10';
pm_depart_times[2][4] = '4:10';
pm_depart_times[2][5] = '5:10';

pm_depart_times[3][1] = '1:10';		// Yellowstone Exit 113 - Times
pm_depart_times[3][2] = '2:10';
pm_depart_times[3][3] = '3:10';
pm_depart_times[3][4] = '4:10';
pm_depart_times[3][5] = '5:10';

pm_depart_times[4][1] = '1:10';		// Blackfoot - Times
pm_depart_times[4][2] = '2:10';
pm_depart_times[4][3] = '3:10';
pm_depart_times[4][4] = '4:10';
pm_depart_times[4][5] = '5:10';

//pm_depart_times[4][1] = '4:10';		// Rexburg - Times

//pm_depart_times[5][1] = '4:10';		// Rigby - Times

pm_depart_times[5][1] = '4:10';		// Twin Falls - Times

pm_depart_times[6][1] = '4:10';		// Exit 183 - Times

pm_depart_times[7][1] = '4:10';		// Burly - Times

pm_depart_times[8][1] = '4:10';		// Declo - Times

pm_depart_times[9][1] = '4:10';	// American Falls - Times

