<!--
// Tabella delle immagini da scorrere
var img_array = new Array(9);
img_array[0] = "Image_file/switch.JPG";
img_array[1] = "Image_file/switch1.JPG";
img_array[2] = "Image_file/switch2.JPG";
img_array[3] = "Image_file/switch3.JPG";
img_array[4] = "Image_file/switch4.JPG";
img_array[5] = "Image_file/switch5.JPG";
img_array[6] = "Image_file/switch6.JPG";
img_array[7] = "Image_file/switch7.JPG";
img_array[8] = "Image_file/switch8.JPG";
img_array[9] = "Image_file/switch9.JPG";
var iImage = 0;
window.setInterval(ChangeView,6000);
// Determina se il browser è Internet Explorer superiore a 4.0
var IE = false;
if (window.clientInformation.userAgent.indexOf( "MSIE " ) > 0)
    IE = true;

function ChangeView()
{ //v2.0
  //iImage = Math.ceil(Math.random() * 8);
  iImage +=1; if (iImage > 9) iImage = 1;
  if (IE){
    oImage.filters.item(0).Apply();
    oImage.filters.item(0).Transition=12;
    oImage.src = img_array[iImage];
    oImage.filters.item(0).play(2);}
  else
    oImage.src = img_array[iImage];
}
-->

