

function load() {
//~Check to see if object exists
    if (document.getElementById("map"))
    {

//--------------Start - Section 1: Javascript for Google map 
       var map = "";
       function createMarker(point,html,icons) 
       {var emarker = new GMarker(point,icons);
        GEvent.addListener(emarker, "click", function() {
          emarker.openInfoWindowHtml(html);
        });return emarker;} 

//Create the map
     map = new GMap2(document.getElementById("map"));
//Map navigation control
    map.addControl(new GLargeMapControl());

//Type of map control
     map.addControl(new GMapTypeControl());
//Set the map centre using latitude and longitude co-ordinates and set the opening zoom level of the map. 
//The smaller the number, the smaller the scale. For example, replacing 14 with 1 will display the whole world.
     map.setCenter(new GLatLng(18.539248153477736,73.8974118232727), 17);
//---------------End - Section 1: Javascript for Google map 

// --------------Start - Section 2: Available markers------------------










var point = new GLatLng(18.53711200444622,73.89121055603027);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Osho Garden",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker2 = new GMarker(point, options);




map.addOverlay(marker2);

GEvent.addListener(marker2, "click", function() {
        marker2.openInfoWindowHtml('Osho Garden');
      });
      map.addOverlay(marker2);

//______________________________________

var point = new GLatLng(18.534813071367847,73.88734817504883);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Inlaks Hospital",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker3 = new GMarker(point, options);




map.addOverlay(marker3);

GEvent.addListener(marker3, "click", function() {
        marker3.openInfoWindowHtml('<div style="width:240px">Inlaks and Budhrani <a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker3);
//____________________________________
var point = new GLatLng(18.539553315444913,73.89726161956787);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Standard Chartered ATM",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker4 = new GMarker(point, options);




map.addOverlay(marker4);

GEvent.addListener(marker4, "click", function() {
        marker4.openInfoWindowHtml('<div style="width:240px">Liberty Phase II, No.7, North Main Rd, Koregaon Park,Pune 411001 <a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker4);	  
	  
//_____________________________________________________________	  
//____________________________________
var point = new GLatLng(18.537966467263637,73.89790534973145);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Joggers Park Koregaon Park",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker5 = new GMarker(point, options);




map.addOverlay(marker5);

GEvent.addListener(marker5, "click", function() {
        marker5.openInfoWindowHtml('<div style="width:240px"> Lane 5 and 6 <a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker5);	  	  







//____________________________________________________________

//____________________________________
var point = new GLatLng(18.538230942983983,73.90024423599243);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Budhani Wafers",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker6 = new GMarker(point, options);




map.addOverlay(marker6);

GEvent.addListener(marker6, "click", function() {
        marker6.openInfoWindowHtml('<div style="width:240px">Budhani Wafers Lane 7 Koregaon Park <a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker6);	  	  
//____________________________________________________________

//____________________________________
var point = new GLatLng(18.53910574437319,73.90028715133667);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Koyla",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker7 = new GMarker(point, options);




map.addOverlay(marker7);

GEvent.addListener(marker7, "click", function() {
        marker7.openInfoWindowHtml('<div style="width:240px">Koyla Hyderabad House Lane 7 Northmain Raod<a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker7);	  	  
//____________________________________________________________
//____________________________________
var point = new GLatLng(18.53646098228881,73.89734745025635);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Great Punjab",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker8 = new GMarker(point, options);




map.addOverlay(marker8);

GEvent.addListener(marker8, "click", function() {
        marker8.openInfoWindowHtml('<div style="width:240px">Great Punjab<a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker8);	  	  
//____________________________________________________________

//____________________________________
var point = new GLatLng(18.53384669646075,73.89895677566528);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Post 91",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker10 = new GMarker(point, options);




map.addOverlay(marker10);

GEvent.addListener(marker10, "click", function() {
        marker10.openInfoWindowHtml('<div style="width:240px">Post 91<a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker10);	  	  
//____________________________________________________________
//____________________________________
var point = new GLatLng(18.53384669646075,73.89895677566528);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Yellow Chilli",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker10 = new GMarker(point, options);




map.addOverlay(marker10);

GEvent.addListener(marker10, "click", function() {
        marker10.openInfoWindowHtml('<div style="width:240px">Yellow Chilli<a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker10);	  	  
//____________________________________________________________

var point = new GLatLng(18.539248153477736,73.8974118232727);

var iconBlue = new GIcon(); 
iconBlue.image = 'http://heyiamonline.com/PM/Icons/gmarkrred.png';

iconBlue.iconSize = new GSize(20, 34);
iconBlue.shadowSize = new GSize(44, 40);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);


var options = { 
title: "Pizza Corner",
icon: iconBlue,
draggable: false,
bouncy: false
};

var marker11 = new GMarker(point, options);




map.addOverlay(marker11);

GEvent.addListener(marker11, "click", function() {
        marker11.openInfoWindowHtml('<div style="width:240px">Pizza Corner<a href="http://www.punemate.com">PuneMate<\/a> <\/div>');
      });
      map.addOverlay(marker11);	  	  
//____________________________________________________________

  }

}
    
window.onload = load; 
