function $( id )  {
	return document.getElementById( id );
}

function StartGoogleMap1() {
  
  var positioning = 0;
  var zoom = 15;
  var startNorth = 51.10009;
  var startEast = 17.043668;
  var iconFile = 'http://omega.sns.pl/projekty/ibielak/css/img/ico-map2.gif';
  var iconW = 13;
  var iconH = 13;
  
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));
    map.addControl(new GSmallMapControl());
    map.setCenter(new GLatLng( startNorth, startEast ), zoom);
    if( positioning == 1 )  {
      GEvent.addListener(map, "moveend", function() {
        var center = map.getCenter();
        document.getElementById("message").innerHTML = center.toString();
      });
    }
    else  {
      if( iconFile != '' && iconW != '' && iconH != '' )  {
        var icon = new GIcon();
        icon.image = iconFile;
        icon.iconSize = new GSize( iconW, iconH );
        icon.iconAnchor = new GPoint(1, 1);
        icon.infoWindowAnchor = new GPoint(5, 1);
      }
      function createMarker(point, number) {
        var marker = new GMarker(point, icon );
        GEvent.addListener(marker, "mouseover", function() {
          text = '<div style=\'padding-left: 25px;\'>ul. T. Kościuszki 108 A / 16<br />50 - 441 Wrocław<br />tel. +48 71 784 31 91</div>';
          marker.openInfoWindowHtml( text );
        });
        return marker;
      }
      var point = new GLatLng(51.0998, 17.0441);
      map.addOverlay(createMarker(point,  1));
    }
  }
}

function Show( id )  {
	for( i=1; i<=6; i++ )  {
		$( 'tresc'+i ).style.display = 'none';
	}
	$( 'tresc'+id ).style.display = 'block';
}