if(window.location.href.indexOf('ethicalproperty.co.uk') !=-1){
	document.write('<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAt4XWJtc9mz89tPSSlMKAQRTxHS9yNCvGh2IBnpWiDRFY74VNMhSmpuMjvrIlacCf6-PlJYDhSztX2A"></script>');
} else {
	document.write('<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAt4XWJtc9mz89tPSSlMKAQRSJmSp__nLpFuiBZoWKtkktsXCZSRRlLtzIitJ4SJ-hLmY-cywgeFYeEw"></script>');
}
        var map;

    function LoadMap() {
      if(GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        GetOffices();
      }
        }
        function SetCenter(x,y,scale){
        var n=new GLatLng(x,y);
                map.setCenter(n, scale);
                map.addControl(new GLargeMapControl());
        }
        function addOffice(x,y,name,address){
                var n=new GLatLng(x,y);
                var marker = new GMarker(n);
                map.addOverlay(marker);
                marker.bindInfoWindowHtml("<h3 style='display:inline'>"+name+"</h3><br>"+address);
        }


