var offseta = 19
var offsetb = 1





function initialize() {
// This is the code to select an alternative icon
icon = new GIcon();
icon.image = "markers/0.png";
////icon.shadow = "marker/shadow.png";
icon.iconSize = new GSize(50, 50);
////icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GPoint(offseta, offsetb);

icon.infoWindowAnchor = new GPoint(5, 1);

  if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(-33.945759, 151.180358), 11);
    map.addMapType(G_PHYSICAL_MAP);
    map.setMapType(G_PHYSICAL_MAP);
    var mapTypeControl = new GMapTypeControl();
    var adlocation = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(25, 60));
    var bottomRight = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(20, 70));
    map.addControl(mapTypeControl, bottomRight);

map.addControl(new GLargeMapControl3D(),
new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(40, 150)));
//map.addControl(new GScaleControl(),
//new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(30, 320)));


    var publisherID = 'pub-3424852728324504';

      var adsManagerOptions = {
        maxAdsOnMap : 5,
        position : adlocation,
        style: G_ADSMANAGER_STYLE_ADUNIT,
        //// The channel field is optional - replace this field with a channel number
        //// of your own for Google AdSense tracking
        channel: '4400178172'



      };

      adsManager = new GAdsManager(map, publisherID, adsManagerOptions);

      adsManager.disable();


      //var pos = new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(100,2));
      //pos.apply(document.getElementById("twitter"));
      //map.getContainer().appendChild(document.getElementById("twitter"));


      var pos = new GControlPosition(G_ANCHOR_BOTTOM_LEFT, new GSize(5,100));
      pos.apply(document.getElementById("verticalad"));
      map.getContainer().appendChild(document.getElementById("verticalad"));

      var pos = new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(adlocation1,10));
      pos.apply(document.getElementById("horizontalad"));
      map.getContainer().appendChild(document.getElementById("horizontalad"));

      var pos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(20,35));
      pos.apply(document.getElementById("horizontallinkad"));
      map.getContainer().appendChild(document.getElementById("horizontallinkad"));

      //var pos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(00,300));
      //pos.apply(document.getElementById("googlead3"));
      //map.getContainer().appendChild(document.getElementById("googlead3"));

      ///var pos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(20,100));
      ///pos.apply(document.getElementById("flightsearch"));
      ///map.getContainer().appendChild(document.getElementById("flightsearch"));

      var pos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(270,70));
      pos.apply(document.getElementById("plusone"));
      map.getContainer().appendChild(document.getElementById("plusone"));

      var pos = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(570,270));
      pos.apply(document.getElementById("slide-out-div"));
      map.getContainer().appendChild(document.getElementById("slide-out-div"));
        slide-out-div
  }
}

