  google.load("maps", "2", {callback: initialize});

  function initialize() {
    // Initialize default values
    var zoom = 3;
    var latlng = new google.maps.LatLng(37.4419, -100.1419);
    var l2 = "your area";
    var l3 = "Your Area";
    var l4 = "Your Area";
    var l5 = "your area";
    var l6 = "your area";
    var l7 = "your area";
    var l8 = "your area";
    
// If ClientLocation was filled in by the loader, use that info instead
    if (google.loader.ClientLocation) {
      zoom = 13;
      latlng = new google.maps.LatLng(google.loader.ClientLocation.latitude, google.loader.ClientLocation.longitude);
      l2 = getFormattedLocation2();
      l3 = getFormattedLocation2();
      l4 = getFormattedLocation2();
      l5 = getFormattedLocation2();
      l6 = getFormattedLocation2();
      l7 = getFormattedLocation2();
      l8 = getFormattedLocation2();
    } 

    document.getElementById("l2").innerHTML = l2;
    document.getElementById("l3").innerHTML = l3;
    document.getElementById("l4").innerHTML = l4;
    document.getElementById("l5").innerHTML = l5;
    document.getElementById("l6").innerHTML = l6;
    document.getElementById("l7").innerHTML = l7;
    document.getElementById("l8").innerHTML = l8;
    var map = new google.maps.Map2(document.getElementById('map'));
    map.setCenter(latlng, zoom);
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
  }

  function getFormattedLocation2() {
    if (google.loader.ClientLocation.address.country_code == "US" &&
      google.loader.ClientLocation.address.region) {
      return google.loader.ClientLocation.address.city;
    } else {
      return  google.loader.ClientLocation.address.city + ", "
          + google.loader.ClientLocation.address.country_code;
    }

  }


 
