window.onload = function() {
	initialize();
	//preloadImages();
	test();
}


<!-- ImageReady Preload Script (Eastview Floor Plan.psd) -->
<!--

// -->

<!-- End Preload Script -->
  function initialize() {
      if (GBrowserIsCompatible()) {

		var map = new GMap2(document.getElementById("map_canvas"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());    
	    map.setCenter(new GLatLng(49.962181,-97.055111), 14);

  // Create a base icon for all of our markers that specifies the
	// shadow, icon dimensions, etc.
	var baseIcon = new GIcon();
	baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
	baseIcon.iconSize = new GSize(20, 34);
	baseIcon.shadowSize = new GSize(37, 34);
	baseIcon.iconAnchor = new GPoint(9, 34);
	baseIcon.infoWindowAnchor = new GPoint(9, 2);
	baseIcon.infoShadowAnchor = new GPoint(18, 25);

		// Creates a marker whose info window displays the letter corresponding
		// to the given index.
		function createMarker(point, index) {
		  // Create a lettered icon for this point using our icon class
		  var letteredIcon = new GIcon(baseIcon);
		  letteredIcon.image = "/img/map_marker.png";
		
		  // Set up our GMarkerOptions object
		  markerOptions = { icon:letteredIcon };
		  var marker = new GMarker(point, markerOptions);
		
		  GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml("<div id='map_info'><h4>Eastview Community Church</h4><p><span>3500 De Vries Avenue</span><span>East St. Paul, MB</span><span>R2E 0C8</span>(204) 334-4675</p></div>");
		  });
		  return marker;
		}		        

		var point = new GLatLng(49.962181,-97.055111);
		var marker = createMarker(point,'<div style="width: 200px;">Osborne Street dock</div>')
		map.addOverlay(marker);
      }
    }
	
	
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

<!--<script type="text/javascript"><!--//--><![CDATA[//><!--

<!--if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]>-->
<!--< /script>-->
