Codice PHP:
var infoHtml '<div class="info"><div style="float:left;width:100%;">[img]'+logo+'[/img]<h3>' title +
       
'</h3></div><div style="float:left;width:400px;">[url="' url '" target="_blank"><img src="][/url]sdasasdasdsad</div>' 
      
'</div>'
          
         
marker2.infoWindow = new google.maps.InfoWindow({contentinfoHtml});

        
google.maps.event.addListener(marker2'click', function() { 
  
   
/* close the previous info-window */ 
  
speedTest.closeInfos(); 

   
/* the marker's content gets attached to the info-window: */ 
    
     //speedTest.infoWindow.setContent(infoHtml); 
        
this.infoWindow.setPosition(myLatlng); 
   
/* trigger the infobox's open function */ 
   
this.infoWindow.open(speedTest.map,this); 
  
   
/* keep the handle, in order to close it on next click