// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function addPage() {
if ((navigator.appName=="Microsoft Internet Explorer")&&
(parseInt(navigator.appVersion)>=4)) {
window.external.addFavorite
(document.location.href, document.title);
} else {
var msg = "Info: Il tuo browser non supporta lo script '" +
document.location.href + "' ai preferiti!";
if (navigator.appName=="Netscape") msg += " (CTRL-D)";
alert(msg);
}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



var img = new Image(); /* NEW IMAGE OBJECT */
var newWin; /* VARIABLE FOR A NEW WINDOW */
var url = "sport1e.htm"; /* STARTING IMAGE */

function loadImage(fileName, url)
{
  this.url = url; /* LOCATION OF THE ORIGINAL IMAGE */
  img.src = fileName;
  document.preview.src = img.src; /* SETS THE THUMBNAIL */
}
function bigImage()
{
  newWin = window.open(url, "enlarge", "menubar = 0, toolbar = 0, status = 0, resizable = no, scrollbars=no, width = 500, height = 470");
}

var img = new Image(); /* NEW IMAGE OBJECT */
var newWin2; /* VARIABLE FOR A NEW WINDOW */
var url2 = "museo1e.htm"; /* STARTING IMAGE */

function loadImage2(fileName, url2)
{
  this.url2 = url2; /* LOCATION OF THE ORIGINAL IMAGE */
  img.src = fileName;
  document.preview2.src = img.src; /* SETS THE THUMBNAIL */
}
function bigImage2()
{
  newWin2 = window.open(url2, "enlarge", "menubar = 0, toolbar = 0, status = 0, resizable = no, scrollbars=no, width = 500, height = 470");
}



 function Modulo2() {

        if ((document.modulo2.email.value == "")) {
           alert("The field Email is obligatory");
           document.modulo2.email.focus();
           return false;
        }
         
        else {
           document.modulo2.action = "submit-newsletter.php";
           document.modulo2.submit();
        }
  }

