If you want to show the info window opened by default without click, just add a new code like bellow:
Your code:
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
});
So we have a new code like this:
google.maps.event.addListener(marker, 'click', function() {
infowindow.open(map,marker);
});
infowindow.open(map,marker);
As you can see, we just add a little line code with infowindow.open(map,marker);