function load() {

 //<![CDATA[
    
    if (GBrowserIsCompatible()) { 

      // A function to create the marker and set up the event window
      // Dont try to unroll this function. It has to be here for the function closure
      // Each instance of the function preserves the contends of a different instance
      // of the "marker" and "html" variables which will be needed later when the event triggers.    
      function createMarker(point,html) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }

      // Display the map, with some controls and set the initial location 
      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(62.349609,-156.972656),4);

      // ==================================================
      // A function to create a tabbed marker and set up the event window
      // This version accepts a variable number of tabs, passed in the arrays htmls[] and labels[]
      function createTabbedMarker(point,htmls,labels) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          // adjust the width so that the info window is large enough for this many tabs
          if (htmls.length > 2) {
            htmls[0] = '<div style="width:'+htmls.length*90+'px">' + htmls[0] + '</div>';
          }
          var tabs = [];
          for (var i=0; i<htmls.length; i++) {
            tabs.push(new GInfoWindowTab(labels[i],htmls[i]));
          }
          marker.openInfoWindowTabsHtml(tabs);
        });
        return marker;
      }
      // ==================================================

    
      // Set up markers with info windows 

      var point = new GLatLng(64.837778,-147.716389);
      var marker = createTabbedMarker(point, [
      "<img src='/results/TVC-06-1908-03.jpg' width='93' height='100' hspace='3' vspace='0' align='right' /><STRONG><FONT SIZE='+1'>Doug Chichester</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Fairbanks<br /><STRONG>Hometown:</STRONG> East Meredith, NY<br /><STRONG>Degree, year:</STRONG> A.A.S., process technology, 2007<br /><STRONG>Employment:</STRONG> Facility operator, BP Exploration, Alaska<br /><STRONG>Who knew?</STRONG> <I>I spent a year living and working at the Amundsen-Scott South Pole Station, Antarctica, 1988-1989.</I>", 
      "<img src='/results/joel_titus_sm.jpg' width='93' height='100' hspace='0' vspace='0' align='right' /><STRONG><FONT SIZE='+1'>Joel Titus</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Fairbanks<br /><STRONG>Hometown:</STRONG> Minto, Alaska<br /><STRONG>Degree, year:</STRONG> B.B.A., 2005<br /><STRONG>Employment:</STRONG> Human resources/food services<br /> administrator, Yukon-Koyukuk<br /> School District <br /><STRONG>Busy, busy:</STRONG> Fight promoter. <I>I also own a cage-<br />fighting business called Gladiator Productions<br /> Inc., which I started after graduating from UAF.</I><br /><STRONG>Bragging rights:</STRONG> Was on the All Skillz<br /> intramural basketball champ team",
      "<img src='/results/TP-09-2433-22.jpg' width='93' height='100' hspace='0' vspace='0' align='right' /><STRONG><FONT SIZE='+1'>Terry Strle</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Fairbanks<br /><STRONG>Hometown:</STRONG> Joliet, Ill.<br /><STRONG>Degree, year:</STRONG> B.A., speech communication, 1984<br /><STRONG>Employment:</STRONG> City mayor, Fairbanks, Alaska<br /><STRONG>Spare parts:</STRONG> In 2008, donated a kidney to a<br /> cousin with hereditary kidney<br /> disease"],
      ["Doug","Joel","Terry"]);
      map.addOverlay(marker);

      var point = new GLatLng(59.0397222,-158.4575);
      var marker = createTabbedMarker(point, [
      "<img src='/results/ralph_anderson_sm.png' width='93' height='100' hspace='3' vspace='0' align='right' /><STRONG><FONT SIZE='+1'>Ralph Anderson</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Dillingham<br /><STRONG>Hometown:</STRONG> Dillingham, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., English, 1979<br /><STRONG>Employment:</STRONG> chief executive officer, Bristol<br /> Bay Native Corp.<br /><STRONG>Cross-country:</STRONG> Attended high school in Vermont,<br /> Dartmouth College in New Hampshire, worked<br /> for 20 years on the North Slope, then finally<br /> settled down back home in Bristol Bay.", 
      "<img src='/results/RhiannonSallee_sm.jpg' width='93' height='100' hspace='0' vspace='0' align='right' /><STRONG><FONT SIZE='+1'>Rhiannon Sallee</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Dillingham<br /><STRONG>Hometown:</STRONG> Dillingham, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., elementary education, 2001<br /><STRONG>Employment:</STRONG> kindergarten teacher, Dillingham City School District"],
      ["Ralph","Rhiannon"]);
      map.addOverlay(marker);
    
      var point = new GLatLng(61.218056,-149.900278);
      var marker = createMarker(point,'<div style="width:280px"><img src="/results/KyanOlanna_sm.jpg" width="93" height="100" hspace="3" vspace="0" align="right" /><STRONG><FONT SIZE="+1">Kyan Olanna</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Anchorage<br /><STRONG>Hometown:</STRONG> Shishmaref and Nome, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., rural development, 1998<br /><STRONG>Other degrees:</STRONG> J.D., Yale Law School, 2002<br /><STRONG>Employment:</STRONG> litigation, labor and employment lawyer, Perkins Coie, LLP<br /><STRONG>Decent exposure:</STRONG> Decided to attend UAF after participating in the Rural Alaska Honors Institute in high school</div>')
      map.addOverlay(marker);

      var point = new GLatLng(61.3186,-149.536);
      var marker = createMarker(point,'<div style="width:280px"><img src="/results/WayneDon_sm.jpg" width="93" height="100" hspace="3" vspace="0" align="right" /><STRONG><FONT SIZE="+1">Wayne Don</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Eagle River<br /><STRONG>Hometown:</STRONG> Mekoryuk, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., criminal justice, 1994; M.B.A., 2004<br /><STRONG>Employment:</STRONG> administrator, Southcentral Foundation<br /><STRONG>Jobs on the side:</STRONG> major, Alaska Army National Guard; chairman of the board, NIMA Corp.<br /><STRONG>Add this to your resume</STRONG>: Embedded with the Mongolian army as an advisor and liaison with the American command</div>')
      map.addOverlay(marker);

      var point = new GLatLng(58.301944,-134.419722);
      var marker = createMarker(point,'<div style="width:280px"><img src="/results/BobMitchell_sm.jpg" width="83" height="100" hspace="3" vspace="0" align="right" /><STRONG><FONT SIZE="+1">Bob Mitchell</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Juneau<br /><STRONG>Hometown:</STRONG> North Pole, Alaska<br /><STRONG>Degree, year:</STRONG> B.B.A., economics, 1990; M.B.A., 1998<br /><STRONG>Other education:</STRONG> Designated chartered financial analyst<br /><STRONG>Employment:</STRONG> State investment officer, managing about $15 billion in bond portfolios for the state and its retirement systems, Alaska Department of Revenue<br /><STRONG>All in the family:</STRONG> Lifetime member of the UAF and UAS alumni associations. <I>I am the outgoing president of the UAS Alumni Association...think statewide, act locally.</I><br /><STRONG>Bragging rights:</STRONG> Selected in November 2008 to become a trustee of the University of Alaska Foundation</div>')
      map.addOverlay(marker);

      var point = new GLatLng(57.79,-152.407222);
      var marker = createMarker(point,'<div style="width:280px"><STRONG><FONT SIZE="+1">Sven Haakanson Jr.</FONT></STRONG><br/><img src="/results/SvenHaakanson_sm.jpg" width="93" height="100" hspace="3" vspace="0" align="right" /><STRONG>Lives in:</STRONG> Kodiak<br /><STRONG>Hometown:</STRONG> Old Harbor, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., English, 1992<br /><STRONG>Other education:</STRONG> M.A., Ph.D., anthropology, Harvard<br /><STRONG>Employment:</STRONG> Executive director, Alutiiq Museum<br /><STRONG>True genius:</STRONG> Winner of 2007 MacArthur Foundation Fellowship ("genius grant")</div>')
      map.addOverlay(marker);

      var point = new GLatLng(59.0619444,-160.3763889);
      var marker = createMarker(point,'<div style="width:280px"><STRONG><FONT SIZE="+1">Fanny Kay Parker</FONT></STRONG><br/><img src="/results/FannyParker_sm.jpg" width="93" height="100" hspace="3" vspace="0" align="right" /><STRONG>Lives in:</STRONG> Togiak<br /><STRONG>Hometown:</STRONG> Togiak, Alaska<br /><STRONG>Degree, year:</STRONG> B.Ed., 1991<br /><STRONG>Employment:</STRONG> 2nd-grade teacher at Togiak School, Southwest Region School District<br /><STRONG>Teaching the teachers:</STRONG> Member of the Ciulistet Group, Yup&#39;ik educators who worked with UAF researchers to develop Yup&#39;ik-centered teaching. A resulting book, <I>Transforming the Culture of Schools: Yup&#39;ik Eskimo Examples</I>, won an American Book Award in 1999.</div>')
      map.addOverlay(marker);


      var point = new GLatLng(64.5011111,-165.4063889);
      var marker = createMarker(point,'<div style="width:280px"><img src="/results/SimonKineen_sm.jpg" width="93" height="100" hspace="3" vspace="0" align="right" /><STRONG><FONT SIZE="+1">Simon Kineen</FONT></STRONG><br/><STRONG>Lives in:</STRONG> Nome<br /><STRONG>Hometown:</STRONG> Nome, Alaska<br /><STRONG>Degree, year:</STRONG> B.A., fisheries, 1999<br /><STRONG>Employment:</STRONG> chief operations officer, Norton Sound Economic Development Corp.<br /><STRONG>Brawn and brains:</STRONG> Hunts, fishes, raced in the 1994 Iditarod <I>and</I> was the 1986 Alaska state spelling bee champ!</div>')
      map.addOverlay(marker);

    }
    
    // display a warning if the browser was not compatible
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }

    // This Javascript is based on code provided by the
    // Blackpool Community Church Javascript Team
    // http://www.commchurch.freeserve.co.uk/   
    // http://econym.googlepages.com/index.htm

    //]]>


    }
