Try this..
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true"></script>
<script type="text/javascript">
var locations = [
['loan 1', 17.22, 78.28, 'address 1'],
['loan 2', 13.5, 79.2, 'address 2'],
['loan 3', 15.24, 77.16, 'address 3']
];
function initialize()
{
var myOptions = {
center: new google.maps.LatLng(21.16536,72.79387),
zoom: 5,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map"), myOptions);
$.each(locations, function (i, item) {
var loc = new google.maps.LatLng(parseFloat(item[1]), parseFloat(item[2]));
setTimeout(function() {
var marker = new google.maps.Marker({
position: loc,
title: item[0],
map: map,
animation: google.maps.Animation.DROP,
});
var infowindow = new google.maps.InfoWindow({
content: "Loan Number: " + item[0] + '</h3>' + "Address: " + item[3]
});
// Open the infowindow on marker click
google.maps.event.addListener(marker, "click", function () {
infowindow.open(map, marker);
});
//markers.push(marker);
}, i * 600);
});
}
</script>
window.onload=initialize;