var G_INCOMPAT = false;

function GScript(src) {
  document.write('<' + 'script src="' + src + '"' +
                 ' type="text/javascript"><' + '/script>');  
}

function GBrowserIsCompatible(setBodyClass) {
  if (G_INCOMPAT) return false;
  if (!window.RegExp) return false;

  var AGENTS = [
    "opera",
    "msie",
    "safari",
    "firefox",
    "netscape",
    "mozilla"
  ];

  var agent = navigator.userAgent.toLowerCase();

  for (var i = 0; i < AGENTS.length; i++) {
    var agentStr = AGENTS[i];
    if (agent.indexOf(agentStr) != -1) {
      if (setBodyClass && document.body) {
        document.body.className = agentStr;
      }
      var versionExpr = new RegExp(agentStr + "[ \/]?([0-9]+(\.[0-9]+)?)");
      var version = 0;
      if (versionExpr.exec(agent) != null) {
        version = parseFloat(RegExp.$1);
      }
      if (agentStr == "opera") return version >= 7;
      if (agentStr == "safari") return version >= 125;
      if (agentStr == "msie") return (version >= 5.5 &&
                                      agent.indexOf("powerpc") == -1);
      if (agentStr == "netscape") return version > 7;
      if (agentStr == "firefox") return version >= 0.8;
    }
  }

  return !!document.getElementById;
}

function GVerify() {}

function GLoad() {
  
  GAddMessages({
    160: '\x3cH1\x3eServer Error\x3c/H1\x3eThe server encountered a temporary error and could not complete your request.\x3cp\x3ePlease try again in a minute or so.\x3c/p\x3e',
    1415: '.',
    1416: ',',
    1547: 'mi',
    1616: 'km',
    10018: 'Loading...',
    10021: 'Zoom In',
    10022: 'Zoom Out',
    10029: 'Return to the last result',
    10049: 'Map',
    10050: 'Satellite',
    10093: 'Terms of Use',
    10109: 'm',
    10110: 'ft',
    10111: 'Map',
    10112: 'Sat',
    10116: 'Hybrid',
    10117: 'Hyb',
    10120: 'We are sorry, but we don\x27t have maps at this zoom level for this region.\x3cp\x3eTry zooming out for a broader look.\x3c/p\x3e',
    10121: 'We are sorry, but we don\x27t have imagery at this zoom level for this region.\x3cp\x3eTry zooming out for a broader look.\x3c/p\x3e',
    10507: 'Pan left',
    10508: 'Pan right',
    10509: 'Pan up',
    10510: 'Pan down',
    10511: 'Show street map',
    10512: 'Show satellite imagery',
    10513: 'Show imagery with street names',
    10806: 'Click to see this area on Google Maps',
    10807: 'Traffic',
    10808: 'Show Traffic',
    10809: 'Hide Traffic',
    12150: '%1$s on %2$s',
    12151: '%1$s on %2$s at %3$s',
    12152: '%1$s on %2$s between %3$s and %4$s',
    10985: 'Zoom in',
    10986: 'Zoom out',
    11047: 'Center map here',
    11089: '\x3ca href\x3d\x22javascript:void(0);\x22\x3eZoom In\x3c/a\x3e to see traffic for this region',
    11259: 'Full-screen',
    11751: 'Show street map with terrain',
    11752: 'Style:',
    11757: 'Change map style',
    11758: 'Terrain',
    11759: 'Ter',
    11794: 'Show labels',
    11303: 'Street View Help',
    11274: 'To use street view, you need Adobe Flash Player version %1$d or newer.',
    11382: 'Get the latest Flash Player.',
    11314: 'We\x27re sorry, street view is currently unavailable due to high demand.\x3cbr\x3ePlease try again later!',
    1559: 'N',
    1560: 'S',
    1561: 'W',
    1562: 'E',
    1608: 'NW',
    1591: 'NE',
    1605: 'SW',
    1606: 'SE',
    11907: 'This image is no longer available',
    10041: 'Help',
    0: ''
  });
    
  GLoadApi(
      ["?v\x3dap.69\x26hl\x3den\x26","?v\x3dap.69\x26hl\x3den\x26","?v\x3dap.69\x26hl\x3den\x26","?v\x3dap.69\x26hl\x3den\x26"], ["google.com?v\x3d26\x26hl\x3den\x26","google.com?v\x3d26\x26hl\x3den\x26","google.com?v\x3d26\x26hl\x3den\x26","google.com?v\x3d26\x26hl\x3den\x26"], ["?v\x3dapt.69\x26hl\x3den\x26","?v\x3dapt.69\x26hl\x3den\x26","?v\x3dapt.69\x26hl\x3den\x26","?v\x3dapt.69\x26hl\x3den\x26"]
      ,""
      ,""
      ,""
      ,true
      ,"G"
      ,{public_api:true}
      ,["?v\x3dapp.71\x26hl\x3den\x26","?v\x3dapp.71\x26hl\x3den\x26","?v\x3dapp.71\x26hl\x3den\x26","?v\x3dapp.71\x26hl\x3den\x26"]
  );

  if (window.GJsLoaderInit) {
    GJsLoaderInit(_mHost + _mUri + "/mapfiles/" + _mJavascriptVersion + "/maps2" +
                  ".api/main.js");
  }
}

function GUnload() {
  if (window.GUnloadApi) {
    GUnloadApi();
  }
}

var _mIsRtl = false;

var _mF = [ ,,true,true,true,0,4096,"bounds_cippppt.txt","cities_cippppt.txt","local/add/flagStreetView",true,true,400,true,true,,true,,true,"/maps/c/ui/HovercardLauncher/dommanifest.js",,true,true,false,false,true,true,false,true,true,true,true,true,true,true,true,,true,"http://maps.google.com/maps/stk/fetch",0,,true,true,true,,true,true,,true,"http://maps.google.com/maps/stk/style",true,"107485602240773805043.00043dadc95ca3874f1fa",true,"US,AU,NZ",false,1000,42,"http://cbk0.google.com",false,,"ar,iw",false,false,,true,true,true,false,"","http://pagead2.googlesyndication.com/pagead/imgad?id\x3dCMKp3NaV5_mE1AEQEBgQMgieroCd6vHEKA",false,false,false,false,false,false,2000,false,false ];

var _mHost = "";
var _mUri = "/maps";
var _mDomain = "google.com";
var _mStaticPath = "/maps/mapfiles/";
var _mJavascriptVersion = "109";
var _mTermsUrl = "http://www.google.com/intl/en_us/help/terms_maps.html";
var _mHL = "en";
var _mGL = "us";
var _mTrafficEnableApi = true;
var _mTrafficTileServerUrlBase = "";
var _mSavedLocationsLogUsage = true;
var _mWizActions = {
  hyphenSep: 1,
  breakSep: 2,
  dir: 3,
  searchNear: 6,
  savePlace: 9
};
var _mIdcRouterPath = "/maps/mpl/router";
var _mIdcRelayPath = "/maps/mpl/relay";
var _mIGoogleUseXSS = true;
var _mIGoogleServerUntrustedUrl = "";
var _mIGoogleEt = "DzU6GYsq";
var _mMplGGeoXml = 100;
var _mMplGPoly = 1000;
var _mMplMapViews = 100;
var _mMplGeocoding = 100;
var _mMplDirections = 100;
var _mMplEnableGoogleLinks = true;
var _mIGoogleServerTrustedUrl = "";
var _mIGoogleEt = "DzU6GYsq";
var _mIGoogleUseXSS = true;
var _mMMEnableAddContent = true;
var _mMSEnablePublicView = true;
var _mSatelliteToken = "";
var _mMapCopy = "Map data \x26#169;2008 ";
var _mSatelliteCopy = "Imagery \x26#169;2008 ";
var _mGoogleCopy = "\x26#169;2008 Google";
var _mPreferMetric = false;
var _mPanelWidth = 40.00; 
var _mMapPrintUrl = '';
var _mAutocompleteEnabled = true;
var _mSvgEnabled = true;
var _mSvgForced = false;
var _mLogInfoWinExp = true;
var _mLogPanZoomClks = false;
var _mLogWizard = true;
var _mLogLimitExceeded = true;
var _mLogPrefs = true;
var _mMMLogMyMapViewpoints = true;
var _mCalPopupMonths = [
    "Jan",
    "Feb",
    "Mar",
    "Apr",
    "May",
    "Jun",
    "Jul",
    "Aug",
    "Sep",
    "Oct",
    "Nov",
    "Dec"
];
var _mCalPopupDaysOfWeek = [
    "S",
    "M",
    "T",
    "W",
    "T",
    "F",
    "S"
];
var _mAttrInpNumMap = {
  'hundred': 100,
  'thousand': 1000,
  'k': 1000,
  'million': 1000000,
  'm': 1000000,
  'billion': 1000000000,
  'b': 1000000000
};
var _mMSMarker = 'Placemark';
var _mMSLine = 'Line';
var _mMSPolygon = 'Shape';
var _mMSImage = 'Image';
var _mDirectionsDragging = true;
var _mDirectionsEnableCityblock = false;
var _mDirectionsEnableApi = true;

function GLoadMapsScript() {
  if (typeof _mFusionMapServer != "undefined" && _mFusionMapServer) {
    _mHost = _mFusionMapServer;
    _mStaticPath = _mFusionMapServer + _mStaticPath;
  }
  GScript(_mHost + _mUri + "/mapfiles/" + _mJavascriptVersion + "/maps2" +
          ".api/main.js");
}

GLoadMapsScript();
