Use this code...
function setMarkers(map,locations)
{
var marker, i
for (i = 0; i < locations.length; i++)
{
var loan = locations[i][0]
var lat = locations[i][1]
var long = locations[i][2]
var add = locations[i][3]
latlngset = new google.maps.LatLng(lat, long);
setTimeout(function() {createMarker(loan,latlngset,add);},5000);
}
}
function createMarker(titleText, point,add){
var marker = new google.maps.Marker({
map: map, title: titleText , position: point
});
map.setCenter(point)
var content = "Loan Number: " + titleText + '' + "Address: " + add
var infowindow = new google.maps.InfoWindow()
google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){
return function() {
infowindow.setContent(content);
infowindow.open(map,marker);
};
})(marker,content,infowindow));
}
Hope this will solve ur problem......