		
	  	// this variable will collect the html which will eventually be placed in the side_bar
		var side_bar_html = "";
    	// arrays to hold copies of the markers and html used by the side_bar
      	// because the function closure trick doesnt work there
		var gmarkers = [];
		
		var htmls = [];
      	var to_htmls = [];
      	var from_htmls = [];
      	var i=0;

		// A function to create the marker and set up the event window
		function createMarker(point,zone,name,eventDate,html,url) {
        var marker = new GMarker(point);
        
		// for driving directions //
		
		// The info window version with the "to here" form open
        to_htmls[i] = html + '<br>Directions: <b>To here</b> - <a href="javascript:fromhere(' + i + ')">From here</a>' +
           '<br>Start address:<form action="http://maps.google.com/maps" method="get" target="_blank">' +
           '<input type="text" SIZE=40 MAXLENGTH=40 name="saddr" id="saddr" value="" /><br>' +
           '<INPUT value="Get Directions" TYPE="SUBMIT">' +
           '<input type="hidden" name="daddr" value="' + point.lat() + ',' + point.lng() + 
                  // "(" + name + ")" + 
           '"/>';
        // The info window version with the "to here" form open
        from_htmls[i] = html + '<br>Directions: <a href="javascript:tohere(' + i + ')">To here</a> - <b>From here</b>' +
           '<br>End address:<form action="http://maps.google.com/maps" method="get"" target="_blank">' +
           '<input type="text" SIZE=40 MAXLENGTH=40 name="daddr" id="daddr" value="" /><br>' +
           '<INPUT value="Get Directions" TYPE="SUBMIT">' +
           '<input type="hidden" name="saddr" value="' + point.lat() + ',' + point.lng() +
                  // "(" + name + ")" + 
           '"/>';
        // The inactive version of the direction info
        //html = html + '<br>Directions: <a href="javascript:tohere('+i+')">To here</a> - <a href="javascript:fromhere('+i+')">From here</a>';
		html = html + '<br>Directions: <a href="javascript:tohere('+i+')">To here</a>';
		
		
		
		// for driving directions //
      	GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        // save the info we need to use later for the side_bar
        gmarkers[i] = marker;
        htmls[i] = html;
        i++;
		gmarkers.push(marker);
        
		// add a line to the side_bar html
        side_bar_html += '<div class="sideBarSpacer"><img alt="GM.ca" src="/images/national-test-drive/spacer.gif" \/><\/div>'
		side_bar_html += '<div class="sideBarIcon"><a href="javascript:myclick(' + (gmarkers.length-2) + ')"><img alt="GM.ca" src="/images/national-test-drive/icon_infoW.gif" \/><\/a><\/div>'
		side_bar_html += '<div class="sideBarSpacer"><img alt="GM.ca" src="/images/national-test-drive/spacer.gif" \/><\/div>'
		side_bar_html += '<span class="date">' + eventDate + '<\/span><br>';
		
		side_bar_html += '<a href="javascript:myclick(' + (gmarkers.length-2) + ')">' + name + '<\/a><br><br>'; 
		
		
		return marker;
      	}
		
		// functions that open the directions forms
      function tohere(i) {
        gmarkers[i].openInfoWindowHtml(to_htmls[i]);
      }
      function fromhere(i) {
        gmarkers[i].openInfoWindowHtml(from_htmls[i]);
      }

		
		function addHeadline (headline) {
			
			anchorTag = headline.replace(/ /, "");
			anchorTag = anchorTag.replace(/ /, "");
			anchorTag = anchorTag.replace(/\+/, "");
			
			side_bar_html += '<span class="headLine">' + '<a name=' + anchorTag + ' class="header">' + headline + '<\/span><br><br>';
		}	  

		function load() {
		if (GBrowserIsCompatible()) {
			map = new GMap2(document.getElementById("map"));
			
			var country = "Canada";
			var geocoder = new GClientGeocoder();
	
			geocoder.getLatLng(country, function (point) {
			  if (!point) {
				// Handle error
			  } else {
				map.setCenter(new GLatLng(57.67,-93.2), 3); 
				map.addControl(new GLargeMapControl3D ());
				//map.addControl(new GMapTypeControl());
			  }
		});
 
 addHeadline("Calgary");

// set up the second marker
   var point2 = new GLatLng(51.20404, -113.99428);
   var html_text2 = 'CrossIron Mills';
   var marker2 = createMarker(point2,"Calgary","CrossIron Mills","July 2 & 3","<h2>CrossIron Mills<\/h2><p>261055 CrossIron Blvd. <br \/>Rocky View, AB T4A 0G3<br \/><a href='http://www.crossironmills.com/'>www.crossironmills.com<\/a><br />Saturday, July 2 - 10 a.m. to 6 p.m.<br />Sunday, July 3 - 11 a.m. to 5 p.m.<\/p>","www.crossironmills.com");
   map.addOverlay(marker2);

// set up the first marker
   var point1 = new GLatLng(51.05047, -114.05904);
   var html_text1 = 'Calgary Stampede';
   var marker1 = createMarker(point1,"Calgary","Calgary Stampede","July 8 - 17","<h2>Calgary Stampede<\/h2>1410 Olympic Way SE<br \/>Calgary, AB T2G 2W1<br \/><p><a href='http://calgarystampede.com/'>calgarystampede.com<\/a><br />Friday, July 8 - Sunday, July 17<br />11 a.m. to 6 p.m.<\/p>","calgarystampede.com");
   map.addOverlay(marker1);
 
 addHeadline("Cambridge");
  
// set up the 46 marker
   var point46 = new GLatLng(43.39389, -80.31992);
   var html_text46 = 'Cambridge Centre';
   var marker46 = createMarker(point46,"Toronto + GTA","Cambridge Centre","June 11 & 12","<h2>Cambridge Centre<\/h2><p>355 Hespeler Rd.<br \/>Cambridge, ON N1R 6B3<br \/><a href='http://www.cambridge-centre.com/index.php'>www.cambridge-centre.com<\/a><br />Saturday, June 11 - 10 a.m. to 6 p.m.<br />Sunday, June 12 - 11 a.m. to 5 p.m.<\/p>","www.cambridge-centre.com");
   map.addOverlay(marker46); 
   
  
  addHeadline("Camrose");
  
// set up the 61 marker
   var point61 = new GLatLng(53.0212, -112.834);
   var html_text61 = 'Big Valley Jamboree';
   var marker61 = createMarker(point61,"Toronto + GTA","Big Valley Jamboree","July 29 - 31","<h2>Big Valley Jamboree<\/h2><p>Camrose, AB<br \/><a href='http://www.bigvalleyjamboree.com/'>www.bigvalleyjamboree.com<\/a><br />Friday, July 29 - 10 a.m. to 3 p.m.<br />Saturday, July 30 - 10 a.m. to 3 p.m.<br />Sunday, July 31 - 10 a.m. to 3 p.m.<\/p>","www.bigvalleyjamboree.com");
   map.addOverlay(marker61); 
   

   
addHeadline("Edmonton");

// set up the 4 marker
   var point4 = new GLatLng(53.48556, -113.51360);
   var html_text4 = 'Southgate Shopping Centre';
   var marker4 = createMarker(point4,"Edmonton","Southgate Shopping Centre","July 23 & 24","<h2>Southgate Shopping Centre<\/h2><p>5015 - 111 Street NW<br \/>Edmonton, AB T6H 4M6<br \/><a href='http://www.southgatecentre.com/'>www.southgatecentre.com/<\/a><br />Saturday, July 23 - 10 a.m. to 6 p.m.<br />Sunday, July 24 - 11 a.m. to 5 p.m.<\/p>","www.southgatecentre.com");
   map.addOverlay(marker4);
	
// set up the 3 marker
   var point3 = new GLatLng(53.5231, -113.6224);
   var html_text3 = 'West Edmonton Mall';
   var marker3 = createMarker(point3,"Edmonton","West Edmonton Mall","Aug 6 & 7","<h2>West Edmonton Mall<\/h2><p>8882-170 Street NW<br \/>Edmonton, AB T5T 4J2<br \/><a href='http://www.wem.ca'>www.wem.ca<\/a><br />Saturday, August 6 - 10 a.m. to 6 p.m.<br />Sunday, August 7 - 11 a.m. to 5 p.m.<\/p>","www.wem.ca");
   map.addOverlay(marker3);
   
addHeadline("Gatineau");

// set up the 71 marker
   var point71 = new GLatLng(45.47607, -75.69834);
   var html_text71 = 'Galerie de l\'Outaouais';
   var marker71 = createMarker(point71,"Gatineau","Galerie de l\'Outaouais","Aug 20 & 21","<h2>Galerie de l\'Outaouais<\/h2><p>1100, Maloney Blvd. West<br \/>Gatineau, QC J8T 6G3<br \/><a href='http://www.lespromenades.com/accueil.php?lang=en_CA'>www.lespromenades.com<\/a><br />Saturday, August 20 - 10 a.m. to 6 p.m.<br />Sunday, August 21 - 11 a.m. to 5 p.m.<\/p>","www.lespromenades.com");
   map.addOverlay(marker71);
   
addHeadline("Hamilton");
 
// set up the 6 marker
   var point6 = new GLatLng(43.21763, -79.86460);
   var html_text6 = 'Lime Ridge Mall';
   var marker6 = createMarker(point6,"Hamilton","Lime Ridge Mall","June 18 & 19","<h2>Lime Ridge Mall<\/h2><p>999 Upper Wentworth Street<br \/>Hamilton, ON L9A 4X5<br \/><a href='http://www.limeridge.ca/'>www.limeridge.ca<\/a><br />Saturday, June 18 - 10 a.m. to 6 p.m.  <br />Sunday, June 19 - 11 a.m. to 5 p.m.<\/p>","www.limeridge.ca");
   map.addOverlay(marker6);   
	
addHeadline("Kitchener-Waterloo");
	
// set up the 7 marker
   var point7 = new GLatLng(43.49820, -80.52953);
   var html_text7 = 'Conestoga Mall';
   var marker7 = createMarker(point7,"Kitchener-Waterloo","Conestoga Mall","May 28 & 29","<h2>Conestoga Mall<\/h2><p>550 King Street North<br \/>Waterloo, ON N2L 5W6<br \/><a href='http://conestoga.shopping.ca/'>conestoga.shopping.ca<\/a><br />Saturday, May 28 - 10 a.m. to 6 p.m. <br />Sunday, May 29 - 11 a.m. to 5 p.m.<\/p>","conestoga.shopping.ca");
   map.addOverlay(marker7);   
   
addHeadline("London");

// set up the 10 marker
   var point10 = new GLatLng(43.02549, -81.28177);
   var html_text10 = 'Masonville Place';
   var marker10 = createMarker(point10,"London","Masonville Place","May 14 & 15","<h2>Masonville Place<\/h2><p>1680 Richmond Street North<br \/>London, ON N6G 3Y9<br \/><a href='http://www.masonvilleplace.ca/'>www.masonvilleplace.ca<\/a><br />Saturday, May 14 - 10 a.m. to 6 p.m.<br />Sunday, May 15 - 11 a.m. to 5 p.m.<\/p>","www.masonvilleplace.ca");
   map.addOverlay(marker10);   
      
// set up the 9 marker
   var point9 = new GLatLng(42.93274, -81.22231);
   var html_text9 = 'White Oaks Mall';
   var marker9 = createMarker(point9,"London","White Oaks Mall","May 21 & 22","<h2>White Oaks Mall<\/h2><p>1105 Wellington Road<br \/>London, ON N6E 1V4<br \/><a href='http://www.whiteoaksmall.ca'>www.whiteoaksmall.ca<\/a><br />Saturday, May 21 - 10 a.m. to 6 p.m<br />Sunday, May 22 - 11 a.m. to 5 p.m.<\/p>","www.whiteoaksmall.ca");
   map.addOverlay(marker9); 

addHeadline("Montreal");

// set up the 64 marker
   var point64 = new GLatLng(45.5127, -73.5684);
   var html_text64 = 'Just for Laughs';
   var marker64 = createMarker(point64,"Montreal","Just for Laughs","July 21 - July 31","<h2>Just for Laughs<\/h2><p>Montreal, QC<br \/><a href='http://www.hahaha.com/en/montreal/overview'>www.hahaha.com/en/montreal/overview<\/a><br />Thursday, Jul 21 - Friday, Jul 22 - 5pm to 10pm<br />Saturday, Jul 23 - Sunday, Jul 24 - 3pm to 10pm<br />Monday, Jul 25 - Friday, Jul 29 - 5pm to 10pm<br />Saturday, July 30 - Sunday, July 31 - 3pm to 10pm<\/p>","www.hahaha.com/en/montreal/overview");
   map.addOverlay(marker64);  

// set up the 65 marker
   var point65 = new GLatLng(45.53436, -73.63308);
   var html_text65 = 'Rogers Cup';
   var marker65 = createMarker(point65,"Montreal","Rogers Cup","Aug 9 - Aug 13","<h2>Rogers Cup<\/h2><p>Uniprix Stadium<br \/>285, rue Fallon Ouest<br \/>Montreal, QC H2R 2W1<br \/><a href='http://www.rogerscup.com/men/english/home.php'>www.rogerscup.com/men/english/home.php<\/a><br />Tuesday, August 9 - Saturday, August 13 - 11am to 7pm<\/p>","www.rogerscup.com/men/english/home.php");
   map.addOverlay(marker65);     
   
// set up the 66 marker
   var point66 = new GLatLng(45.60250, -73.56467);
   var html_text66 = 'Galeries d\'Anjou';
   var marker66 = createMarker(point66,"Montreal","Galeries d\'Anjou","Sep 10 & 11","<h2>Galeries d\'Anjou<\/h2><p>7999 boulevard Les Galeries d'Anjou<br \/>Anjou, QC H1M 1W9<br \/><a href='http://www.lesgaleriesdanjou.ca/EN/Pages/default.aspx'>www.lesgaleriesdanjou.ca<\/a><br />Saturday, September 10 - 10 a.m. to 6 p.m.<br />Sunday, September 11 - 11 a.m. to 5 p.m. <\/p>","www.lesgaleriesdanjou.ca");
   map.addOverlay(marker66);   

// set up the 67 marker
   var point67 = new GLatLng(45.46396, -73.83141);
   var html_text67 = 'Fairview Pointe Claire';
   var marker67 = createMarker(point67,"Montreal","Fairview Pointe Claire","Sep 17 & 18","<h2>Fairview Pointe Claire<\/h2><p>6801 Trans-Canada Highway<br \/>Montreal, QC H9R 5J1<br \/><a href='http://www.fairviewpointeclaire.ca/EN/Pages/default.aspx'>www.fairviewpointeclaire.ca<\/a><br />Saturday, September 17 - 10 a.m. to 6 p.m.<br />Sunday, September 18 - 11 a.m. to 5 p.m.  <\/p>","www.fairviewpointeclaire.ca");
   map.addOverlay(marker67);   

// set up the 68 marker
   var point68 = new GLatLng(45.57033, -73.75187);
   var html_text68 = 'Carrefour Laval';
   var marker68 = createMarker(point68,"Montreal","Carrefour Laval","Sep 24 & 25","<h2>Carrefour Laval<\/h2><p>3003 boulevard Le Carrefour<br \/>Laval, QC H7T 1C7<br \/><a href='http://www.carrefourlaval.ca/EN/Pages/default.aspx'>www.carrefourlaval.ca<\/a><br />Saturday, September 24 - 10 a.m. to 6 p.m.<br />Sunday, September 25 - 11 a.m. to 5 p.m. <\/p>","www.carrefourlaval.ca");
   map.addOverlay(marker68);  

// set up the 69 marker
   var point69 = new GLatLng(45.47338, -73.46987);
   var html_text69 = 'Mail Champlain';
   var marker69 = createMarker(point69,"Montreal","Mail Champlain","Oct 1 & 2","<h2>Mail Champlain<\/h2><p>2151 boul Lapiniere<br \/>Brossard, QC J4W 2T5<br \/><a href='http://www.mailchamplain.ca/en/'>www.mailchamplain.ca<\/a><br />Saturday, October 1 - 10 a.m. to 6 p.m.<br />Sunday, October 2 - 11 a.m. to 5 p.m.<\/p>","www.mailchamplain.ca");
   map.addOverlay(marker69);  
   
addHeadline("Ottawa");
   
// set up the 55 marker
   var point55 = new GLatLng(45.34903, -75.80481);
   var html_text55 = 'Bayshore Shopping Centre';
   var marker55 = createMarker(point55,"Ottawa","Bayshore Shopping Centre","Aug 6 & 7","<h2>Bayshore Shopping Centre<\/h2><p>100 Bayshore Drive<br \/>Ottawa, ON K2B 8C1<br \/><a href='http://www.bayshoreshoppingcentre.com/'>www.bayshoreshoppingcentre.com<\/a><br />Saturday, August 6 - 10 a.m. to 6 p.m.<br />Sunday, August 7 - 11 a.m. to 5 p.m.<\/p>","www.bayshoreshoppingcentre.com");
   map.addOverlay(marker55);  
   
// set up the 56 marker
   var point56 = new GLatLng(45.42207, -75.63931);
   var html_text56 = 'St-Laurent Centre';
   var marker56 = createMarker(point56,"Ottawa","St-Laurent Centre","Aug 13 & 14","<h2>St-Laurent Centre<\/h2><p>1200 St. Laurent Blvd.<br \/>Ottawa, ON K1K 3B8<br \/><a href='http://www.stlaurent-centre.com/'>www.stlaurent-centre.com<\/a><br />Saturday, August 13 - 10 a.m. to 6 p.m.<br />Sunday, August 14 - 11 a.m. to 5 p.m.<\/p>","www.stlaurent-centre.com");
   map.addOverlay(marker56);  

addHeadline("Quebec City");
   
// set up the 69 marker
   var point69 = new GLatLng(46.79815, -71.17034);
   var html_text69 = 'Les Galeries Chagnon';
   var marker69 = createMarker(point69,"Quebec","Les Galeries Chagnon","Aug 27 & 28","<h2>Les Galeries Chagnon<\/h2><p>1200 boul. Alphonse-Desjardins<br \/>Levis, QC G6V 6Y8<br \/><a href='http://www.galerieschagnon.ca/default.aspx?lang=en-CA'>www.galerieschagnon.ca<\/a><br />Saturday, August 27 - 10 a.m. to 6 p.m.<br />Sunday, August 28 - 11 a.m. to 5 p.m.<\/p>","www.galerieschagnon.ca");
   map.addOverlay(marker69);  
/*
// set up the 70 marker
   var point70 = new GLatLng(45.47338, -73.46987);
   var html_text70 = 'Galeries Chagnon &#224; Levis';
   var marker70 = createMarker(point70,"Quebec","Galeries Chagnon &#224; Levis","Aug 27 & 28","<h2>Galeries Chagnon &#224; Levis<\/h2><p>1200 boul. Alphonse-Desjardins<br \/>Levis, QC G6V 6Y8<br \/><a href='http://www.galerieschagnon.ca/default.aspx?lang=en-CA'>www.galerieschagnon.ca<\/a><br />Aug 27 & 28<br />Saturday, August 27 - 10 a.m. to 6 p.m.<br />Sunday, August 28 - 11 a.m. to 5 p.m.<\/p>","www.galerieschagnon.ca");
   map.addOverlay(marker70); 
*/
addHeadline("Regina");
   
// set up the 21 marker
   var point21 = new GLatLng(50.45315, -104.63180);
   var html_text21 = 'Western Canada Farm Progress Show';
   var marker21 = createMarker(point21,"Regina","Western Canada Farm Progress Show","June 15 - 17","<h2>Western Canada Farm Progress Show<\/h2><p>Evraz Place<br \/>1700 Elphinstone Street<br \/>Regina, SK S4P 2Z6<br \/><a href='http://www.myfarmshow.com/'>www.myfarmshow.com/<\/a><br />Friday, July 15 - 9:30am - 5:30pm<br />Saturday, July 16 - 9:30am - 5:30pm<br />Sunday, July 17 - 9:30am - 5:30pm<\/p>","www.myfarmshow.com");
   map.addOverlay(marker21);  
   
addHeadline("Toronto + GTA");

// set up the 28 marker
   var point28 = new GLatLng(43.34527, -79.79420);
   var html_text28 = 'Burlington Mall';
   var marker28 = createMarker(point28,"Toronto + GTA","Burlington Mall","June 4 & 5","<h2>Burlington Mall<\/h2><p>777 Guelph Line<br \/>Burlington, ON L7R 3N2<br \/><a href='http://burlingtonmall.shopping.ca'>burlingtonmall.shopping.ca<\/a><br />Saturday, June 4 - 10 a.m. to 6 p.m.<br />Sunday, June 5 - 11 a.m. to 5 p.m.<\/p>","http://burlingtonmall.shopping.ca");
   map.addOverlay(marker28); 

// set up the 75 marker
   var point75 = new GLatLng(43.64678, -79.37772);
   var html_text75 = 'Motor Expo';
   var marker75 = createMarker(point75,"Toronto + GTA","Motor Expo","June 20 - 24","<h2>Motor Expo<\/h2><p>Brookfield Place<br \/>181 Bay Street<br \/>Toronto, ON M5J 2S1<br \/><a href='http://www.motorexpo.com'>www.motorexpo.com<\/a><br />June 20 - 24 - 10 a.m. to 4 p.m.<br />BY APPOINTMENT ONLY<\/p>","http://www.motorexpo.com");
   map.addOverlay(marker75); 

// set up the 57 marker
   var point57 = new GLatLng(43.82540, -79.30756);
   var html_text57 = 'Taste of Asia Festival';
   var marker57 = createMarker(point57,"Toronto + GTA","Taste of Asia Festival","June 25 & 26","<h2>Taste of Asia Festival<\/h2><p>7077 Kennedy Road<br \/>Markham, ON L3R 0Y8<br \/><a href='http://www.guidingstar.ca/Taste_of_Asia.htm'>www.guidingstar.ca/Taste_of_Asia.htm<\/a><br />Saturday, June 25 - 10 a.m. to 6 p.m.<br />Sunday, June 26 - 10 a.m. to 6 p.m.<\/p>","www.guidingstar.ca/Taste_of_Asia.htm");
   map.addOverlay(marker57);    

// set up the 58 marker
   var point58 = new GLatLng(43.82540, -79.30756);
   var html_text58 = 'Vaughan Mills';
   var marker58 = createMarker(point58,"Toronto + GTA","Vaughan Mills","June 25 & 26","<h2>Vaughan Mills<\/h2><p>1 Bass Pro Mills Drive<br \/>Vaughn, ON L4K 5W4<br \/><a href='http://www.vaughanmills.com/'>www.vaughanmills.com<\/a><br />Saturday, June 25 - 10 a.m. to 6 p.m.<br />Sunday, June 26 - 11 a.m. to 5 p.m.<\/p>","www.vaughanmills.com");
   map.addOverlay(marker58);    
   
// set up the 24 marker
   var point24 = new GLatLng(43.63255, -79.42154);
   var html_text24 = 'CHIN International Picnic';
   var marker24 = createMarker(point24,"Toronto + GTA","CHIN International Picnic","July 1,2,3","<h2>CHIN Picnic<\/h2><p>210 Princes Boulevard<br \/>Toronto, ON M6K 3C3<br \/><a href='http://www.scotiabankchinpicnic.com/pagedisplay.aspx?i=294'>http://www.scotiabankchinpicnic.com<\/a><br />Friday, July 1 -  11 a.m. to 6 p.m.  <br />Saturday, July 2 - 11 a.m. to 6 p.m.<br />Sunday, July 3 - 11 a.m. to 6 p.m.<\/p>","http://www.scotiabankchinpicnic.com");
   map.addOverlay(marker24);  
  
// set up the 31 marker
   var point31 = new GLatLng(43.77520, -79.25387);
   var html_text31 = 'Scarborough Town Centre';
   var marker31 = createMarker(point31,"Toronto + GTA","Scarborough Town Centre","July 9 & 10","<h2>Scarborough Town Centre<\/h2><p>300 Borough Drive<br \/>Scarborough, ON M1P 4P5<br \/><a href='http://www.scarboroughtowncentre.com'>www.scarboroughtowncentre.com<\/a><br />Saturday, July 9 - 10 a.m. to 6 p.m.<br />Sunday, July 10 - 11 a.m. to 5 p.m.<\/p>","www.scarboroughtowncentre.com");
   map.addOverlay(marker31); 

// set up the 30 marker
   var point30 = new GLatLng(43.86584, -79.29181);
   var html_text30 = 'Markville Shopping Centre';
   var marker30 = createMarker(point30,"Toronto + GTA","Markville Shopping Centre","July 16 & 17","<h2>Markville Shopping Centre<\/h2><p>5000 Highway 7 East<br \/>Markham, ON L3R 4M9<br \/><a href='http://www.markville.ca'>www.markville.ca<\/a><br />Saturday, July 16 - 10 a.m. to 6 p.m. <br />Sunday, July 17 - 11 a.m. to 5 p.m.<\/p>","www.markville.ca");
   map.addOverlay(marker30); 
   
// set up the 29 marker
   var point29 = new GLatLng(43.59331, -79.64271);
   var html_text29 = 'Square One Shopping Centre';
   var marker29 = createMarker(point29,"Toronto + GTA","Square One Shopping Centre","July 23 & 24","<h2>Square One Shopping Centre<\/h2><p>100 City Centre Drive<br \/>Mississauga, ON L5B 2C9<br \/><a href='http://www.shopsquareone.com'>www.shopsquareone.com<\/a><br />Saturday, July 23 - 10 a.m. to 6 p.m.<br />Sunday, July 24 - 11 a.m. to 5 p.m.<\/p>","www.shopsquareone.com");
   map.addOverlay(marker29); 
   
// set up the 27 marker
   var point27 = new GLatLng(43.71560, -79.72375);
   var html_text27 = 'Bramalea City Centre';
   var marker27 = createMarker(point27,"Toronto + GTA","Bramalea City Centre","July 30 & 31","<h2>Bramalea City Centre<\/h2><p>25 Peel Centre Drive<br \/>Brampton, ON L6T 3R5<br \/><a href='http://www.bramaleacitycentre.ca'>www.bramaleacitycentre.ca<\/a><br />Saturday, July 30 - 10 a.m. to 6 p.m.<br />Sunday, July 31 - 11 a.m. to 5 p.m.<\/p>","www.bramaleacitycentre.ca");
   map.addOverlay(marker27); 



// set up the 52 marker
   var point52 = new GLatLng(43.85436, -79.43343);
   var html_text52 = 'Hillcrest Mall';
   var marker52 = createMarker(point52,"Toronto + GTA","Hillcrest Mall","Aug 6 & 7","<h2>Hillcrest Mall<\/h2><p>9350 Yonge St.<br \/>Richmond Hill, ON<br \/>L4C 5G2<br \/><a href='http://www.hillcrestmall.ca/'>www.hillcrestmall.ca/<\/a><br />Saturday, August 6 - 10 a.m. to 6 p.m.<br />Sunday, August 7 - 11 a.m. to 5 p.m.<\/p>","www.hillcrestmall.ca");
   map.addOverlay(marker52); 

// set up the 59 marker
   var point59 = new GLatLng(43.783, -79.511);
   var html_text59 = 'Rogers Cup';
   var marker59 = createMarker(point59,"Toronto + GTA","Rogers Cup","Aug 9 - 13","<h2>Rogers Cup<\/h2><p>Rexall Centre (York University)<br \/>1 Shoreham Court<br \/>Toronto, ON<br \/>L5M 7E1<br \/><a href='http://www.rogerscup.com/'>www.rogerscup.com<\/a><br />August 9 - 13 - 11 a.m. to 7 p.m.<\/p>","www.rogerscup.com");
   map.addOverlay(marker59); 
   
// set up the 35 marker
   var point35 = new GLatLng(43.55935, -79.70727); 
   var html_text35 = 'Erin Mills Town Centre';
   var marker35 = createMarker(point35,"Toronto + GTA","Erin Mills Town Centre","Aug 13 & 14","<h2>Erin Mills Town Centre<\/h2><p>5100 Erin Mills Parkway<br \/>Mississauga, ON L5M 7E1<br \/><a href='http://www.erinmills.ca'>www.erinmills.ca<\/a><br />Saturday, August 13 - 10 a.m. to 6 p.m.  <br />Sunday, August 14 - 11 a.m. to 5 p.m.<\/p>","www.erinmills.ca");
   map.addOverlay(marker35); 
      
// set up the 32 marker
   var point32 = new GLatLng(43.63262, -79.42161);
   var html_text32 = 'CNE';
   var marker32 = createMarker(point32,"Toronto + GTA","CNE","Aug 19 - Sept 5","<h2>Canadian National Exhibition<\/h2><p>Exhibition Place<br \/>Toronto, ON M6K 3C3<br \/><a href='http://www.theex.com'>www.theex.com<\/a><br />Friday, August 19  - Monday, September 5 11am to 7pm<\/p>","www.theex.com");
   map.addOverlay(marker32); 
   
// set up the 47 marker
   var point47 = new GLatLng(43.80973, -79.45246);
   var html_text47 = 'The Promenade';
   var marker47 = createMarker(point47,"Toronto + GTA","The Promenade","Sept 10 & 11","<h2>The Promenade<\/h2><p>1 Promenade Circle<br \/>Thornhill, ON L4J 4P8<br \/><a href='http://www.promenade.ca'>www.promenade.ca<\/a><br />Saturday, September 10 - 10 a.m. to 6 p.m.<br />Sunday, September 11 - 11 a.m. to 5 p.m.<\/p>","http://www.promenade.ca");
   map.addOverlay(marker47); 

// set up the 60 marker
   var point60 = new GLatLng(43.6481, -79.3904);
   var html_text60 = 'TIFF';
   var marker60 = createMarker(point60,"Toronto + GTA","TIFF","Sept 13 - 17","<h2>TIFF<\/h2><p>King Street West<br \/>Toronto, ON<br \/><a href='http://www.tiff.net/thefestival'>www.tiff.net/thefestival<\/a><br />Tuesday, September 13 - Saturday, September 17 <br />9am to 4pm<\/p>","www.tiff.net/thefestival");
   map.addOverlay(marker60);    
 
// set up the 48 marker
   var point48 = new GLatLng(43.66758, -79.73510);
   var html_text48 = 'Shoppers World Brampton';
   var marker48 = createMarker(point48,"Toronto + GTA","Shoppers World Brampton","Sep 17 & 18","<h2>Shoppers World Brampton<\/h2><p>499 Main Street South<br \/>Brampton, ON  L6Y 1N7<br \/><a href='http://www.shoppersworldbrampton.com/'>www.shoppersworldbrampton.com/<\/a><br />Saturday, September 17 - 10 a.m. to 6 p.m.<br />Sunday, September 18 - 11 a.m. to 5 p.m. <\/p>","www.shoppersworldbrampton.com");
   map.addOverlay(marker48); 
 
// set up the 49 marker
   var point49 = new GLatLng(43.84957, -79.35007);
   var html_text49 = 'First Markham Place';
   var marker49 = createMarker(point49,"Toronto + GTA","First Markham Place","Sep 24 & 25","<h2>First Markham Place<\/h2><p>3255 Highway 7 East<br \/>Markham, ON  L3R 3P9<br \/><a href='http://www.firstmarkhamplace.com/index.php'>www.firstmarkhamplace.com<\/a><br />Saturday, September 24 - 10 a.m. to 6 p.m.<br />Sunday, September 25 - 11 a.m. to 5 p.m.<\/p>","www.firstmarkhamplace.com");
   map.addOverlay(marker49); 

// set up the 26 marker
   var point26 = new GLatLng(43.77561, -79.34693);
   var html_text26 = 'Fairview Mall';
   var marker26 = createMarker(point26,"Toronto + GTA","Fairview Mall","Oct 1 & 2","<h2>Fairview Mall<\/h2><p>1800 Sheppard Ave. East<br \/>Toronto, ON M2J 5A7<br \/><a href='http://www.fairviewmall.ca'>www.fairviewmall.ca<\/a><br />Saturday, October 1 - 10 a.m. to 6 p.m.  <br />Sunday, October 2 - 11 a.m. to 5 p.m.<\/p>","www.fairviewmall.ca");
   map.addOverlay(marker26); 

// set up the 72 marker
   var point72 = new GLatLng(43.65604, -79.38067);
   var html_text72 = 'Chevrolet Driving Our World Forward <br \/>at Yonge and Dundas Square';
   var marker72 = createMarker(point72,"Toronto + GTA","Yonge and Dundas Square","Oct 4","<h2>Chevrolet Driving Our World Forward<br \/> at Yonge and Dundas Square<\/h2><p>1 Dundas Street East<br \/>Toronto, ON M5B 2R8<br \/>Tuesday, October 4 - 10 a.m. to 6 p.m. <\/p>","");
   map.addOverlay(marker72); 
   
// set up the 34 marker
   var point34 = new GLatLng(43.59333, -79.64277);
   var html_text34 = 'Square One Shopping Centre';
   var marker34 = createMarker(point34,"Toronto + GTA","Square One Shopping Centre","Oct 8 & 9","<h2>Square One Shopping Centre<\/h2><p>100 City Centre Drive<br \/>Mississauga, ON L5B 2C9<br \/><a href='http://www.shopsquareone.com'>www.shopsquareone.com<\/a><br />Saturday, October 8 - 10 a.m. to 6 p.m.<br />Sunday, October 9 - 11 a.m. to 5 p.m.<\/p>","www.shopsquareone.com");
   map.addOverlay(marker34);
   
// set up the 50 marker
   var point50 = new GLatLng(43.77520, -79.25387);
   var html_text50 = 'Scarborough Town Centre';
   var marker50 = createMarker(point50,"Toronto + GTA","Scarborough Town Centre","Oct 15 & 16","<h2>Scarborough Town Centre<\/h2><p>300 Borough Drive<br \/>Scarborough, ON M1P 4P5<br \/><a href='http://www.scarboroughtowncentre.com'>www.scarboroughtowncentre.com<\/a><br />Saturday, October 15 - 10 a.m. to 6 p.m.<br />Sunday, October 16 - 11 a.m. to 5 p.m.<\/p>","www.scarboroughtowncentre.com");
   map.addOverlay(marker50); 
   
// set up the 51 marker
   var point51 = new GLatLng(43.46186, -79.68747);
   var html_text51 = 'Oakville Place';
   var marker51 = createMarker(point51,"Toronto + GTA","Oakville Place","Oct 22 & 23","<h2>Oakville Place<\/h2><p>240 Leighland Ave<br \/>Oakville, ON L6H 3H6<br \/><a href='http://www.oakvilleplace.com'>www.oakvilleplace.com<\/a><br />Saturday, October 22 - 10 a.m. to 6 p.m.<br />Sunday, October 23 - 11 a.m. to 5 p.m.<\/p>","http://www.oakvilleplace.com");
   map.addOverlay(marker51); 
   
// set up the 73 marker
   var point73 = new GLatLng(43.64261, -79.38414);
   var html_text73 = 'National Women\'s Show';
   var marker73 = createMarker(point73,"Toronto + GTA","National Women's Show","Nov 11 - 13","<h2>National Women\'s Show<\/h2><p>Metro Toronto Convention Centre - South Building<br \/>222 Bremner Blvd.<br \/>Toronto, ON M5V 3L9<br \/>Friday, November 11 - 12pm to 8pm<br />Saturday, Nobember 12 - 10am to 5pm <br />Sunday, November 13 - 10am to 4pm <\/p>","");
   map.addOverlay(marker73); 
   
   
addHeadline("Vancouver");
   
   // set up the 40 marker
   var point40 = new GLatLng(49.27727, -122.79939);
   var html_text40 = 'Coquitlam Centre';
   var marker40 = createMarker(point40,"Vancouver","Coquitlam Centre","Aug 13 & 14","<h2>Coquitlam Centre<\/h2><p>2929 Barnet Highway<br \/>Coquitlam BC V3B 5R5<br \/><a href='http://www.coquitlamcentre.com'>www.coquitlamcentre.com<\/a><br />Saturday, August 13 - 10 a.m. to 6 p.m.   <br />Sunday, August 14 - 11 a.m. to 5 p.m.<\/p>","www.coquitlamcentre.com");
   map.addOverlay(marker40);
   
// set up the 38 marker
   var point38 = new GLatLng(49.26904, -123.00199);
   var html_text38 = 'Brentwood Town Centre';
   var marker38 = createMarker(point38,"Vancouver","Brentwood Town Centre","Aug 20 & 21","<h2>Brentwood Town Centre<\/h2><p>4567 Lougheed Hwy.<br \/>Burnaby, B.C. V5C 3Z6<br \/><a href='http://www.brentwoodmall.com'>www.brentwoodmall.com<\/a><br />Saturday, August 20 - 10 a.m. to 6 p.m.<br />Sunday, August 21 - 11 a.m. to 5 p.m.<\/p>","www.brentwoodmall.com");
   map.addOverlay(marker38);
   
// set up the 39 marker
   var point39 = new GLatLng(49.32718, -123.14563);
   var html_text39 = 'Park Royal Shopping Centre';
   var marker39 = createMarker(point39,"Vancouver","Park Royal Shopping Centre","Aug 27 & 28","<h2>Park Royal Shopping Centre<\/h2><p>2002 Park Royal South<br \/>West Vancouver, BC V7T 2W4<br \/><a href='http://www.shopparkroyal.com'>www.shopparkroyal.com<\/a><br />Saturday, August 27 - 10 a.m. to 6 p.m.<br />Sunday, August 28 - 11 a.m. to 5 p.m.<\/p>","www.shopparkroyal.com");
   map.addOverlay(marker39);
   
// set up the 41 marker
   var point41 = new GLatLng(49.23212, -123.11958);
   var html_text41 = 'Oakridge Centre';
   var marker41 = createMarker(point41,"Vancouver","Oakridge Centre","Sept 3 & 4","<h2>Oakridge Centre<\/h2><p>650 West 41st Avenue<br \/>Vancouver, BC V5Z 2M9<br \/><a href='http://www.oakridgecentre.com/'>www.oakridgecentre.com/<\/a><br />Saturday, September 3 - 10 a.m. to 6 p.m.<br />Sunday, September 4 - 11 a.m. to 5 p.m.<\/p>","http://www.oakridgecentre.com/");
   map.addOverlay(marker41);

// set up the 53 marker
   var point53 = new GLatLng(49.0837376, -122.6459028);
   var html_text53 = 'Langley Cruise-In';
   var marker53 = createMarker(point53,"Vancouver","Langley Cruise-In","Sept 10","<h2>Langley Cruise-In<\/h2><p>Downtown Langley, BC<br \/><a href='http://www.langleycruise-in.com'>www.langleycruise-in.com<\/a><br />Saturday, September 10 - 9am to 5pm<\/p>","http://www.langleycruise-in.com");
   map.addOverlay(marker53);

 

   // set up the 63 marker
   var point63 = new GLatLng(49.17503, -123.13255);
   var html_text63 = 'Lansdowne Centre';
   var marker63 = createMarker(point63,"Vancouver","Lansdowne Centre","Sept 17 & 18","<h2>Lansdowne Centre<\/h2><p>5300 No. 3 Road<br \/>Richmond, BC V6X 2X9<br \/><a href='http://lansdowne-centre.com/'>lansdowne-centre.com<\/a><br />Saturday, September 17 -10 a.m. to 6 p.m.<br />Sunday, September 18 - 11 a.m. to 5 p.m.<\/p>","lansdowne-centre.com");
   map.addOverlay(marker63);   
   
	 // set up the 73 marker
   var point73 = new GLatLng(49.112831, -122.677308);
   var html_text73 = 'Willowbrook';
   var marker73 = createMarker(point73,"Vancouver","Willowbrook","Sept 24 & 25","<h2>Willowbrook<\/h2><p>19705 Fraser Highway<br \/>Langley, BC V3A 7E9<br \/><a href='http://www.shopwillowbrook.com'>www.shopwillowbrook.com<\/a><br />Saturday, September 24 -10 a.m. to 6 p.m.<br />Sunday, September 25 - 11 a.m. to 5 p.m.<\/p>","www.shopwillowbrook.com");
   map.addOverlay(marker73);   
	 
   /*
addHeadline("Whistler");

// set up the 62 marker
   var point62 = new GLatLng(50.1166, -122.9594);
   var html_text62 = 'Telus Ski and Snowboard Festival (Whistler)';
   var marker62 = createMarker(point62,"Whistler","Telus Ski and Snowboard Festival (Whistler)","April 22 - 24","<h2>Telus Ski and Snowboard Festival (Whistler)<\/h2><p>Whistler, BC<br \/><a href='http://www.wssf.com/'>www.wssf.com<\/a><br />April 22 - 24<br />Sunday, April 22<br />Monday, April 23<br />Tuesday, April 24<\/p>","www.wssf.com");
   map.addOverlay(marker62); 
 */
 
addHeadline("Windsor");

// set up the 44 marker
   var point44 = new GLatLng(42.31396, -82.93562);
   var html_text44 = 'Tecumseh Mall';
   var marker44 = createMarker(point44,"Windsor","Tecumseh Mall","April 30 & May 1","<h2>Tecumseh Mall<\/h2><p>7650 Tecumseh Road East<br \/> Windsor, ON N8T 1E9<br \/><a href='http://www.tecumsehmall.com'>www.tecumsehmall.com<\/a><br />Saturday, April 30 - 10 a.m. to 6 p.m.<br />Sunday, May 1 - 11 a.m. to 5 p.m.<\/p>","www.tecumsehmall.com");
   map.addOverlay(marker44);   
  
// set up the 45 marker
   var point45 = new GLatLng(42.27373, -83.00463);
   var html_text45 = 'Devonshire Mall';
   var marker45 = createMarker(point45,"Windsor","Devonshire Mall","May 7 & 8","<h2>Devonshire Mall<\/h2><p>3100 Howard Ave.<br \/> Windsor, ON N8X 3Y8<br \/><a href='http://devonshire.shopping.ca'>devonshire.shopping.ca<\/a><br />Saturday, May 7 - 10 a.m. to 6 p.m.<br />Sunday, May 8 - 11 a.m. to 5 p.m.<\/p>","http://devonshire.shopping.ca");
   map.addOverlay(marker45);  

// put the assembled side_bar_html contents into the side_bar div
      document.getElementById("side_bar").innerHTML = side_bar_html;

   }
}
