// JavaScript Document

		var map = null;
		// If the browser is Firefox get the version number
		var ffv = 0;
		var ffn = "Firefox/"
		var ffp = navigator.userAgent.indexOf(ffn);
		if (ffp != -1) ffv = parseFloat(navigator.userAgent.substring(ffp + ffn.length));
		// If we're using Firefox 1.5 or above override the Virtual Earth drawing functions to use SVG
		if (ffv >= 1.5) {
		  Msn.Drawing.Graphic.CreateGraphic=function(f,b) { return new Msn.Drawing.SVGGraphic(f,b) }
		}
		// Put your own code below this line
     
      function OnPageLoad()
      {
        map = new VEMap('myMap');
        map.LoadMap(new VELatLong(43.5943,-79.5332), 14 ,'r' , false);
        
        map.DeleteAllPushpins();
          
        var pin = new VEPushpin(1, 
          new VELatLong(43.5943,-79.5332), 
          '../images/mapicon.gif', 
          'Starshot', 
          '3555 Lakeshore BLVD. W.<br>Toronto ON M8W 1P4<br><b>1-866-782-2836</b>'
        );
          
        map.AddPushpin(pin);
      }
	  
	  window.onload=OnPageLoad; 

