function load() {
if (GBrowserIsCompatible()) {

  var htmlcontent='dojazd do firmy z:<form action="http://maps.google.pl/maps" method="get"><input type="hidden" name="daddr" value="Roltis@50.020342,19.899979"><input type="hidden" name="hl" value="pl"><input type="hidden" name="ie" value="UTF8"><input type="text" style="width:150px;" name="saddr" value="wpisz adres"><input type="submit" value="pokaż"></form><br /><img src="http://www.roltis.pl/img/zdjecie_salonu_s.jpg" alt="Salon Roltis" /></p>';
function infow() {
marker.openInfoWindowHtml(htmlcontent);
}
var map =new GMap2(document.getElementById("map"));

map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GOverviewMapControl());
map.setCenter(new GLatLng(50.019875,19.898127), 7);
map.enableDoubleClickZoom();

// Create our "tiny" marker icon

var icon = new GIcon();
icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
icon.iconSize = new GSize(12, 20);
icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);

// Our info window content
var infoTabs = [
  ""
];

// Place a marker in the center of the map and open the info window
// automatically

var marker = new GMarker(map.getCenter());
var point = new GLatLng(50.019875,19.898127);

GEvent.addListener(marker, "click", function() {
  marker.openInfoWindowHtml(htmlcontent);

});

map.addOverlay(marker);
marker.openInfoWindowHtml(htmlcontent);
GEvent.addListener(marker, "click", function(){marker.openInfoWindowHtml(htmlcontent);});
 		 map.addOverlay(marker);
}
}
