    function pokazmape() 
    {
    	window.map = new GMap2(document.getElementById("mapka"), { size: new GSize(550,320) });
    	map.addControl(new GLargeMapControl());
    	map.addControl(new GScaleControl());	
    	map.addMapType(G_PHYSICAL_MAP);
    	var mapControl = new GHierarchicalMapTypeControl();
        // Set up map type menu relationships
        mapControl.clearRelationships();
        mapControl.addRelationship(G_SATELLITE_MAP, G_HYBRID_MAP, "Labels", false);
        //mapControl.addRelationship(G_PHYSICAL_MAP, mtTerCross, "Crosshairs");
        // Add control after you've specified the relationships
        map.addControl(mapControl);
        map.addControl(new GLargeMapControl());
    
    	var points = new Array(); 
    	var x=0;
    	var mt = Math.round(dl.length/500);
        var j=dl.length;
        var i=0;
    	for (i;i<j;i++)
        {
            if (x>=mt)
            {
                points.push(new GLatLng(dl[i],szer[i])); 
    			x=0;
    		}
    		x++;
    	}
    	var lines = new GPolyline(points,'#000',6,0.5);
    	map.setCenter(lines.getBounds().getCenter(), 15);
    	map.setZoom(map.getBoundsZoomLevel(lines.getBounds()));
    	map.addOverlay(lines);
    }
