    //<![CDATA[
    
    if (GBrowserIsCompatible()) { 

      // Display the map, with some controls and set the initial location 
      var map = new GMap(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
      map.setCenter(new GLatLng(40.967715,-76.887817),7);

      var hbgIcon = new GIcon();
      hbgIcon.image = "hbg.png";
      hbgIcon.shadow = "hbg_shadow.png";
      hbgIcon.iconSize = new GSize(90, 39);
      hbgIcon.shadowSize = new GSize(110, 39);
      hbgIcon.iconAnchor = new GPoint(30, 39);
      hbgIcon.infoWindowAnchor = new GPoint(42, 16);
	  
	  var lwbIcon = new GIcon();
	  lwbIcon.image = "lwb.png";
	  lwbIcon.shadow = "hbg_shadow.png";
	  lwbIcon.iconSize = new GSize(90 , 39);
	  lwbIcon.shadowSize= new GSize(110 , 39);
	  lwbIcon.iconAnchor = new GPoint(30 , 39);
	  lwbIcon.infoWindowAnchor = new GPoint(42 , 16);
	  
	  var hazIcon = new GIcon();
	  hazIcon.image = "haz.png";
	  hazIcon.shadow = "hbg_shadow.png";
	  hazIcon.iconSize = new GSize(90, 39);
	  hazIcon.shadowSize = new GSize(110, 39);
	  hazIcon.iconAnchor = new GPoint(30, 39);
	  hazIcon.infoWindowAnchor = new GPoint(42, 16);
	  
	  var syrIcon = new GIcon();
	  syrIcon.image = "syr.png";
	  syrIcon.shadow = "hbg_shadow.png";
	  syrIcon.iconSize = new GSize(90, 39);
	  syrIcon.shadowSize = new GSize(110, 39);
	  syrIcon.iconAnchor = new GPoint(30, 39);
	  syrIcon.infoWindowAnchor = new GPoint(42, 16);
	  
	  var scIcon = new GIcon();
	  scIcon.image = "sc.png";
	  scIcon.shadow = "hbg_shadow.png";
	  scIcon.iconSize = new GSize(90, 39);
	  scIcon.shadowSize = new GSize(110, 39);
	  scIcon.iconAnchor = new GPoint(30, 39);
	  scIcon.infoWindowAnchor = new GPoint(42, 16);
	  
	  
	  
	  function createMarker(point,html){
	  	var marker = new GMarker(point,option);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }
	  
	  // create a polygon
	  
	var pts = [new GLatLng(40.33921721760713,-76.99356079101562), new GLatLng(40.32246702124231,-77.07870483398437), new GLatLng(40.26590441926665,-77.18170166015625), new GLatLng(40.216635475391214,-77.19955444335937), new GLatLng(40.14109012528465,-77.17208862304687), new GLatLng(40.089629226126405,-77.05535888671875), new GLatLng(40.096983167279575,-76.8768310546875), new GLatLng(40.14948820651523,-76.7449951171875), new GLatLng(40.18726672309203,-76.70242309570312), new GLatLng(40.25961676337706,-76.69830322265625), new GLatLng(40.31409036409682,-76.739501953125), new GLatLng(40.34131069983192,-76.84661865234375), new GLatLng(40.33921721760713,-76.99356079101562)];
    var polygon = new GPolygon(pts, null, 0, 0.7, "#9ed08a", 0.5 );
	map.addOverlay(polygon);
	  
	var point = new GLatLng(40.265523, -76.762729);
	var option = { icon:hbgIcon };
	var marker = createMarker(point,'<div style = "width:240px">Harrisburg Office<br>7300 Derry Street<br>Harrisburg, PA 17111<\/div>', option);
	map.addOverlay(marker);	
      
	var pts = [new GLatLng(41.44684402008925,-76.981201171875), new GLatLng(41.37268648186465,-77.2503662109375), new GLatLng(41.244772343082076,-77.431640625), new GLatLng(41.0545019632905,-77.5030517578125), new GLatLng(40.901057866884024,-77.5250244140625), new GLatLng(40.79301881008675,-77.51953125), new GLatLng(40.6723059714534,-77.5140380859375), new GLatLng(40.534676780615406,-77.464599609375), new GLatLng(40.44694705960048,-77.376708984375), new GLatLng(40.40931350359072,-77.2943115234375), new GLatLng(40.384212768155045,-77.1075439453125), new GLatLng(40.426042128264925,-76.8768310546875), new GLatLng(40.47620304302563,-76.651611328125), new GLatLng(40.65980593837855,-76.31103515625), new GLatLng(40.81796653313175,-76.17919921875), new GLatLng(40.9218144123785,-76.168212890625), new GLatLng(40.97989806962013,-76.22314453125), new GLatLng(41.120745590167445,-76.3165283203125), new GLatLng(41.265420628926684,-76.44287109375), new GLatLng(41.37680856570233,-76.61865234375), new GLatLng(41.430371882652814,-76.7449951171875), new GLatLng(41.44684402008925,-76.981201171875)];
	var polygon = new GPolygon(pts, null, 0, 0.7, "#f5d65c", 0.5);
	map.addOverlay(polygon);
	  
	var point = new GLatLng(40.910464,-76.843529);
	var option = { icon:lwbIcon };
	var marker = createMarker(point,'<div style = "width:240px">Lewisburg Office<br>1189 Westbranch Hwy<br>Winfield, PA 17889<\/div>', option);
	map.addOverlay(marker);
	
	var pts = [new GLatLng(41.62776153144344,-75.640869140625), new GLatLng(41.62776153144344,-75.7672119140625), new GLatLng(41.549700145132725,-75.948486328125), new GLatLng(41.47154438707647,-76.0858154296875), new GLatLng(41.40565583808169,-76.168212890625), new GLatLng(41.29431726315258,-76.2945556640625), new GLatLng(41.21998578493921,-76.3604736328125), new GLatLng(41.108329997328305,-76.3934326171875), new GLatLng(40.925964939514294,-76.4208984375), new GLatLng(40.82212357516945,-76.343994140625), new GLatLng(40.684803661591275,-76.376953125), new GLatLng(40.6306300839918,-76.4263916015625), new GLatLng(40.56389453066509,-76.3330078125), new GLatLng(40.534676780615406,-76.1627197265625), new GLatLng(40.55554790286311,-75.8990478515625), new GLatLng(40.643135583312805,-75.65185546875), new GLatLng(40.75557964275588,-75.3607177734375), new GLatLng(41.06692773019345,-75.2947998046875), new GLatLng(41.352072144512924,-75.399169921875), new GLatLng(41.541477666790286,-75.5584716796875), new GLatLng(41.62776153144344,-75.640869140625)];
	var polygon = new GPolygon(pts, null, 0, 0.7, "#faaa50", 0.5);
	map.addOverlay(polygon);
	
	var point = new GLatLng(40.981177,-76.02039);
	var option = { icon:hazIcon };
	var marker = createMarker(point,'<div style = "width:240px">Hazleton Office<br>596 Susquehanna Blvd.<br>Hazle Township, PA 18202<\/div>',option);
	map.addOverlay(marker);
	
	var pts = [new GLatLng(42.44372793752476,-76.4923095703125), new GLatLng(42.45588764197166,-76.728515625), new GLatLng(42.416359972082866,-76.84112548828125), new GLatLng(42.32200108060303,-76.9207763671875), new GLatLng(42.23766862211922,-76.95510864257812), new GLatLng(42.178670521216,-77.03338623046875), new GLatLng(42.1104489601222,-77.1514892578125), new GLatLng(42.042153895363995,-77.14324951171875), new GLatLng(41.97174336327968,-77.113037109375), new GLatLng(41.902277040963696,-77.1405029296875), new GLatLng(41.80817277478235,-77.0965576171875), new GLatLng(41.72110557838152,-77.080078125), new GLatLng(41.64726212881368,-76.98394775390625), new GLatLng(41.549700145132725,-76.7449951171875), new GLatLng(41.50806309643413,-76.48063659667969), new GLatLng(41.53222612879672,-76.23001098632812), new GLatLng(41.70521588311188,-76.03019714355469), new GLatLng(41.85779934552825,-75.79330444335937), new GLatLng(41.931911638000784,-75.73150634765625), new GLatLng(41.95336258301847,-75.59967041015625), new GLatLng(42.05031239367961,-75.63606262207031), new GLatLng(42.198512238099596,-75.64018249511719), new GLatLng(42.24478535602799,-75.8111572265625), new GLatLng(42.33012354634199,-75.96565246582031), new GLatLng(42.36666166373274,-76.16409301757812), new GLatLng(42.38999434161929,-76.33644104003906), new GLatLng(42.44372793752476,-76.4923095703125)];
	var polygon = new GPolygon(pts, null, 0, 0.7, "#7fc8d3", 0.5);
	map.addOverlay(polygon);
	
	var point = new GLatLng(41.907132,-76.539688);
		var option = { icon:syrIcon };
		var marker = createMarker(point,'<div style = "width:240px">Sayre Office<br>R.D. 1, Box 1C<br>Milan, PA 18831<\/div>',option);
		map.addOverlay(marker);
	
	var pts = [new GLatLng(41.14867208811923,-78.5467529296875), new GLatLng(40.89067715064627,-78.5137939453125), new GLatLng(40.73893324113601,-78.5028076171875), new GLatLng(40.44694705960048,-78.55224609375), new GLatLng(40.418723866774776,-78.25149536132812), new GLatLng(40.37793612222415,-77.75299072265625), new GLatLng(40.543026009954985,-77.574462890625), new GLatLng(40.60039879034164,-77.47283935546875), new GLatLng(40.907285514728755,-77.46734619140625), new GLatLng(41.13729606112273,-77.47283935546875), new GLatLng(41.155910350545035,-78.101806640625), new GLatLng(41.14867208811923,-78.5467529296875)];
	var polygon = new GPolygon(pts, null, 0, 0.7, "#d8bd9f", 0.5);
	map.addOverlay(polygon);
	
	var point = new GLatLng(40.980935,-77.726898);
		var option = { icon:scIcon };
		var marker = createMarker(point,'<div style = "width:240px">State College Office<br>1426 Benner Pike<br>State College, PA 16801<\/div>',option);
		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

    //]]>

 
