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(45.54,10.24), '<strong>4 ore fa non dichiarati 30&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=altri%20servizi%20di%20assistenza%20sanitaria&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=altri%20servizi%20di%20assistenza%20sanitaria" onmouseout="UnTip()">altri servizi di assistenza sanitaria</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=BS">BS</a>');
maprecent.addOverlay(m0);
markers.push(m0);
maprecent.addOverlay(new GPolygon([new GLatLng(45.53, 10.23), new GLatLng(45.55, 10.23), new GLatLng(45.55, 10.25), new GLatLng(45.53, 10.25), new GLatLng(45.53, 10.23)], "#000000", 1, 0.5, "#444488", 0.1));
var m1 = createMarker(new GLatLng(38.13,13.32), '<strong>7 ore fa non dichiarati 2,90&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=PA">PA</a>');
maprecent.addOverlay(m1);
markers.push(m1);
maprecent.addOverlay(new GPolygon([new GLatLng(38.125, 13.315), new GLatLng(38.135, 13.315), new GLatLng(38.135, 13.325), new GLatLng(38.125, 13.325), new GLatLng(38.125, 13.315)], "#000000", 1, 0.5, "#444488", 0.1));
var m2 = createMarker(new GLatLng(45.09,7.67), '<strong>15 ore fa non dichiarati 10.000&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=apparecchi%20informatica%20e%20telecom&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=apparecchi%20informatica%20e%20telecom" onmouseout="UnTip()">apparecchi informatica e telecom</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=TO">TO</a>');
maprecent.addOverlay(m2);
markers.push(m2);
maprecent.addOverlay(new GPolygon([new GLatLng(45.085, 7.665), new GLatLng(45.095, 7.665), new GLatLng(45.095, 7.675), new GLatLng(45.085, 7.675), new GLatLng(45.085, 7.665)], "#000000", 1, 0.5, "#444488", 0.1));
var m3 = createMarker(new GLatLng(45.05,9.70), '<strong>25 ore fa non dichiarati 4&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=pasti%20preparati%2C%20catering%2C%20asporto%20e%20take-out&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=pasti%20preparati%2C%20catering%2C%20asporto%20e%20take-out" onmouseout="UnTip()">pasti preparati, catering, asporto e take-out</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=PC">PC</a>');
maprecent.addOverlay(m3);
markers.push(m3);
maprecent.addOverlay(new GPolygon([new GLatLng(45.025, 9.675), new GLatLng(45.075, 9.675), new GLatLng(45.075, 9.725), new GLatLng(45.025, 9.725), new GLatLng(45.025, 9.675)], "#000000", 1, 0.5, "#444488", 0.1));
var m4 = createMarker(new GLatLng(40.85,14.27), '<strong>32 ore fa non dichiarati 13&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=trasporto%20terrestre%20e%20per%20condotte&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=trasporto%20terrestre%20e%20per%20condotte" onmouseout="UnTip()">trasporto terrestre e per condotte</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.845, 14.265), new GLatLng(40.855, 14.265), new GLatLng(40.855, 14.275), new GLatLng(40.845, 14.275), new GLatLng(40.845, 14.265)], "#000000", 1, 0.5, "#444488", 0.1));
var m5 = createMarker(new GLatLng(45.8,9.3), '<strong>2 giorni fa non dichiarati 8&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=LC">LC</a>');
maprecent.addOverlay(m5);
markers.push(m5);
maprecent.addOverlay(new GPolygon([new GLatLng(45.75, 9.25), new GLatLng(45.85, 9.25), new GLatLng(45.85, 9.35), new GLatLng(45.75, 9.35), new GLatLng(45.75, 9.25)], "#000000", 1, 0.5, "#444488", 0.1));
var m6 = createMarker(new GLatLng(44.2,8.4), '<strong>3 giorni fa non dichiarati 22&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=SV">SV</a>');
maprecent.addOverlay(m6);
markers.push(m6);
maprecent.addOverlay(new GPolygon([new GLatLng(44.15, 8.35), new GLatLng(44.25, 8.35), new GLatLng(44.25, 8.45), new GLatLng(44.15, 8.45), new GLatLng(44.15, 8.35)], "#000000", 1, 0.5, "#444488", 0.1));
var m7 = createMarker(new GLatLng(40.84,14.23), '<strong>3 giorni fa non dichiarati 13&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=NA">NA</a>');
maprecent.addOverlay(m7);
markers.push(m7);
maprecent.addOverlay(new GPolygon([new GLatLng(40.835, 14.225), new GLatLng(40.845, 14.225), new GLatLng(40.845, 14.235), new GLatLng(40.835, 14.235), new GLatLng(40.835, 14.225)], "#000000", 1, 0.5, "#444488", 0.1));
var m8 = createMarker(new GLatLng(45.47,9.16), '<strong>4 giorni fa non dichiarati 150&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=confezione%20di%20abbigliamento%2C%20articoli%20in%20pelle%20e%20pelliccia&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=confezione%20di%20abbigliamento%2C%20articoli%20in%20pelle%20e%20pelliccia" onmouseout="UnTip()">confezione di abbigliamento, articoli in pelle e pelliccia</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=MI">MI</a>');
maprecent.addOverlay(m8);
markers.push(m8);
maprecent.addOverlay(new GPolygon([new GLatLng(45.465, 9.155), new GLatLng(45.475, 9.155), new GLatLng(45.475, 9.165), new GLatLng(45.465, 9.165), new GLatLng(45.465, 9.155)], "#000000", 1, 0.5, "#444488", 0.1));
var m9 = createMarker(new GLatLng(44.06,12.56), '<strong>5 giorni fa non dichiarati 1,90&euro;: </strong><a onmouseover="Tip(\'&lt;a style=&quot;color:yellow&quot; href=&quot;segnala.cgi?tag=articoli%20culturali%20e%20ricreativi&quot;&gt;segnala categoria&lt;/a&gt;\')" href="esplora.cgi?tag=articoli%20culturali%20e%20ricreativi" onmouseout="UnTip()">articoli culturali e ricreativi</a> in provincia di <a href="http://evasori.info/stat.cgi?prov=RN">RN</a>');
maprecent.addOverlay(m9);
markers.push(m9);
maprecent.addOverlay(new GPolygon([new GLatLng(44.05, 12.55), new GLatLng(44.07, 12.55), new GLatLng(44.07, 12.57), new GLatLng(44.05, 12.57), new GLatLng(44.05, 12.55)], "#000000", 1, 0.5, "#444488", 0.1));
animate_marker();
}
