//<![CDATA[
//http://maps.google.com/maps/geo?q=Scordia&output=xml&key=ABQIAAAAajhxw2oTWejsnn-9-AeB-BQDpBAPubRgN_EIfRrGBhxHnKRL0hQ9bC36D7UucA864qV0mqYMNF5N9Q
function initialize() {
/*
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map_canvas"));

		//GLargeMapControl adds large zoom and pan controls on the left,
		//you can change it by picking to of the options described below
		//there is a GSmallMapControl for a smaller pan/zoom control
		//also there is GSmallZoomControl - a small zoom control (no panning controls)
		//map.addControl(new GLargeMapControl());

		//this adds the Map, Satellite, and Hybrid buttons, delete line if you don't want it
		//map.addControl(new GMapTypeControl());

		//this adds a scale to the bottom left of the map, delete line if you don't want it
		//map.addControl(new GScaleControl());

		map.addControl(new GSmallMapControl());
		
		map.setCenter(new GLatLng(37.50155517264162, 15.069122314453125), 12);
		//37.52375007493066, 15.111415386199951
		// Create our "tiny" marker icon
		var tinyIcon = new GIcon();
		tinyIcon.image = "http://www.argo.catania.it/favicon.ico";
		//tinyIcon.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png";
		tinyIcon.iconSize = new GSize(16, 16);
		//tinyIcon.shadowSize = new GSize(22, 20);
		tinyIcon.iconAnchor = new GPoint(10, 10);
		tinyIcon.infoWindowAnchor = new GPoint(5, 1);

		// Set up our GMarkerOptions object literal

		//GDownloadUrl("http://www.argo.catania.it/associazioni.xml", function(data, responseCode) {
			//var xml = GXml.parse(data);
			//var markers = xml.documentElement.getElementsByTagName("marker");

		function createMarker(point, text) {
			// Create a lettered icon for this point using our icon class
			
			var markerOptions = { icon:tinyIcon };
			var marker = new GMarker(point, markerOptions);

			GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml(text);
			});
			return marker;
		}

		//for (var i = 0; i < markers.length; i++) {
		// ottegno gli attributi di ogni marker  
		var lat,lng,titolo,sito,pagina, sede,telefono, email;
		var point, ghtml;
		
//		ADDIO PIZZO
		lat="37.516594";
		lng="15.097196";
		titolo="Addio Pizzo Catania";
		sito="www.addiopizzocatania.org/";
		mail="comitato@addiopizzocatania.org";
		pagina="http://www.argo.catania.it/associazioni/addiopizzo/";
		html = 'Sito: <a href="http://www.addiopizzocatania.org/" target="_blank">www.addiopizzocatania.org/</a><br/>Mail: <a href="mailto:comitato@addiopizzocatania.org" target="_blank">comitato@addiopizzocatania.org</a><br/>Sede: viale Vittorio Veneto,14';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html;  
		map.addOverlay(createMarker(point,ghtml));  
		
//		AMNESTY		
	   	lat="37.52375007493066"
	   	lng="15.111415386199951"
	   	titolo="Amnesty International"
	   	sito="www.amnesty.it/"
	   	mail="gr072@amnesty.it"
	   	pagina="http://www.argo.catania.it/associazioni/amnesty-international/";
		html = 'Mail: gruppo Italia72 (<a href="mailto:gr072@amnesty.it" target="_blank">gr072@amnesty.it</a>)<br/>Sede: presso chiesa Maris Stella, <br/>via Spina ang via Plutone,1 (zona Rotolo) <br/>Responsabile: Simonetta Cormaci (<a href="mailto:s.cormaci@tiscali.it" target="_blank">s.cormaci@tiscali.it</a>)';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html;  
		map.addOverlay(createMarker(point,ghtml));  
		
		
//		ARCI CATANIA
		lng="15.088440"
		lat="37.510492"
		titolo="ARCI Catania"
		pagina="http://www.argo.catania.it/associazioni/arci/";
		html = 'Sito: <a href="http://www.arcicatania.org/" target="_blank">http://www.arcicatania.org/</a><br/> Mail: <a href="mailto:catania@arci.it" target="_blank">catania@arci.it</a><br/> Sede: <a href="http://p.za/" target="_blank">p.za</a> Carlo Alberto,47'

		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html;  
		map.addOverlay(createMarker(point,ghtml));    
		

//		CENTRO ASTALLI
		lng="15.097726"
		lat="37.519098"
		titolo="Centro Astalli"
		html='Sito: <a href="http://www.centroastalli.it/catania-centro-astalli.109.0.html" target="_blank">www.centroastalli.itl</a><br/>Mail: <a href="mailto:astallict@virgilio.it" target="_blank">astallict@virgilio.it</a><br/>Sedi: Via Tezzano, 71 - Via Malta, 17';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml));  

//		CITTA' INSIEME
		lng="15.089979";
		lat="37.522984";
		http://maps.google.com/maps?f=q&hl=it&geocode=&q=via+siena+1+catania&ie=UTF8&ll=37.522984,15.089979&spn=0.00394,0.009656&z=17&iwloc=cent
		titolo="Cittą insieme";
		pagina="http://www.argo.catania.it/associazioni/cittainsieme/";
		html='Sito: <a href="http://www.cittainsieme.it/" target="_blank">http://www.cittainsieme.it/</a><br/> Mail: <a href="mailto:info@labarchetta.net" target="_blank">info@labarchetta.net</a><br/> Sede: via Siena,1 - presso parrocchia S.Pietro e Paolo';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml));  

//		COPE
		lng="15.084816"
		lat="37.504547"
		titolo="COP.E."
		sito="www.cope.it/"
		pagina="http://www.argo.catania.it/associazioni/cope/"
		html='Sito: <a href="http://www.cope.it/" target="_blank">http://www.cope.it/</a><br/>Mail: <a href="mailto:cope@cope.it" target="_blank">cope@cope.it</a><br/>Sede: Via Crociferi,38';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml));  

//		GAPA
		lng="15.081876";
		lat="37.496954";
		titolo="GAPA";
		pagina="http://www.argo.catania.it/associazioni/gapa/";
		html='Sito: <a href="http://www.associazionegapa.org/" target="_blank">http://www.associazionegapa.org/</a><br/>Mail: <a href="mailto:gapa88@virgilio.it" target="_blank">gapa88@virgilio.it</a><br/>Sede: Via Cordai,47';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		
//		Legambiente		
		lng="15.088662";
		lat="37.517594";
		titolo="Legambiente";
		pagina="http://www.argo.catania.it/associazioni/legambiente/";
		html='Sito: <a href="http://www.legambientecatania.it/" target="_blank">http://www.legambientecatania.it/</a><br/>Mail: <a href="mailto:legambientect@yahoo.it" target="_blank">legambientect@yahoo.it</a><br/>Sede: Piazza Carlo Alberto,47';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		
//		LIBERA
		lat="37.502450"
		lng="15.087457"
		titolo="Libera"
		pagina="http://www.argo.catania.it/associazioni/libera/";
		html='Responsabile: Dario Montana (<a href="mailto:damont@interfree.it" target="_blank">damont@interfree.it</a>)';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		

//		LILA		
		lng="15.091388"
		lat="37.525457"
		titolo="LILA"
		pagina="http://www.argo.catania.it/associazioni/lila/";
		html='Sito: <a href="http://www.lila.it/sedi.htm" target="_blank">http://www.lila.it/sedi.htm</a><br/>Sede: Via G. San Filippo 10<br/>Mail: <a href="mailto:lilacatania@alice.it" target="_blank">lilacatania@alice.it</a><br/>';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml));   
	
//		MANI TESE	
		lng="15.065968"
		lat="37.507161"
		titolo="Mani Tese"
		pagina="http://www.argo.catania.it/associazioni/mani-tese/";
		html='Sito: <a href="http://www.manitesesicilia.blogspot.com/" target="_blank">http://www.manitesesicilia.blogspot.com/</a><br/>Mail: <a href="mailto:catania@manitese.it" target="_blank">catania@manitese.it</a><br/>Sede: via Montenero, 8';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		
//		PAX CHRISTI
		lng="15.089872"
		lat="37.522863"
		titolo="Pax Christi"
		pagina="http://www.argo	.catania.it/associazioni/pax-christi/";
		html='Mail: <a href="mailto:paxchristicatania@googlegroups.com" target="_blank">paxchristicatania@googlegroups.com</a><br/>Sede: Via Siena,1 (presso parrocchia SS: Pietro e Paolo)';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		
//		SICILIANI PER LA LEGALITA'
		lng="15.094679";
		lat="37.506622";
		titolo="Siciliani per la legalita'";
		pagina="http://www.argo.catania.it/associazioni/siciliani-per-la-legalita/";
		html='Sito: <a href="http://www.sicilianiperlalegalita.it/" target="_blank">http://www.sicilianiperlalegalita.it/</a><br/>Mail: <a href="mailto:sicilianiperlalegalita@gmail.com" target="_blank">sicilianiperlalegalita@gmail.com</a><br/>Sede: Piazza Falcone, 4';
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 
		ghtml = "<b><a href='"+pagina+"'>"+titolo+"</a></b><br/>" + html; 
		map.addOverlay(createMarker(point,ghtml)); 
		


//		COORDINAMENTO LIBRINO		
		lng="15.042494";
		lat="37.486429";
		titolo="Coordinamento Librino Attivo";
		
		ghtml="<b>" + titolo + "</b><br/>"
		//South Media, Talitą-kum, Centro Iqbal Masih, CGIL Librino, Oltre la Periferica";
		
		point = new GLatLng(parseFloat(lat), parseFloat(lng)); 

		pagina="http://www.argo.catania.it/associazioni/south-media-arci/"
		ghtml += "<b><a href='"+pagina+"'>South Media ARCI</a></b><br/>";  

		pagina="http://www.argo.catania.it/associazioni/talita-kum//"
		ghtml += "<b><a href='"+pagina+"'>Talita Kum</a></b><br/>";  

		pagina="http://www.argo.catania.it/associazioni/centro-iqbal-masih/"
		ghtml += "<b><a href='"+pagina+"'>Centro Iqbal Masih</a></b><br/>";  

		pagina="http://www.argo.catania.it/associazioni/cgil-librino/"
		ghtml += "<b><a href='"+pagina+"'>CGIL Librino</a></b><br/>";  

		pagina="http://www.argo.catania.it/associazioni/oltre-la-periferica/"
		ghtml += "<b><a href='"+pagina+"'>Oltre la Periferica</a></b><br/>";  

		map.addOverlay(createMarker(point,ghtml));  
 
	}
*/
}
function toggle_descrizioni(){
	jQuery('#lista-associazioni').toggle();
}

