    //<![CDATA[

    function load() {

      if (GBrowserIsCompatible()) {

        var map = new GMap2(document.getElementById("map"));

        map.addControl(new GSmallMapControl());

        map.addControl(new GMapTypeControl());

        map.setCenter(new GLatLng(48.30238025815618, -114.30038452148437), 10);

        map.setMapType( G_HYBRID_TYPE );

        

        // Create our "tiny" marker icon

	var icon = new GIcon();

	icon.image = "logo.gif";

	icon.iconSize = new GSize(50, 25);

	icon.iconAnchor = new GPoint(6, 20);

	icon.infoWindowAnchor = new GPoint(5, 1);

	

	// Creates a marker at the given point with the given number label

	function createMarker(point, desc) {

	  var marker = new GMarker(point, icon);

	  GEvent.addListener(marker, "click", function() {

	    newp = '../' + desc;

	    //window.navigate(newp);

	    top.location.href = newp;

	  });



          GEvent.addListener(marker, "mouseover", function() {

          newimage = '../' + desc +'/pic.jpg'

	  newp = '../' + desc + '/desc.htm';

          document.getElementById("pic").src = newimage;

          document.getElementById("itext").src = newp;

          });



          GEvent.addListener(marker, "mouseout", function() {

          document.getElementById("pic").src = "back.jpg";

          document.getElementById("itext").src = 'use.htm';

          });

	  return marker;

	}

		

	// add actual map locations

	var points = new Array();

	points[0] = new GLatLng(48.4851540521479, -114.11683559417724);

	points[1] = new GLatLng(48.450382478739584, -114.63357925415039);

	points[2] = new GLatLng(48.431820304207065, -114.34192657470703);

	points[3] = new GLatLng(48.36049790309748, -114.33488845825195);

	points[4] = new GLatLng(48.47940785792242, -114.39085006713867);

	points[5] = new GLatLng(48.40127190927133, -114.3962574005127);

	points[6] = new GLatLng(48.16187760627499, -114.36570167541504);
	
	points[7] = new GLatLng(48.468994778399264, -114.38256740570068);

	points[8] = new GLatLng(48.362722004321704, -114.13086891174316);
	
	points[9] = new GLatLng(48.480773349177895, -114.35617446899414);
	
	points[10] = new GLatLng(48.449272355350125, -114.02551174163818);
	
	points[11] = new GLatLng(48.28145082852857, -114.14511680603027);
	
	points[12] = new GLatLng(48.3182215278012, -114.35947895050049);
	
	points[13] = new GLatLng(48.17704701051971, -114.30858135223388);

	points[14] = new GLatLng(48.2172385300389, -114.33750629425049);

	points[15] = new GLatLng(47.998020517322686, -114.04379367828369);

	points[16] = new GLatLng(48.220698389200344, -114.35827732086181);

	points[17] = new GLatLng(48.21266315063478, -114.39857482910156);

	points[18] = new GLatLng(48.41530223928892, -114.30107116699219);

	points[19] = new GLatLng(48.24391056813464, -114.35801982879638);

	points[20] = new GLatLng(48.194700834632826, -114.31252956390381);

	points[21] = new GLatLng(48.460429414722505, -114.46852684020996);
	
	points[22] = new GLatLng(48.40715514833271, -114.3350601196289);
	
	points[23] = new GLatLng(48.37959919690978, -114.24030303955078);
	
	
	
	








	var locs = new Array();

	locs[0] = "4745smokeybear";

	locs[1] = "21meadowscourt";

	locs[2] = "1400wisconsin";

	locs[3] = "165labrant";

	locs[4] = "1000povrd";

	locs[5] = "300spencer";

	locs[6] = "685southfoyslakedrive";
	
	locs[7] = "labrant";
	
	locs[8] = "1090columbia";
	
	locs[9] = "3824bigmountain";
	
	locs[10] = "12000h2e";
	
	locs[11] = "nhnmooring";
	
	locs[12] = "nhnspringprairie";
	
	locs[13] = "2615airport";
	
	locs[14] = "213garland";
	
	locs[15] = "nhnorchard"; 
	
	locs[16] = "1267quarter";
	
	locs[17] = "1050wvalley";
	
	locs[18] = "1480edgewood";

	locs[19] = "1445reserve";

	locs[20] = "mainstreet";
	
	locs[21] = "tamarackcreek";
	
	locs[22] = "533spokane";
	
	locs[23] = "nhnhalfmoon";

	
	
	
















	for (var i = 0; i < points.length; i++) {

          map.addOverlay(createMarker(points[i], locs[i]));

	}

      }

    }

    //]]>

