﻿// Two Men and a Truck Location Addresses
var addresses = [
	"3485 Harvester Road, Unit 8, Burlington, L7N 3Y3",	// 00 Burlington
	"50 Dundas St E, Suite 103, Hamilton, L9H 7K6",			// 01 Hamilton
	"661 Consortium Court, London, N6E 2S8",						// 02 London
	"330 Marwood Drive Unit #3, Oshawa, ON, L1H 8B4",		// 03 Oshawa
	"716 Kipling Avenue, Etobicoke, M8Z 5G5",						// 04 Etobicoke
	"85 Executive Court, Toronto, M1S 5W9",							// 05 Toronto East
	"1688 Avenue Rd, Toronto, Ont. M5M 3Y4",						// 06 Toronto Midtown - Ghost address (for calculation)
	"2500 Hurontario, Mississauga, ON, L5B 1N4",				// 07 Mississauga South - Ghost address (for calculation)
	"110 Saunders Rd. Unit #10, Barrie, ON L4N 9A8", 		// 08 Barrie & Central Ontario
	"394 Orenda Rd. Brampton, ON L6T 1G9",							// 09 Brampton
	"5900 Hurontario Street, Mississauga, ON L5R 0B8"		// 10 Mississauga North - Ghost Address (for calculation)
	
	//"2140 Winston Park Drive, Unit 22, Oakville, L6H 5V5",	// Oakville (duplicate removed)
	//"595 Wentworth Street East, Unit 55, Oshawa, L1H 3V8",	// Oshawa (Old address)
	//"80 Galaxy Blvd. Unit 20, Toronto, M9W 4Y8",				// Toronto Midtown (Old ghost address) - removed
	//"2700 Dufferin St. Unit 42, Toronto, ON, M6B 4J3",		// Toronto Midtown (real address as in locations/ON.asp)
	//"2140 Winston Park Drive, Unit 22, Oakville, ON, L6H 5V5"	// Mississauge South (real address as in locations/ON.asp)

];

// Corresponding postal codes - this must be kept in the same order as the order of the addresses above (if adding new locations)
var locationPostalCodes = [
	"L7N",													// 00 Burlington
	"L9H",													// 01 Hamilton
	"N6E",													// 02 London
	//"L6H",												// Oakville
	"L1H",													// 03 Oshawa
	"M8Z",													// 04 Etobicoke
	//"M9W",												// Toronto Midtown
	"M1S", 													// 05 Toronto East
	"M5M",                          // 06 Toronto Midtown
	"L5B",                          // 07 Mississauga South
	"L4N",													// 08 Barrie & Central ON
	"L6T",													// 09 Brampton
	"L5R"														// 10 Mississauga North
];

// Corresponding Latitude Longitude values - this must be kept in the same order as the order of the addresses above (if adding new locations)
var coordinates = [
  "43.3623873,-79.7841044",				// 00 Burlington
	"43.316567,-79.91254",					// 01 Hamilton
	"42.9337478,-81.2043352",				// 02 London
	"43.8768,-78.8313",							// 03 Oshawa
	"43.6254702,-79.5285821",				// 04 Etobicoke
	"43.78608,-79.239723",					// 05 Toronto East
	"43.7274362,-79.417715",				// 06 Toronto Midtown (ghost address coords)
	"43.5781592,-79.613444", 				// 07 Mississauga South (ghost address coords)
	"44.328955,-79.680625",					// 08 Barrie & Central ON
	"43.705259,-79.693577",					// 09 Brampton
	"43.614755 ,-79.678276"					// 10	Miississauga North
	
	//"43.5092197,-79.6727967",							// Oakville
	//"43.8788376,-78.8295453",							// Oshawa (old address coords)
	//"43.6808865,-79.5879058",							// Toronto Midtown
	//"43.7030,-79.4523",										// Toronto Midtown (display address coords)
	//"43.5090,-79.6711"										// Mississauga South (display address coords)
];

// Postal Code Buckets
var toronto_east 			= [ "M1H","M1J","M1K","M1L","M1M","M1N","M1P","M1R","M1T","M1V","M1S" ];

var toronto_mid_town 	= [ "M2J","M2K","M2L","M2N","M2P","M3B","M3C","M3H","M4N","M4P","M4R","M5M","M5N","M6A","M6B","M9W" ];

var halton 						= [ "L9T","L6H","L6J","L6K","L6M","L6L","L7L","L7M","L7N","L7R","L7S","L7G","L7J","L0P" ];

var brampton 					= [ "L6Y","L6X","L6V","L6W","L6S","L6R","L6Z","L7A", "L6T" ];

var london 						= [ "N6P","N6L","N6E","N6N","N6M","N5Z","N6C","N6J","N6K","N6H","N6G","N5X","N5Y","N5W","N6B","N5V","N0L","N5R","N5L","N5H" ];

var missisauga_south 	= [ "L5L","L5K","L5J","L5H","L5C","L5B","L5G","L5A","L4Y","L4X","L4E" ];

var missisauga_n 			= [ "L5M","L5N","L5W","L5V","L5R","L4Z","L4W","L5T","L5P","L4T","L5S","L4V" ];

var hamilton 					= [ "N5X","L9G","L9K","K0C","L9H" ];

var oshawa 						= [ "L1S","L1Z","L1P","L1N","L1R","L1J","L1H","L1G","L1K","L1E","L1L","L1C","L1B","L0B","L1M","L0A" ];

var etobicoke 				= [ "M6N","M6P","M6S","M8V","M8W","M8X","M8Y","M8Z","M9A","M9B","M9C","M9N","M9P","M9R","M9M" ];

var niagara 					= [ "L2J","L2E","L2H","L2G","L2A","L3B","L3K","L0S","L3C","L2V","L2T","L2P","L2R","L2M","L2N","L2W","L2S" ];

var barrie						= [ "L4M","L9S","L4N","L0L","L3V","L0M","L0K","L4R","L9M","P0E","P1P","P1L","P0C" ];

var kitchner_waterloo	= [ "N1P","N1R","N1T","N1S","N3H","N3C","N3E","N2P","N2R","N2E","N2C","N2A","N2N","N2M","N2G","N2H","N2B","N2K","N2J","N2L","N2T","N0B" ];

var postal_code_buckets = [
	toronto_east, toronto_mid_town, halton, brampton, london, missisauga_south, missisauga_n, hamilton, oshawa, etobicoke, niagara, barrie, kitchner_waterloo
];