You commented out the wrong ones.... look at my example... you now have:
GEvent.addListener(marker_0, 'click', function() {
// marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
marker_0.openInfoWindowHtml(address_0.infowindowtext);
}
when you should have:
GEvent.addListener(marker_0, 'click', function() {
marker_0.openInfoWindowHtml(address_0.infowindowtext);
});
if(!fromAddress.enabled || 'address_0' != 'address_0') {
map.setCenter(point, 13);
map.addOverlay(marker_0);
// marker_0.openInfoWindowHtml(address_0.infowindowtext);
}