var maprecent;
function init_maprecent() {
function createMarker(point, myHtml) { var marker = new GMarker(point); GEvent.addListener(marker, "click", function() { maprecent.openInfoWindowHtml(point, myHtml, {maxWidth:200}); }); return marker; }
var markerindex = 0; var markers = new Array();
function animate_marker() {if (markerindex==markers.length) {markerindex=0;} GEvent.trigger(markers[markerindex], "click"); markerindex++; setTimeout(animate_marker, 5000);}
var bottomLeft = new GControlPosition(G_ANCHOR_BOTTOM_LEFT);
maprecent = new GMap2(document.getElementById("smallmaprecent"));
maprecent.setMapType(G_SATELLITE_MAP);
maprecent.addControl(new GSmallZoomControl());
maprecent.addControl(new GMapTypeControl(), bottomLeft);
maprecent.setCenter(new GLatLng(41.918629,12.480469), 5);
var m0 = createMarker(new GLatLng(37.9,15.3), '<strong>12 ore fa non dichiarati 6&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=bar&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=bar" onmouseout="UnTip()">bar</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=ME">ME</a>');
maprecent.addOverlay(m0);
markers.push(m0);
maprecent.addOverlay(new GPolygon([new GLatLng(37.85, 15.25), new GLatLng(37.95, 15.25), new GLatLng(37.95, 15.35), new GLatLng(37.85, 15.35), new GLatLng(37.85, 15.25)], "#000000", 1, 0.5, "#444488", 0.1));
var m1 = createMarker(new GLatLng(40.7,13.9), '<strong>27 ore fa non dichiarati 30&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=alloggi%20per%20vacanze%20e%20brevi%20soggiorni&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=alloggi%20per%20vacanze%20e%20brevi%20soggiorni" onmouseout="UnTip()">alloggi per vacanze e brevi soggiorni</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=NA">NA</a>');
maprecent.addOverlay(m1);
markers.push(m1);
maprecent.addOverlay(new GPolygon([new GLatLng(40.65, 13.85), new GLatLng(40.75, 13.85), new GLatLng(40.75, 13.95), new GLatLng(40.65, 13.95), new GLatLng(40.65, 13.85)], "#000000", 1, 0.5, "#444488", 0.1));
var m2 = createMarker(new GLatLng(41.12,16.88), '<strong>29 ore fa non dichiarati 70&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=medici%20e%20dentisti&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=medici%20e%20dentisti" onmouseout="UnTip()">medici e dentisti</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=BA">BA</a>');
maprecent.addOverlay(m2);
markers.push(m2);
maprecent.addOverlay(new GPolygon([new GLatLng(41.11, 16.87), new GLatLng(41.13, 16.87), new GLatLng(41.13, 16.89), new GLatLng(41.11, 16.89), new GLatLng(41.11, 16.87)], "#000000", 1, 0.5, "#444488", 0.1));
var m3 = createMarker(new GLatLng(42.0,13.4), '<strong>43 ore fa non dichiarati 10.000&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=bar&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=bar" onmouseout="UnTip()">bar</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=AQ">AQ</a>');
maprecent.addOverlay(m3);
markers.push(m3);
maprecent.addOverlay(new GPolygon([new GLatLng(41.95, 13.35), new GLatLng(42.05, 13.35), new GLatLng(42.05, 13.45), new GLatLng(41.95, 13.45), new GLatLng(41.95, 13.35)], "#000000", 1, 0.5, "#444488", 0.1));
var m4 = createMarker(new GLatLng(40.83,14.20), '<strong>2 giorni fa non dichiarati 7,50&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=produzione%20di%20beni%20e%20servizi%20indifferenziati%20per%20uso%20proprio&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=produzione%20di%20beni%20e%20servizi%20indifferenziati%20per%20uso%20proprio" onmouseout="UnTip()">produzione di beni e servizi indifferenziati per uso proprio</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=NA">NA</a>');
maprecent.addOverlay(m4);
markers.push(m4);
maprecent.addOverlay(new GPolygon([new GLatLng(40.825, 14.195), new GLatLng(40.835, 14.195), new GLatLng(40.835, 14.205), new GLatLng(40.825, 14.205), new GLatLng(40.825, 14.195)], "#000000", 1, 0.5, "#444488", 0.1));
var m5 = createMarker(new GLatLng(41.90,12.49), '<strong>2 giorni fa non dichiarati 10&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=alimentari%2C%20bevande%20e%20tabacco&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=alimentari%2C%20bevande%20e%20tabacco" onmouseout="UnTip()">alimentari, bevande e tabacco</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=RM">RM</a>');
maprecent.addOverlay(m5);
markers.push(m5);
maprecent.addOverlay(new GPolygon([new GLatLng(41.895, 12.485), new GLatLng(41.905, 12.485), new GLatLng(41.905, 12.495), new GLatLng(41.895, 12.495), new GLatLng(41.895, 12.485)], "#000000", 1, 0.5, "#444488", 0.1));
var m6 = createMarker(new GLatLng(37.1,14.0), '<strong>2 giorni fa non dichiarati 300&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=autoveicoli%20e%20motocicli%2C%20rivenditori%20e%20meccanici&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=autoveicoli%20e%20motocicli%2C%20rivenditori%20e%20meccanici" onmouseout="UnTip()">autoveicoli e motocicli, rivenditori e meccanici</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=AG">AG</a>');
maprecent.addOverlay(m6);
markers.push(m6);
maprecent.addOverlay(new GPolygon([new GLatLng(37.05, 13.95), new GLatLng(37.15, 13.95), new GLatLng(37.15, 14.05), new GLatLng(37.05, 14.05), new GLatLng(37.05, 13.95)], "#000000", 1, 0.5, "#444488", 0.1));
var m7 = createMarker(new GLatLng(37.10,15.28), '<strong>4 giorni fa non dichiarati 10.000&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=commercio%20ingrosso&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=commercio%20ingrosso" onmouseout="UnTip()">commercio ingrosso</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=SR">SR</a>');
maprecent.addOverlay(m7);
markers.push(m7);
maprecent.addOverlay(new GPolygon([new GLatLng(37.09, 15.27), new GLatLng(37.11, 15.27), new GLatLng(37.11, 15.29), new GLatLng(37.09, 15.29), new GLatLng(37.09, 15.27)], "#000000", 1, 0.5, "#444488", 0.1));
var m8 = createMarker(new GLatLng(43.85,10.50), '<strong>4 giorni fa non dichiarati 100&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=medici%20e%20dentisti&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=medici%20e%20dentisti" onmouseout="UnTip()">medici e dentisti</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=LU">LU</a>');
maprecent.addOverlay(m8);
markers.push(m8);
maprecent.addOverlay(new GPolygon([new GLatLng(43.825, 10.475), new GLatLng(43.875, 10.475), new GLatLng(43.875, 10.525), new GLatLng(43.825, 10.525), new GLatLng(43.825, 10.475)], "#000000", 1, 0.5, "#444488", 0.1));
var m9 = createMarker(new GLatLng(45.2,7.9), '<strong>5 giorni fa non dichiarati 320&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=ristoranti&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=ristoranti" onmouseout="UnTip()">ristoranti</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=TO">TO</a>');
maprecent.addOverlay(m9);
markers.push(m9);
maprecent.addOverlay(new GPolygon([new GLatLng(45.15, 7.85), new GLatLng(45.25, 7.85), new GLatLng(45.25, 7.95), new GLatLng(45.15, 7.95), new GLatLng(45.15, 7.85)], "#000000", 1, 0.5, "#444488", 0.1));
animate_marker();
}
