// JavaScript Document
function load() {
    
      if (GBrowserIsCompatible()) {
        
      // Create our "tiny" marker icon
      var icon = new GIcon();
      icon.image = "/img/logo.gif";
      //icon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
      icon.iconSize = new GSize(30, 30);
      //icon.shadowSize = new GSize(22, 20);
      icon.iconAnchor = new GPoint(15, 15);
      icon.infoWindowAnchor = new GPoint(5, 1);
      
	  var indirizzoMonfalcone=new GPoint(13.555,45.7995);
	  var centraturaMonfalcone=new GPoint(13.562,45.8);
	  var indirizzoTrieste=new GPoint(13.774731,45.654166);
	  
      
	  var map = new GMap(document.getElementById("map"));
      map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());
      map.centerAndZoom(centraturaMonfalcone, 3);
      
	  
	   var map2 = new GMap(document.getElementById("map2"));
      map2.addControl(new GSmallMapControl());
      map2.addControl(new GMapTypeControl());
      map2.centerAndZoom(indirizzoTrieste, 1);
	  
      // Creates one of our tiny markers at the given point
      function createMarker(point, map, testo) {
        var marker = new GMarker(point, icon);
        map.addOverlay(marker);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(testo);
        });
      }
      
      // Place the icons randomly in the map viewport
	  var testo= '"<span style=\"font-family:Verdana; font-size:10px\"><strong>Pragotecna S.p.A.</strong><br />via III Armata, 2<br />Monfalcone (GO)</span>"';
	  var testo2='"<span style=\"font-family:Verdana; font-size:10px\"><strong>Pragotecna S.p.A.</strong><br />via Filzi, 21/d<br />Trieste</span>"'
        createMarker(indirizzoMonfalcone, map, testo);
		createMarker(indirizzoTrieste, map2, testo2);
 
      }
    }

