/*script su introcomune*/
function popUp(){
popup = window.open("http://elenasdigimon.altervista.org/elena/index2.html","","height=603,width=825,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=0");
}


function passaggioMouse(){
      // Browser Detection
      browser_name = navigator.appName;
      browser_version = parseFloat(navigator.appVersion); 

      if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; }
      else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0) { roll = 'true'; }
      else { roll = 'true'; }

      // Preload images, if browser supports mouseovers
      if (roll == 'true') {

      // Insert the names of any images you include here.  
      // Be sure to end each line but the last with a comma.
      // The originals have been inserted for you.
      var imglist = new Array ("images/grafica/entrata_porta_0.jpg",
"images/grafica/entrata_porta_1.jpg"
     );
      var imgs = new Array();

      var count;
      if (document.images)
       for (count=0; count<imglist.length; count++)
        {imgs[count]=new Image(); imgs[count].src=imglist[count];}
      }
}
// Use this code if you are only doing one mouseover
function msover1(img,ref) { if (roll == 'true') { document.images[img].src = ref; } }
function msout1(img,ref)  { if (roll == 'true') { document.images[img].src = ref; } }



