    var map = null;
    var geocoder = null;
    var mgr = null;
	var gdir = null;
	var currentmarker = null;
	var batch = [];  


	function gup( name ) {
		name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
		var regexS = "[\\?&]"+name+"=([^&#]*)";
		var regex = new RegExp( regexS );
		var results = regex.exec( window.location.href );  
		if( results == null )    
			return "";  
		else    
			return results[1];
	}

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
//		map.addControl(new GMapTypeControl());
//        map.setCenter(new GLatLng(43.537619, -80.210167), 10);
//        map.setCenter(new GLatLng(45.348699, -75.804418), 10);
        map.setCenter(new GLatLng(43.583464, -79.620908), 10);
        geocoder = new GClientGeocoder();
		window.setTimeout(setupLocations, 0);
        gdir = new GDirections(map, document.getElementById("directions"));
        GEvent.addListener(gdir, "load", onGDirectionsLoad);
        GEvent.addListener(gdir, "error", handleErrors);
      }
    }

    function setDirections(fromAddress, toAddress) {
      gdir.load("from: " + fromAddress + " to: " + toAddress,
                { "locale": "en" });
    }

	function setLocation(index) {
		batch[index].initialize(map);
		window.setTimeout( function () {GEvent.trigger(batch[index], "click")}, 10 );
	}

    function showAddress(address, city, province) {
      if (geocoder) {
        geocoder.getLatLng(
          address + ", " + city + ", " + province,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 11);
		      var icon = new GIcon(G_DEFAULT_ICON, "http://www.google.com/intl/en_ALL/mapfiles/icon-dd-play-trans.png");
			  map.removeOverlay(currentmarker);
              currentmarker = new GMarker(point, icon);
              map.addOverlay(currentmarker);
			  document.getElementById("fromAddress").value = address + ", " + city + ", " + province;
//              marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }

    function getpoint(address) {
      if (geocoder) {
        geocoder.getLatLng(address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
//			  alert(point);
              map.setCenter(point, 14);
			  document.getElementById("directions").innerHTML = point;
            }
          }
        );
      }
    }

	function onGDirectionsLoad(){ 
          // Use this function to access information about the latest load()
          // results.

          // e.g.
	  // document.getElementById("getStatus").innerHTML = gdir.getStatus().code;
	  // and yada yada yada...
	}

    function handleErrors(){
	   if (gdir.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
	     alert("No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: " + gdir.getStatus().code);
	   else if (gdir.getStatus().code == G_GEO_SERVER_ERROR)
	     alert("A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.\n Error code: " + gdir.getStatus().code);
	   
	   else if (gdir.getStatus().code == G_GEO_MISSING_QUERY)
	     alert("The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: " + gdir.getStatus().code);

	//   else if (gdir.getStatus().code == G_UNAVAILABLE_ADDRESS)  <--- Doc bug... this is either not defined, or Doc is wrong
	//     alert("The geocode for the given address or the route for the given directions query cannot be returned due to legal or contractual reasons.\n Error code: " + gdir.getStatus().code);
	     
	   else if (gdir.getStatus().code == G_GEO_BAD_KEY)
	     alert("The given key is either invalid or does not match the domain for which it was given. \n Error code: " + gdir.getStatus().code);

	   else if (gdir.getStatus().code == G_GEO_BAD_REQUEST)
	     alert("A directions request could not be successfully parsed.\n Error code: " + gdir.getStatus().code);
	    
	   else alert("An unknown error occurred.");
	}

	function setupLocations() {
	  mgr = new GMarkerManager(map);
	  
	  batch.push(new GMarker(new GLatLng(43.583464, -79.620908)));  
	  GEvent.addListener(batch[0], "click", function() {    
	  	batch[0].openInfoWindowHtml("Softron Head Office<br>3161 Hurontario St<br>Mississauga, ON<br>L5A 2G9<br />Phone: 905-273-4444");  
		document.getElementById("toAddress").selectedIndex = 0;		
	  });
	  batch.push(new GMarker(new GLatLng(43.581221, -79.76033)));  
	  GEvent.addListener(batch[1], "click", function() {    
	  	batch[1].openInfoWindowHtml("Meadowvale Town Centre<br>6677 Meadowvale Town Centre Circle<br>Mississauga, ON<br>L5N 2R5<br />Phone: 905-816-1800");  
		document.getElementById("toAddress").selectedIndex = 1;		
	  });
	  batch.push(new GMarker(new GLatLng(43.528699, -79.653976)));  
	  GEvent.addListener(batch[2], "click", function() {    
	  	batch[2].openInfoWindowHtml("Cloverdale Mall<br>250 The East Mall<br>Etobicoke, ON<br>M9B 3Y8<br>Phone: (416) 239-7500");  
		document.getElementById("toAddress").selectedIndex = 2;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.546018, -79.683707)));  
	  GEvent.addListener(batch[3], "click", function() {    
	  	batch[3].openInfoWindowHtml("South Common Mall<br>2150 Burnhamthorpe Rd W<br>Mississauga, ON<br>L5A 2G9<br />Phone: 905-569-6333");  
		document.getElementById("toAddress").selectedIndex = 3;		
	  });
	  batch.push(new GMarker(new GLatLng(43.587291, -79.742146)));  
	  GEvent.addListener(batch[4], "click", function() {    
	  	batch[4].openInfoWindowHtml("6435 Erin Mills Parkway<br>Mississauga, ON<br>L5N 2W7<br />Phone: 905-819-9026");  
		document.getElementById("toAddress").selectedIndex = 4;		
	  });
	  batch.push(new GMarker(new GLatLng(43.86057, -79.02563)));  
	  GEvent.addListener(batch[5], "click", function() {    
	  	batch[5].openInfoWindowHtml("5 Harwood Ave Unit #203<br>Ajax, ON<br>L1S 2C1<br />Phone: 905-428-1234");  
		document.getElementById("toAddress").selectedIndex = 5;		
	  });
	  batch.push(new GMarker(new GLatLng(44.3858885, -79.7234449)));  
	  GEvent.addListener(batch[6], "click", function() {    
	  	batch[6].openInfoWindowHtml("3 Shakespeare Cres<br>Barrie, ON<br>L4N 6C4<br />Phone: 705-728-8008");  
		document.getElementById("toAddress").selectedIndex = 6;		
	  });
	  batch.push(new GMarker(new GLatLng(43.667186, -79.734858)));  
	  GEvent.addListener(batch[7], "click", function() {    
	  	batch[7].openInfoWindowHtml("Shoppers World Brampton<br>499 Main Street South<br>Brampton, ON<br>L6Y 1N7<br />Phone: 905-796-5555");  
		document.getElementById("toAddress").selectedIndex = 7;		
	  });
	  batch.push(new GMarker(new GLatLng(43.699777, -79.744822)));  
	  GEvent.addListener(batch[8], "click", function() {    
	  	batch[8].openInfoWindowHtml("253 Queen St E<br>Brampton, ON<br>L6W 2B8<br />Phone: 905-455-8999");  
		document.getElementById("toAddress").selectedIndex = 8;		
	  });
	  batch.push(new GMarker(new GLatLng(43.706585, -79.347092)));  
	  GEvent.addListener(batch[9], "click", function() {    
	  	batch[9].openInfoWindowHtml("East York Town Centre<br>45 Overlea Blvd #B13<br>East York, ON<br>M4H 1C3<br />Phone: 416-423-6777");  
		document.getElementById("toAddress").selectedIndex = 9;		
	  });
	  batch.push(new GMarker(new GLatLng(43.716779, -79.555971)));  
	  GEvent.addListener(batch[10], "click", function() {    
	  	batch[10].openInfoWindowHtml("2292 Islington Avenue<br>Etobicoke, ON<br>M9W 3W8<br />Phone: 416-740-0322");  
		document.getElementById("toAddress").selectedIndex = 10;		
	  });
	  batch.push(new GMarker(new GLatLng(43.631131, -79.550532)));  
	  GEvent.addListener(batch[11], "click", function() {    
	  	batch[11].openInfoWindowHtml("1 East Mall Cres<br>Etobicoke, ON<br>M9B 6G8<br />Phone: 416-236-5555");  
		document.getElementById("toAddress").selectedIndex = 11;		
	  });
	  batch.push(new GMarker(new GLatLng(43.736019, -79.562712)));  
	  GEvent.addListener(batch[12], "click", function() {    
	  	batch[12].openInfoWindowHtml("965 Albion Rd<br>Etobicoke, ON<br>M9V 1A6<br />Phone: 416-740-8888");  
		document.getElementById("toAddress").selectedIndex = 12;		
	  });
	  batch.push(new GMarker(new GLatLng(43.717733, -79.597234)));  
	  GEvent.addListener(batch[13], "click", function() {    
	  	batch[13].openInfoWindowHtml("Woodbine Centre<br>500 Rexdale Blvd unit F3b<br>Etobicoke, ON<br>M9W 6K5<br />Phone: 416-674-9199");  
		document.getElementById("toAddress").selectedIndex = 13;		
	  });
	  batch.push(new GMarker(new GLatLng(43.600251, -79.507657)));  
	  GEvent.addListener(batch[14], "click", function() {    
	  	batch[14].openInfoWindowHtml("3003 Lake Shore Blvd West<br>Etobicoke, ON<br>M8V 1K2<br />Phone: 416-255-4113");  
		document.getElementById("toAddress").selectedIndex = 14;		
	  });
	  batch.push(new GMarker(new GLatLng(43.51870, -80.2384)));  
	  GEvent.addListener(batch[15], "click", function() {    
	  	batch[15].openInfoWindowHtml("Stone Road Mall<br>435 Stone Rd W<br>Guelph, ON<br>N1G 2X6<br />Phone: 519-821-5555");  
		document.getElementById("toAddress").selectedIndex = 15;		
	  });
	  batch.push(new GMarker(new GLatLng(43.415854, -80.479834)));  
	  GEvent.addListener(batch[16], "click", function() {    
	  	batch[16].openInfoWindowHtml("Forest Glen Shopping Centre<br>700 Strasburg Road Unit 16<br>Kitchener, ON<br>N2E 2M2<br />Phone: 519-568-7700");
		document.getElementById("toAddress").selectedIndex = 16;		
	  });
	  batch.push(new GMarker(new GLatLng(43.865395, -79.291841)));  
	  GEvent.addListener(batch[17], "click", function() {    
	  	batch[17].openInfoWindowHtml("Markham Mews<br>4997 Highway 7 Unit 202<br>Markham, ON<br>L3R 1N1<br />Phone: 905-944-1888");  
		document.getElementById("toAddress").selectedIndex = 17;		
	  });
	  batch.push(new GMarker(new GLatLng(43.775193, -79.346905)));  
	  GEvent.addListener(batch[18], "click", function() {    
	  	batch[18].openInfoWindowHtml("Fairview Mall<br>1800 Sheppard Ave E Unit 332<br>North York, ON<br>M2J 5A7<br />Phone: 416-773-1999");  
		document.getElementById("toAddress").selectedIndex = 18;		
	  });
	  batch.push(new GMarker(new GLatLng(43.794644, -79.419211)));  
	  GEvent.addListener(batch[19], "click", function() {    
	  	batch[19].openInfoWindowHtml("Centre Point Mall<br>6464 Yonge St<br>North York, ON<br>M2M 3X4<br />Phone: 416-221-0010");  
		document.getElementById("toAddress").selectedIndex = 19;		
	  });
	  batch.push(new GMarker(new GLatLng(43.757089, -79.517641)));  
	  GEvent.addListener(batch[20], "click", function() {    
	  	batch[20].openInfoWindowHtml("Jane & Finch Mall<br>3929 Jane St<br>North York, ON<br>M3N 2K1<br />Phone: 416-736-1777");  
		document.getElementById("toAddress").selectedIndex = 20;		
	  });
	  batch.push(new GMarker(new GLatLng(43.777068, -79.414767)));  
	  GEvent.addListener(batch[21], "click", function() {    
	  	batch[21].openInfoWindowHtml("5447 Yonge St<br>North York, ON<br>M2N 5S1<br />Phone: 416-590-7900");  
		document.getElementById("toAddress").selectedIndex = 21;		
	  });
	  batch.push(new GMarker(new GLatLng(45.348699, -75.804418)));  
	  GEvent.addListener(batch[22], "click", function() {    
	  	batch[22].openInfoWindowHtml("Bayshore Shopping Centre<br>100 Bayshore Dr<br>Ottawa, ON<br>K2B 8C1<br />Phone: 613-820-4100");  
		document.getElementById("toAddress").selectedIndex = 22;		
	  });
	  batch.push(new GMarker(new GLatLng(45.371411, -75.767993)));  
	  GEvent.addListener(batch[23], "click", function() {    
	  	batch[23].openInfoWindowHtml("Carlingwood Shopping Centre<br>2121 Carling Ave Unit 201<br>Ottawa, ON<br>K2A 1S3<br />Phone: 613-725-2100");  
		document.getElementById("toAddress").selectedIndex = 23;		
	  });
	  batch.push(new GMarker(new GLatLng(45.435635, -75.662741)));  
	  GEvent.addListener(batch[24], "click", function() {    
	  	batch[24].openInfoWindowHtml("221 Montreal Rd<br>Ottawa, ON<br>K1L 6C8<br />Phone: 613-842-5444");  
		document.getElementById("toAddress").selectedIndex = 24;		
	  });
	  batch.push(new GMarker(new GLatLng(43.890047, -79.418922)));  
	  GEvent.addListener(batch[25], "click", function() {    
	  	batch[25].openInfoWindowHtml("10610 Bayview Ave<br>Richmond Hill, ON<br>L4C 3N8<br />Phone: 905-770-8808");  
		document.getElementById("toAddress").selectedIndex = 25;		
	  });
	  batch.push(new GMarker(new GLatLng(43.77194, -79.185763)));  
	  GEvent.addListener(batch[26], "click", function() {    
	  	batch[26].openInfoWindowHtml("4526 Kingston Rd<br>Scarborough, ON<br>M1E 2N8<br />Phone: 416-279-1111");  
		document.getElementById("toAddress").selectedIndex = 26;		
	  });
	  batch.push(new GMarker(new GLatLng(43.775061, -79.253894)));  
	  GEvent.addListener(batch[27], "click", function() {    
	  	batch[27].openInfoWindowHtml("Scarborough Town Centre<br>300 Borough Dr Unit 51<br>Scarborough, ON<br>M1P 4P5<br />Phone: 416-290-0900");  
		document.getElementById("toAddress").selectedIndex = 27;		
	  });
	  batch.push(new GMarker(new GLatLng(43.797397, -79.316053)));  
	  GEvent.addListener(batch[28], "click", function() {    
	  	batch[28].openInfoWindowHtml("Bridlewood Mall<br>2900 Warden Ave Unit 243<br>Scarborough, ON<br>M1W 2S8<br />Phone: 416-491-4900");  
		document.getElementById("toAddress").selectedIndex = 28;		
	  });
	  batch.push(new GMarker(new GLatLng(43.650829, -79.378648)));  
	  GEvent.addListener(batch[29], "click", function() {    
	  	batch[29].openInfoWindowHtml("127 Yonge St<br>Toronto, ON<br>M5C 1W4<br />Phone: 416-943-9333");  
		document.getElementById("toAddress").selectedIndex = 29;		
	  });
	  batch.push(new GMarker(new GLatLng(43.663929, -79.367818)));  
	  GEvent.addListener(batch[30], "click", function() {    
	  	batch[30].openInfoWindowHtml("475 Parliament St<br>Toronto, ON<br>M5A 3A3<br />Phone: 416-964-0666");  
		document.getElementById("toAddress").selectedIndex = 30;		
	  });
	  batch.push(new GMarker(new GLatLng(43.702998, -79.503781)));  
	  GEvent.addListener(batch[31], "click", function() {    
	  	batch[31].openInfoWindowHtml("1690 Jane St Second floor<br>Toronto, ON<br>M9N 2S4<br />Phone: 416-244-6000");  
		document.getElementById("toAddress").selectedIndex = 31;		
	  });
	  batch.push(new GMarker(new GLatLng(43.517421, -79.876129)));  
	  GEvent.addListener(batch[32], "click", function() {    
	  	batch[32].openInfoWindowHtml("Milton Mall<br>55 Ontario St South<br>Milton, ON<br>L9T 2M3<br />Phone: 905-864-4088");  
		document.getElementById("toAddress").selectedIndex = 32;		
	  });
	  batch.push(new GMarker(new GLatLng(43.720058, -79.512654)));  
	  GEvent.addListener(batch[33], "click", function() {    
	  	batch[33].openInfoWindowHtml("Sheridan Mall<br>1700 Wilson Ave,  Suite 49<br>North York, ON M3L 1B2<br>Phone: (416) 244-3000");  
		document.getElementById("toAddress").selectedIndex = 33;		
	  });
	  batch.push(new GMarker(new GLatLng(44.058479,-79.480977)));  
	  GEvent.addListener(batch[34], "click", function() {    
	  	batch[34].openInfoWindowHtml("Upper Canada Mall<br>17600 Yonge Street<br>Newmarket, ON<br>L3Y 4Z1");  
		document.getElementById("toAddress").selectedIndex = 34;		
	  });
	  batch.push(new GMarker(new GLatLng(44.410335, -79.708329)));  
	  GEvent.addListener(batch[35], "click", function() {    
	  	batch[35].openInfoWindowHtml("Georgian Mall<br>465 Bayfield Street<br>Barrie, ON<br>L4M 4Z9<br>Phone: (705) 792-2600");  
		document.getElementById("toAddress").selectedIndex = 35;		
	  });
	  batch.push(new GMarker(new GLatLng(43.807666, -79.508156)));  
	  GEvent.addListener(batch[36], "click", function() {    
	  	batch[36].openInfoWindowHtml("Vaughan Mills<br>Highway 400 & Rutherford Road<br>Vaughn, ON<br>L4K 5W4<br>Phone: (905) 761-6466");  
		document.getElementById("toAddress").selectedIndex = 36;		
	  });
	  batch.push(new GMarker(new GLatLng(45.47505, -75.518027)));  
	  GEvent.addListener(batch[37], "click", function() {    
	  	batch[37].openInfoWindowHtml("Place d’Orleans<br>110 Place d’Orleans Dr.<br>Ottawa, ON<br>Phone: (613) 725-2100");  
		document.getElementById("toAddress").selectedIndex = 37;		
	  });
	  batch.push(new GMarker(new GLatLng(43.596772,-79.567623)));  
	  GEvent.addListener(batch[38], "click", function() {    
	  	batch[38].openInfoWindowHtml("Dixie Outlet Mall<br>(Dixie Rd & QEW)<br>Kiosk located by the food court<br>Phone: (905) 271-9111");  
		document.getElementById("toAddress").selectedIndex = 38;		
	  });
	  batch.push(new GMarker(new GLatLng(43.865793, -79.025806)));  
	  GEvent.addListener(batch[39], "click", function() {    
	  	batch[39].openInfoWindowHtml("Durham Centre<br>135 Harwood Ave North<br>Ajax, ON<br>L1Z 1E8<br>Phone: (905) 686-8555");  
		document.getElementById("toAddress").selectedIndex = 39;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.728533, -79.452048)));  
	  GEvent.addListener(batch[40], "click", function() {    
	  	batch[40].openInfoWindowHtml("Yorkdale Mall<br>3401 Dufferin St<br>North York, ON<br>M6A 3A1");  
		document.getElementById("toAddress").selectedIndex = 40;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.588208, -79.641721)));  
	  GEvent.addListener(batch[41], "click", function() {    
	  	batch[41].openInfoWindowHtml("Lawrence Square<br>700 Lawrence Ave West<br>North York, ON<b>M6A 3B4<br>Phone: (416) 782-0777<br>");  
		document.getElementById("toAddress").selectedIndex = 41;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.528699, -79.653976)));  
	  GEvent.addListener(batch[42], "click", function() {    
	  	batch[42].openInfoWindowHtml("Sheridan Centre<br>2225 Erin Mills Parkway<br>Mississauga, ON<br>L5K 1T9 <br>Phone: (905) 823-4444");  
		document.getElementById("toAddress").selectedIndex = 42;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.428468, -80.438049)));  
	  GEvent.addListener(batch[43], "click", function() {    
	  	batch[43].openInfoWindowHtml("Fairview Park Mall<br>2960 Kingsway Dr<br>Kitchener, ON<br>N2C 1X1<br>Phone: (519) 748-6116");  
		document.getElementById("toAddress").selectedIndex = 43;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.559295, -79.707793)));  
	  GEvent.addListener(batch[44], "click", function() {    
	  	batch[44].openInfoWindowHtml("Erin Mills Town Centre<br>5100 Erin Mills Parkway<br>Mississauga, ON, L5M 4Z5<br>Phone: (905) 569-6333<br>");
		document.getElementById("toAddress").selectedIndex = 44;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.779089,-79.411197)));  
	  GEvent.addListener(batch[45], "click", function() {    
	  	batch[45].openInfoWindowHtml("5447 Yonge St.<br>(Yonge St & Finch Ave)<br>North York, ON<br>M2N 5S1<br>Phone: (416) 590-7900");
		document.getElementById("toAddress").selectedIndex = 45;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.691801,-79.29112)));  
	  GEvent.addListener(batch[46], "click", function() {    
	  	batch[46].openInfoWindowHtml("Shoppers World Danforth<br>3003 Danforth Ave<br>Toronto, ON<br>Phone: (416) 690-4444");
		document.getElementById("toAddress").selectedIndex = 46;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.668376,-79.34044)));  
	  GEvent.addListener(batch[47], "click", function() {    
	  	batch[47].openInfoWindowHtml("346 Pape Ave<br>Toronto, ON<br>M4M 2X1<br>Phone: (416) 461-7707");
		document.getElementById("toAddress").selectedIndex = 47;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.726824,-79.300604)));  
	  GEvent.addListener(batch[48], "click", function() {    
	  	batch[48].openInfoWindowHtml("Golden Mile<br>1880 Eglinton Ave East<br>Scarborough, ON<br>M1L 2L1<br>Phone: (416) 750-1300");
		document.getElementById("toAddress").selectedIndex = 48;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.8372121, -79.0884262)));  
	  GEvent.addListener(batch[49], "click", function() {    
	  	batch[49].openInfoWindowHtml("Pickering Town Centre<br>(Inside Zellers)<br>1355 Kingston Rd<br>Pickering, ON L1V 1B8<br>Phone: (905) 839-8889");
		document.getElementById("toAddress").selectedIndex = 49;		
	  });	  
	  batch.push(new GMarker(new GLatLng(45.387721,-75.681038)));  
	  GEvent.addListener(batch[50], "click", function() {    
	  	batch[50].openInfoWindowHtml("Billings Bridge<br>2323 Riverside Dr.<br>Ottawa, ON<br>K1H 8L5<br>Phone: (613) 523-4120");
		document.getElementById("toAddress").selectedIndex = 50;		
	  });	  
	  batch.push(new GMarker(new GLatLng(45.425323,-75.637436)));  
	  GEvent.addListener(batch[51], "click", function() {    
	  	batch[51].openInfoWindowHtml("St. Laurent<br>1200 St Laurent Bl<br>Ottawa, ON<br>K1K 3B8<br>Phone: (613) 741-1222");
		document.getElementById("toAddress").selectedIndex = 51;		
	  });	  
	  batch.push(new GMarker(new GLatLng(45.346837,-75.730391)));  
	  GEvent.addListener(batch[52], "click", function() {    
	  	batch[52].openInfoWindowHtml("Merivale Mall<br>1642 Merivale Rd<br>Ottawa, ON<br>K2G 4A1<br>Phone: (613) 274-7349");
		document.getElementById("toAddress").selectedIndex = 52;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.789623,-79.353433)));  
	  GEvent.addListener(batch[53], "click", function() {    
	  	batch[53].openInfoWindowHtml("Peanut Plaza<br>3078 Don Mills Rd<br>North York, ON<br>M2J 3C1<br>Phone: (416) 494-5222");
		document.getElementById("toAddress").selectedIndex = 53;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.855945,-79.349699)));  
	  GEvent.addListener(batch[54], "click", function() {    
	  	batch[54].openInfoWindowHtml("First Markham Place<br>3255 Highway N 7 East<br>Markham, ON<br>L3R 3P9<br>Phone: (905) 305-9999");
		document.getElementById("toAddress").selectedIndex = 54;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.592328,-79.640536)));  
	  GEvent.addListener(batch[55], "click", function() {    
	  	batch[55].openInfoWindowHtml("SQUARE ONE<br>(Hurontario St & <br>Burnhamthorpe Rd;<br>Lower level by Walmart)<br>Phone: (905) 566-0800");
		document.getElementById("toAddress").selectedIndex = 55;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.359791, -80.319668)));  
	  GEvent.addListener(batch[56], "click", function() {    
	  	batch[56].openInfoWindowHtml("Cambridge Centre<br>355 Hespeler Road<br>Cambridge, ON<br>N1R 6B3<br>Phone: (519) 621-4444");
		document.getElementById("toAddress").selectedIndex = 56;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.704132,-79.757164)));  
	  GEvent.addListener(batch[57], "click", function() {    
	  	batch[57].openInfoWindowHtml("Centennial Mall<br>227 Vodden Street East<br>Brampton, ON<br>L6V 1N2<br>Phone: (905) 459-2007");
		document.getElementById("toAddress").selectedIndex = 57;	
	  });
	  batch.push(new GMarker(new GLatLng(43.730693,-79.765291)));  
	  GEvent.addListener(batch[58], "click", function() {    
	  	batch[58].openInfoWindowHtml("Trinity Commons<br>100 Great Lakes Dr<br>Brampton, ON<br>L6R 2K7<br>Phone: (905) 799-8999");
		document.getElementById("toAddress").selectedIndex = 58;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.216592,-79.706798)));  
	  GEvent.addListener(batch[59], "click", function() {    
	  	batch[59].openInfoWindowHtml("640 Queenston Road<br>(Kiosk inside Zellers)<br>Hamilton, ON<br>L8K 1K2<br>Phone: (905) 573-0400");
		document.getElementById("toAddress").selectedIndex = 59;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.881562,-79.445572)));  
	  GEvent.addListener(batch[60], "click", function() {    
	  	batch[60].openInfoWindowHtml("9555 Yonge St Unit #25<br>Richdmond Hill, ON<br>L4C 9M5<br>Phone: (905) 884-3111");
		document.getElementById("toAddress").selectedIndex = 60;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.715271, -79.723814)));  
	  GEvent.addListener(batch[61], "click", function() {    
	  	batch[61].openInfoWindowHtml("25 Peel Centre Dr<br>Brampton, ON<br>L6T 3R5<br>Phone: (905) 791-8888");
		document.getElementById("toAddress").selectedIndex = 61;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.7587729, -79.2302187)));  
	  GEvent.addListener(batch[62], "click", function() {    
	  	batch[62].openInfoWindowHtml("3469 Lawrence Ave East<br>Scarborough, ON<br>M1H 1B2<br>Phone: (416) 431-3332");
		document.getElementById("toAddress").selectedIndex = 62;		
	  });	  
	  batch.push(new GMarker(new GLatLng(43.7430963, -79.2197426)));  
	  GEvent.addListener(batch[63], "click", function() {    
	  	batch[63].openInfoWindowHtml("3182 Eglinton Ave East<br>Scarborough, ON<br>M1J 2H5<br>Phone: (416) 261-0660");
		document.getElementById("toAddress").selectedIndex = 63;		
	  });	  
 

	  mgr.addMarkers(batch, 0, 17);
	  mgr.refresh();


	  if ( gup('address') != '') {
	  	showAddress(gup('address'), gup('city'), 'ON');
	  } else if ( gup('loc') != '') {
		setLocation( gup('loc') );
	  }
	}

