// JavaScript Document

function initialize() {
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(33.75, -76.78), 5);
 		map.setMapType(G_PHYSICAL_MAP);                   
    map.addMapType(G_PHYSICAL_MAP); 
		map.addControl(new GLargeMapControl());
		map.addControl(new GScaleControl());
		map.addControl(new GMapTypeControl());
		map.enableScrollWheelZoom();

    function createMarker(point,balloon,image,iconanchor,windowanchor) {
      var icon = new GIcon();
		  icon.image = 'http://maps.google.com/mapfiles/ms/micons/'+ image +'.png';
		  icon.shadow = 'http://maps.google.com/mapfiles/ms/micons/'+ image +'.shadow.png';
		  if (image == 'water'){ icon.iconSize = new GSize(28,28); } else { icon.iconSize = new GSize(36,36); }
		  icon.iconAnchor = iconanchor;
		  icon.infoWindowAnchor = windowanchor;
		  var marker = new GMarker(point,icon);
		  GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(balloon);} );
      return marker;
    }
		
		
		// NWS
		
		
	    //NWS Morehead City, NC
		var point = new GLatLng(34.776288, -76.876584);
		var image = "rainy";
		var iconanchor = new GPoint(19,23);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/mhx/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br /> Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Newport/Morehead City, NC</h4><p>533 Roberts Rd<br />Newport, NC 28570</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Wilmington, NC				
		var point = new GLatLng(34.276239, -77.912304);
		var image = "rainy";		
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/ilm/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Wilmington, NC</h4> <p>2015 Gardner Drive<br />Wilmington, NC 28405</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Raleigh, NC
		var point = new GLatLng(35.772701, -78.68088);
		var image = "rainy";
		var iconanchor = new GPoint(22,25);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/rah/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Raleigh, NC</h4> <p>1005 Capability Drive, Suite 300<br />Centennial Campus<br />Raleigh, NC 27606</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Charleston, SC
		var point = new GLatLng(32.896281, -80.027078);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/chs/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Charleston, SC</h4> <p>5777 South Aviation Avenue<br />Charleston, SC 29406</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Columbia, SC
		var point = new GLatLng(33.945759, -81.121826);
		var image = "rainy";
		var iconanchor = new GPoint(18,23);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/cae/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Columbia, SC</h4> <p>2909 Aviation Way<br />West Columbia, SC 29170</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Greenville/Spartanburg, SC
		var point = new GLatLng(34.88344,-82.220435);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.erh.noaa.gov/gsp/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Greenville/Spartanburg, SC</h4> <p>1549 GSP Drive<br />Greer, SC 29651</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//NWS Wakefield, VA
		var point = new GLatLng(36.964660, -76.977200);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.erh.noaa.gov/akq/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Wakefield, VA</h4> <p>10009 General Mahone Hwy<br />Wakefield, VA 23888</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		//NWS Blacksburg, VA
		var point = new GLatLng(37.204483, -80.414194);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.erh.noaa.gov/rnk/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Blacksburg, VA</h4><p>1750 Forecast Drive<br />Blacksburg, VA 24060</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);			
		
		//NWS Morristown, TN
		var point = new GLatLng(36.166404,-83.402094);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.srh.noaa.gov/mrx/" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a> </td><td width="5px"></td><td width="200px" valign="top"> <h4>National Weather Service<br />Weather Forecast Office<br />Morristown, TN</h4> <p>5974 Commerce Blvd<br />Morristown, TN 37814</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		//NWS Southeast River Forecast Center
		var point = new GLatLng(33.360477,-84.567862);
		var image = "rainy";
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"> <a href="http://www.srh.noaa.gov/alr/index.shtml" style="text-decoration: none;"><img src="image/NWSLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="220px" valign="top"><h4>National Weather Service<br />Southeast River Forecast Center<br />Peachtree City, GA</h4><p>4 Falcon Rd<br />Peachtree City, GA 30269</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);				
		
		
		//NOAA


		//ACE Basin National Estuarine Research Reserve, SC 
		var point = new GLatLng(32.493692,-80.319886);
    var image = 'water';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://nerrs.noaa.gov/ACEBasin/welcome.html" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="330px" valign="top"><h4>National Estuarine Research Reserve System<br />ACE Basin Reserve<br />South Carolina</h4><p>South Carolina DNR<br />P.O. Box 12559<br />Charleston, SC 29412</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//North Inlet-Winyah Bay National Estuarine Reserve, SC 
		var point = new GLatLng(33.318193,-79.18293);
    var image = 'water';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://nerrs.noaa.gov/NorthInlet/welcome.html" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="330px" valign="top"><h4>National Estuarine Research Reserve System<br />North Inlet-Winyah Bay Reserve<br />South Carolina</h4><p>P.O. Box 1630<br />Georgetown, SC 29442</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		//Currituck Banks National Estuarine Reserve, NC 
		var point = new GLatLng(36.40083631,-75.8386230);
    var image = 'water';
		var iconanchor = new GPoint(15,0);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.nccoastalreserve.net/" style="text-decoration: none;"><img src="image/NCNERRLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="310px" valign="top"><h4>NC National Estuarine Research Reserve<br />North Carolina Coastal Reserve<br />Currituck Banks Component</h4><p>983 West Kitty Hawk Rd<br>Kitty Hawk, NC 27949</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		//Rachel Carson National Estuarine Reserve, NC 
		var point = new GLatLng(34.704576,  -76.6316986);
    var image = 'water';
		var iconanchor = new GPoint(15,6);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.nccoastalreserve.net/" style="text-decoration: none;"><img src="image/NCNERRLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="310px" valign="top"><h4>NC National Estuarine Research Reserve<br />North Carolina Coastal Reserve<br />Rachel Carson Component</h4><p>101 Pivers Island Road<br />Beaufort, N.C. 28516</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);	
		
		//Masonboro Island National Estuarine Reserve, NC 
		var point = new GLatLng(34.095884929,-77.870750427);
    var image = 'water';
		var iconanchor = new GPoint(15,0);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.nccoastalreserve.net/" style="text-decoration: none;"><img src="image/NCNERRLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="310px" valign="top"><h4>NC National Estuarine Research Reserve<br />North Carolina Coastal Reserve<br />Masonboro Island Component</h4><p>UNCW/CMS<br />5600 Marvin K. Moss Lane<br>Wilmington, NC 28409</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);	
		
		//Zeke's Island National Estuarine Reserve, NC 
		var point = new GLatLng(33.943787,-77.9445648);
    var image = 'water';
		var iconanchor = new GPoint(15,0);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.nccoastalreserve.net/" style="text-decoration: none;"><img src="image/NCNERRLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="310px" valign="top"><h4>NC National Estuarine Research Reserve<br />North Carolina Coastal Reserve<br />Zeke\'s Island Component</h4><p>UNCW/CMS<br />5600 Marvin K. Moss Lane<br>Wilmington, NC 28409</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);			
		
		//Undersea Research Center Wilminton, NC
		var point = new GLatLng(34.141638, -77.867538);
    var image = 'swimming';
		var iconanchor = new GPoint(10,12);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.uncwil.edu/nurc/" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="320px" valign="top"><h4>NOAA\'s National Undersea Research Center<br />Wilmington, NC</h4><p>5600 Marvin K Moss Lane<br />Wilmington, NC 28409</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);	

	  //NCDC Asheville, NC
		var point = new GLatLng(35.59407,-82.557685);
		var image = 'snowflake_simple';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.ncdc.noaa.gov/oa/ncdc.html" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="430px" valign="top"><h4>National Environmental Satellite, Data, &amp; Information Service<br />National Climatic Data Center<br />Asheville, NC</h4><p>151 Patton Avenue<br />Asheville, NC 28801</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// Center for Coastal Fisheries and Habitat Research Beaufort, NC				
		var point = new GLatLng(34.718908, -76.672339);
    var image = 'fishing';
		var iconanchor = new GPoint(15,27);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td valign="top" width="90px" align="center"><a href="http://www.ccfhr.noaa.gov/" style="text-decoration: none;"><img src="image/NOAALogoSmall.jpg" style="border-style: none"/><br />Visit Website</a><br /><br /><a href="http://www.sefsc.noaa.gov/"  style="text-decoration: none;"><img src="image/NOAALogoSmall.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="330px" valign="top"><h4>National Centers for Coastal Ocean Science<br />Center for Coastal Fisheries &amp; Habitat Research<br />Beaufort, NC<br /><br />National Marine Fisheries Service<br />NMFS Southeast Fisheries Science Center<br />Beaufort, NC</h4><p>101 Pivers Island Road<br />Beaufort, NC 28516</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// Coastal Services Center Charleston, SC
		var point = new GLatLng(32.849398,-79.942489);
    var image = 'marina';
		var iconanchor = new GPoint(18,0);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.csc.noaa.gov/" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>National Ocean Service<br />Coastal Services Center<br />Charleston, SC</h4><p>2234 South Hobson Avenue<br />Charleston, SC 29405</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// NCCOS Hollings Marine Laboratory 
		var point = new GLatLng(32.751489, -79.898533);
    var image = 'marina';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.hml.noaa.gov/" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="300px" valign="top"><h4>National Centers for Coastal Ocean Science<br />Hollings Marine Laboratory<br />Charleston, SC</h4><p>331 Fort Johnson Road<br />Charleston, SC 29412</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// Southeast Regional Office - Habitat Conservation Division Field Office
		var point = new GLatLng(32.751489, -79.898533);
    var image = 'fishing';
		var iconanchor = new GPoint(44,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://sero.nmfs.noaa.gov/hcd/hcd.htm" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="250px" valign="top"><h4>National Marine Fisheries Service<br />Habitat Conservation Division<br />Charleston, SC</h4><p>217 Fort Johnson Road<br />Charleston, SC 29412</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// NCCOS Center for Coastal Environmental Health and Biomolecular Research 
		var point = new GLatLng(32.751489, -79.898533);
    var image = 'info';
		var iconanchor = new GPoint(26,-10);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td valign="top" width="90px" align="center"><a href="http://www.chbr.noaa.gov/" style="text-decoration: none;"><img src="image/NOAALogoSmall.jpg" style="border-style: none"/><br />Visit Website</a><br /><br /><a href="http://www.ncddc.noaa.gov/regionaloffices/southeast-shelf-liaison"  style="text-decoration: none;"><img src="image/NOAALogoSmall.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="410px" valign="top"><h4>National Centers for Coastal Ocean Science<br />Center for Environmenal Health &amp; Biomolecular Research<br />Charleston, SC<br /><br />National Coastal Data Development Center<br />Southeast Shelf Liaison Officer<br />Charleston, SC</h4><p>219 Fort Johnson Road<br />Charleston, SC 29412</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		// Southeast Regional Office 
		
		var point = new GLatLng(27.7578465, -82.6372937);
    var image = 'fishing';
		var iconanchor = new GPoint(44,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://sero.nmfs.noaa.gov/index.html" style="text-decoration: none;"><img src="image/NOAALogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="250px" valign="top"><h4>National Marine Fisheries Service<br />Southeast Regional Office<br />Saint Petersburg, FL</h4><p>263 13th Avenue South<br />Saint Petersburg, FL 33701</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		

		//NOAA Ships
		
		
		//Nancy Foster & Ronald Brown Charleston, SC
		var point = new GLatLng(32.84800, -79.9352359);
    var image = 'ferry';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.moc.noaa.gov/index.html" style="text-decoration: none;"><img src="image/OMAOLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="270px" valign="top"><h4>Office of Marine &amp; Aviation Operations<br />Ronald H. Brown &amp; Nancy Foster<br />Charleston, SC</h4><p>Marine Operations Center, Atlantic<br />439 West York Street<br />Norfolk, VA 23510</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		
    //SeaGrant
		
		
		// SC SeaGrant Charleston, SC
		var point = new GLatLng(32.78441,-79.93217);
    var image = 'sailing';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.scseagrant.org" style="text-decoration: none;"><img src="image/SGLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>South Carolina Sea Grant<br />Charleston, SC</h4><p>287 Meeting Street<br />Charleston, SC 29401</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);
		
		// NC SeaGrant Wilmington, NC
		var point = new GLatLng(34.143429,-77.87289);
    var image = 'sailing';
		var iconanchor = new GPoint(22,20);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.ncseagrant.org" style="text-decoration: none;"><img src="image/SGLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>North Carolina Sea Grant<br />Wilmington, NC</h4><p>5600 Marvin K Moss Lane<br />Wilmington, NC 28409</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);			
		
		//NC SeaGrant Raleigh, NC
		var point = new GLatLng(35.7723,-78.680402);
    var image = 'sailing';
		var iconanchor = new GPoint(14,6);
    var windowanchor = new GPoint(16,11);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.ncseagrant.org" style="text-decoration: none;"><img src="image/SGLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>North Carolina Sea Grant<br />Raleigh, NC</h4><p>1575 Varsity Drive<br />Flex Building Module 1<br />Raleigh, NC 27695</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		//NC SeaGrant Morehead City, NC
		var point = new GLatLng(34.72281,-76.757891);
    var image = 'sailing';
		var iconanchor = new GPoint(18,17);
    var windowanchor = new GPoint(16,11);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.ncseagrant.org" style="text-decoration: none;"><img src="image/SGLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>North Carolina Sea Grant<br />Morehead City, NC</h4><p>303 College Circle<br />Morehead City, NC 28557</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
  	//NC SeaGrant Manteo, NC
		var point = new GLatLng(35.90968,-75.67074);
    var image = 'sailing';
		var iconanchor = new GPoint(15,20);
    var windowanchor = new GPoint(16,11);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.ncseagrant.org" style="text-decoration: none;"><img src="image/SGLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>North Carolina Sea Grant<br />Manteo, NC</h4><p>217 Budleigh Street<br />Manteo, NC 27954</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		


		//State Agencies	


		//NC State Climate Office Raleigh, NC
		var point = new GLatLng(35.7723,-78.680402);
    var image = 'snowflake_simple';
		var iconanchor = new GPoint(4,20);
    var windowanchor = new GPoint(16,11);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.nc-climate.ncsu.edu/" style="text-decoration: none;"><img src="image/NCSCOLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>North Carolina<br />State Climate Office<br />Raleigh, NC</h4><p>Suite 100, Research III Building<br />1005 Capability Drive<br />Raleigh, NC 27695</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
		
		//SC State Climate Office Columbia, SC
		var point = new GLatLng(33.99841,-81.033525);
    var image = 'snowflake_simple';
		var iconanchor = new GPoint(12,17);
    var windowanchor = new GPoint(18,12);
		var balloon = '<table><tr><td width="90px" align="center"><a href="http://www.dnr.sc.gov/climate/sco/" style="text-decoration: none;"><img src="image/SCSCOLogo.jpg" style="border-style: none"/><br />Visit Website</a></td><td width="5px"></td><td width="200px" valign="top"><h4>South Carolina DNR<br />State Climate Office<br />Columbia, SC</h4><p>P.O. Box 167<br />Columbia, SC 29202</p></td></tr></table>';
		var marker = createMarker(point, balloon, image, iconanchor, windowanchor);
		map.addOverlay(marker);		
  }
}