<!--
function addLoadEvent(func) {
       var oldonload = window.onload;
       if (typeof window.onload != 'function') {
            //se all'OnLoad non è già associata una funzione allora esegui la funzione che ti passo adesso
            window.onload = func;
       } else {
            //se all'OnLoad è già associata una funzione allora ...
             window.onload = function() {
               if (oldonload) {
                // ... prima esegui la funzione che era già associata e poi ...
                             oldonload();
               }
               // ... esegui la funzione che ti passo adesso
               func();
             }
       }
    }
//-->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

<!--  pagina registrazione
/*function load1() {
	var tiporegistrazione = document.all ? document.all["tiporegistrazione"] : document.getElementById("tiporegistrazione");

     var url = "/registrazione/registra_1.asp?tipo=" + tiporegistrazione.options[tiporegistrazione.selectedIndex].value;
     if (url != '') parent.location.href = url;
     return false;
}*/
//-->

<!-- metodo links
function intercetta() {
    for (var i=0; i<document.links.length; i++)
        if (document.links[i].className=="_blank" | document.links[i].className=="numPagina" | document.links[i].className=="lingua_ES" | document.links[i].className=="generale_blank") {
            document.links[i].target="_blank";
        }
}
window.onload = intercetta;
//-->

<!-- GOOGLE MAPS

    //<![CDATA[
    function load() {

      if (GBrowserIsCompatible()) {		  		

        var map = new GMap2(document.getElementById("map_canvas"));
        map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		
		var geocoder = new GClientGeocoder();		
		
		geocoder.getLatLng("Via delle Industrie, 25  24048  Treviolo",
		  function(point) {
			if (!point) {
				alert("Via delle Industrie, 25  24048  Treviolo not found");
			} else {
				map.setCenter(point, 15);
				map.addOverlay(new GMarker(point));
			}
		  });
      }
    }
 
// AGGIUNTA P2P
   function addLoadEvent(func) {
       var oldonload = window.onload;
       if (typeof window.onload != 'function') {
            //se all'OnLoad non è già associata una funzione allora esegui la funzione che ti passo adesso
            window.onload = func;
       } else {
            //se all'OnLoad è già associata una funzione allora ...
			window.onload = function() {
			if (oldonload) {
			// ... prima esegui la funzione che era già associata e poi ...
						 oldonload();
			}
			// ... esegui la funzione che ti passo adesso
			func();
		 }
       }
    }
// FINE AGGIUNTA P2P 
//]]>	

//-->
