    var map; 
    var coder;

    function muti(id, cim) {
		$(id).style.display='none';
		
		if (GBrowserIsCompatible()) {	
		    coder = new GClientGeocoder();
		    coder.setBaseCountryCode('hu');
    		
		    coder.getLatLng(cim+', Hungary', function(point) {
			 
			    if (!point) {
				alert('Nem áll rendelkezésre térkép');
			    } else { 
		    		$(id).style.width="430px";
				$(id).style.height="430px";
				$(id).style.display="block";
				$(id).style.border="3px solid black";
				$(id).style.margin="10px 0";
					
			    	map = new GMap2($(id), new GSize(430, 430));

				map.addControl(new GLargeMapControl());
				map.addControl(new GMapTypeControl());
		    
		    		map.setCenter(point, 16);
				map.addOverlay(new GMarker(point));
		    		map.openInfoWindowHtml(point, cim);
			    }
			
			});
		} else {
			alert('A böngésző nem támogatja a térképalkalmazást');
		}
    }
    