/*    function TextualZoomControl() 
		{
		
    }
			TextualZoomControl.prototype = new GControl();

			TextualZoomControl.prototype.initialize = function(map) 
			{
				var container = document.createElement("div");

				var zoomInDiv = document.createElement("div");
				this.setButtonStyle_(zoomInDiv);
				container.appendChild(zoomInDiv);
				zoomInDiv.appendChild(document.createTextNode("Powiększ"));
				GEvent.addDomListener(zoomInDiv, "click", function() {
					map.zoomIn();
				});

				var zoomOutDiv = document.createElement("div");
				this.setButtonStyle_(zoomOutDiv);
				container.appendChild(zoomOutDiv);
				zoomOutDiv.appendChild(document.createTextNode("Pomniejsz"));
				GEvent.addDomListener(zoomOutDiv, "click", function() {
					map.zoomOut();
				});

				map.getContainer().appendChild(container);
				return container;
			}


			TextualZoomControl.prototype.getDefaultPosition = function() {
				return new GControlPosition(G_ANCHOR_TOP_LEFT, new GSize(7, 7));
			}


			TextualZoomControl.prototype.setButtonStyle_ = function(button) 
			{
				button.style.textDecoration = "none";
				button.style.color = "#000000";
				button.style.backgroundColor = "white";
				button.style.font = "verdana";
				button.style.fontweight = "bold";
				button.style.border = "1px solid #fdb914";
				button.style.padding = "2px";
				button.style.marginBottom = "3px";
				button.style.textAlign = "center";
				button.style.width = "60px";
				button.style.height = "13px";
				button.style.cursor = "pointer";
				button.style.display = "block";
				button.style.marginLeft = "3px";
			}
*/		

    function initialize() 
		{
      if (GBrowserIsCompatible()) 
			{
				var text='<div style="color:#000000;width:200px;text-align:center;margin-top:-5px; margin-left:-10px;margin-right:-40px;padding:0px"><br /><b>STYLPLAST</b><br />Wyszonowice 7<br />57-120 Wiązów</div>';
				var point=new GLatLng(50.781194,17.161417);
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(point, 13);
				
        
				map.addOverlay(new GMarker(point));
				

				map.openInfoWindow(map.getCenter(),text);
				map.addControl(new GSmallMapControl());
				//map.addControl(new TextualZoomControl());
      }
    }		
