function loadMap() {
if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));
    var CenterPoint = new GLatLng(47.652438, -120.130005);
	var BrightonAddress1 = new GLatLng(47.608232, -122.191272);  //geocode (http://geocoder.us)
	var BrightonAddress2 = new GLatLng(47.658523, -117.425373);  //geocode (http://geocoder.us)
	var BrightonAddress3 = new GLatLng(47.256296, -122.430933);  //geocode (http://geocoder.us)
	var BrightonAddress4 = new GLatLng(47.614336, -122.335446);  //geocode (http://geocoder.us)
    var topLeft = new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(10,10));
    var topRight = new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(5,5));
    var infoHtml1 = 
	"<p><strong>The Brighton Group - Bellevue</strong>" +
	"<br/>301 116th Avenue SE, Suite 105<br />Bellevue, WA 98004</p>" + 
	"<p class=\"last\"><a href=\"http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=116145847946551047831.00047407ed80ee4bd4dfb&ll=47.938427,-120.492554&spn=2.392058,5.361328&z=8\" target=\"_blank\" class=\"more\">Get directions from Google Maps</a></p>";
    var infoHtml2 = 
	"<p><strong>The Brighton Group - Spokane</strong>" +
	"<br/>505 West Riverside Avenue, Suite 500<br />Spokane, WA 99201</p>" + 
	"<p class=\"last\"><a href=\"http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=116145847946551047831.00047407ed80ee4bd4dfb&ll=47.875829,-118.833618&spn=2.394952,5.361328&z=8\" target=\"_blank\" class=\"more\">Get directions from Google Maps</a></p>";
    var infoHtml3 = 
	"<p><strong>The Brighton Group - Tacoma</strong>" +
	"<br/>Wells Fargo Plaza<br />1201 Pacific Avenue, Suite 1701<br />Tacoma, WA 98401</p>" + 
	"<p class=\"last\"><a href=\"http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=116145847946551047831.00047407ed80ee4bd4dfb&ll=47.875829,-120.745239&spn=2.394952,5.361328&z=8\" target=\"_blank\" class=\"more\">Get directions from Google Maps</a></p>";
    var infoHtml4 = 
	"<p><strong>The Brighton Group - Seattle</strong>" +
	"<br/>The 1700 Building<br />1700 7th Avenue, Suite 2100<br />Seattle, WA 98101</p>" + 
	"<p class=\"last\"><a href=\"http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&ll=47.614336,-122.335446&spn=0.010068,0.017102&z=16&msid=116145847946551047831.00047407ed80ee4bd4dfb\" target=\"_blank\" class=\"more\">Get directions from Google Maps</a></p>";
    map.setCenter(CenterPoint, 6); //initialize map object
    var marker1 = new GMarker(BrightonAddress1);
	var marker2 = new GMarker(BrightonAddress2);
	var marker3 = new GMarker(BrightonAddress3);
	var marker4 = new GMarker(BrightonAddress4);
    map.addOverlay(marker1); //add marker at coordinates
	map.addOverlay(marker2); //add marker at coordinates
	map.addOverlay(marker3); //add marker at coordinates
	map.addOverlay(marker4); //add marker at coordinates
    //map.addControl(new GLargeMapControl()); // add zoom and pan ontrols
	map.setUIToDefault();

    //map.addControl(new GMapTypeControl(), topRight); // add 'Map|Satellite|Hybrid buttons
    map.openInfoWindow(BrightonAddress1, infoHtml1);
    
    // reopen the info window on click if it's been closed
    GEvent.addListener(marker1, "click", function() {
      map.openInfoWindow(BrightonAddress1, infoHtml1);
    });
	GEvent.addListener(marker2, "click", function() {
      map.openInfoWindow(BrightonAddress2, infoHtml2);
    });
	GEvent.addListener(marker3, "click", function() {
      map.openInfoWindow(BrightonAddress3, infoHtml3);
    });
	GEvent.addListener(marker4, "click", function() {
      map.openInfoWindow(BrightonAddress4, infoHtml4);
    });
}
}
