
var side_bar_html='';var gmarkers=[];var i=0;function myclick(i){GEvent.trigger(gmarkers[i],'click');}
var baseIcon=new GIcon();baseIcon.iconSize=new GSize(32,32);baseIcon.shadowSize=new GSize(56,32);baseIcon.iconAnchor=new GPoint(16,32);baseIcon.infoWindowAnchor=new GPoint(16,0);var webcam=new GIcon(baseIcon,"typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png",null,"typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45s.png");function load(){if(GBrowserIsCompatible()){function createMarker(point,name,url,html,icon){var marker=new GMarker(point,icon);GEvent.addListener(marker,'click',function(){marker.openInfoWindowHtml(html);});gmarkers[i]=marker;side_bar_html+='<a href="'+url+'"  onmouseover="myclick('+i+');">'+name+'</a>';i++;bounds.extend(point);return marker;}
function createTabbedMarker(point,name,url,htmls,labels){var marker=new GMarker(point,icon);GEvent.addListener(marker,"click",function(){if(htmls.length > 2){htmls[0]='<div style="width:'+htmls.length*88+'px">'+htmls[0]+'</div>';}
var tabs=[];for(var i=0;i<htmls.length;i++){tabs.push(new GInfoWindowTab(labels[i],htmls[i]));}
marker.openInfoWindowTabsHtml(tabs);});gmarkers[i]=marker;side_bar_html+='<a href="'+url+'"  onmouseover="myclick('+i+');">'+name+'</a>';i++;bounds.extend(point);return marker;}
var map=new GMap2(document.getElementById("map"));map.addControl(new GSmallZoomControl());map.addControl(new GMapTypeControl(1));map.addControl(new GOverviewMapControl(new GSize(150,150)));var bounds=new GLatLngBounds();map.setCenter(new GLatLng(45.433666,12.338011),11,G_NORMAL_MAP);map.enableDoubleClickZoom();var point=new GLatLng(45.433666,12.338011);var marker=createMarker(point,'Piazza San Marco','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Piazza San Marco</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www2.comune.venezia.it/webCamPsm/imgpsm_00001.jpg" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.443211,12.331971);var marker=createMarker(point,'Santa Fosca','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Santa Fosca</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www2.comune.venezia.it/webCamSnf/imgsnf_00001.jpg?data=Sat%20Jan%2006%202007%2018%3A51%3A16%20GMT+0100" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.650573,13.768862);var marker=createMarker(point,'Triest 3','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Triest 3</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www.commissariato.fvg.it/webcam/piazzaverdi.jpg" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.650558,13.768401);var marker=createMarker(point,'Triest 2','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Triest 2</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www.commissariato.fvg.it/foto/SpyCam.jpg" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.651128,13.768358);var marker=createMarker(point,'Golf von Triest','Trieste-city-information.80.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Golf von Triest</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www.commissariato.fvg.it/webcam/image01.jpg" width=180></p><div style="clear:left; font-size:11px; font-weight:bold; "><a href="Trieste-city-information.80.2.html" ><br />&raquo; Info</a></div></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.218113,12.2825);var marker=createMarker(point,'Chioggia 1','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Chioggia 1</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://85.46.64.146/axis-cgi/jpg/image.cgi" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.473855,12.213192);var marker=createMarker(point,'Traffic Cam Marhera','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Traffic Cam Marhera</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://webcam.gazzettino.it/script/nph-update-h1.cgi" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.491547,12.222977);var marker=createMarker(point,'Traffic Cam Marghera','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Traffic Cam Marghera</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://webcam.gazzettino.it/script/nph-update-h3.cgi" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.435224,12.32769);var marker=createMarker(point,'Canal Grande','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Canal Grande</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://turismo.regione.veneto.it/webcam/full.jpg" width=180></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.437671,12.334642);var marker=createMarker(point,'Rialto','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Rialto</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://www.camsturion.com/sturion.jpg" width=180><br />Vielen Dank an die <a href="http://meineadria.com/Gasthof-Asturion-.13668.0.0.118.0.html" target="_blank" >Locanda Sturion</a></p></div>',webcam);map.addOverlay(marker);var point=new GLatLng(45.597765,12.887392);var marker=createMarker(point,'Caorle','adria-webcams.1161.2.html','<div class="innerBubbles" style="width:250px; font-size:80%;"><h3><h3  class="location" style="background:white url(http://meineAdria.com/typo3conf/ext/vwdgmaps2/res/icons/pal4/icon45.png) no-repeat right 50%;">Caorle</h3></h3><p style="line-height:120%; font-size:10px;"><img src="http://193.109.44.122:8090/record/current.jpg?rand=160274" width=180> Grazie a Caorle.com</p></div>',webcam);map.addOverlay(marker);document.getElementById("mapsidebar").innerHTML=side_bar_html;map.setZoom(map.getBoundsZoomLevel(bounds));map.setCenter(bounds.getCenter());}else{alert("Sorry, the Google Maps API is not compatible with this browser");}
}
