

/**
* 14/04/2010
*/
var center; 

function myGetCenter(){
		alert(center);      
		}  
		
		
function puntiMappa(f){
    
 $(document).ready(function() {  
      var num_punti_mappa = 0;    
	  // creo i marker sulla mappa in base all'indirizzo'
	  $("a[class='address']").each(function(i) {
			var elemErr = "err_mess_"+i;
			var htmlBalloon = $("#htmlBalloon_"+i).html();
			//alert(htmlBalloon)
			getLL(this.rel,elemErr,htmlBalloon,num_punti_mappa);
            num_punti_mappa++;
	   });  
	   
      //alert(num_punti); 
       
			
	 //resetZoomLevel(5);
	 if(f){					
	  // evento sul box annuncio				
	  $("div[class='post-cont']").mouseover(function() {
		markerOn(this.id);
		});
	  // evento uscita dal box annuncio            				
	  $("div[class='post-cont']").mouseout(function() {
		resetMarker(this.id);
		});
	 }
								 
	/*  
	showLL(45.463689,9.188141,"Milan");//milano
	showLL(41.895466,12.482324,"Roma - Viale Gramsci, 13");//roma                  
	*/  
	
	 
	
	}); 
	
}
		 
		 
			  
