// JavaScript Document
function loadP() {
browver2= parseInt(navigator.appVersion);
browtype2 = navigator.appName;
browsertype2 = "old";
if (browtype2 == "Netscape" && !(browver2 < 3)) {
browsertype2 = "new"; 
}
if (browtype2 == "Microsoft Internet Explorer" && !(browver2 < 4)) {
browsertype2 = "new";
}
if (browsertype2 == "new") {
thetimer2 = setTimeout("changeimage_()", 30000);
banneradcode2 =1;
listofimages2 = new Array();
listofimages2[0] = new Image(220,55);
listofimages2[0].src = "images_home/Banner/rotazione/ban1.gif";
listofimages2[1] = new Image(220,55);
listofimages2[1].src = "images_home/Banner/rotazione/ban2.gif";
listofimages2[2] = new Image(222,57);
listofimages2[2].src = "images_home/Banner/rotazione/ban3.gif";
listofimages2[3] = new Image(220,55);
listofimages2[3].src = "images_home/Banner/rotazione/ban4.gif";
listofimages2[4] = new Image(220,55);
listofimages2[4].src = "images_home/Banner/rotazione/ban5.gif";
listofimages2[5] = new Image(220,55);
listofimages2[5].src = "images_home/Banner/rotazione/ban6.gif";
listofimages2[6] = new Image(220,55);
listofimages2[6].src = "images_home/Banner/rotazione/ban7.gif";
listofimages2[7] = new Image(220,55);
listofimages2[7].src = "images_home/Banner/rotazione/ban8.gif";
listofimages2[8] = new Image(220,55);
listofimages2[8].src = "images_home/Banner/rotazione/ban9.gif";
listofimages2[9] = new Image(220,55);
listofimages2[9].src = "images_home/Banner/rotazione/ban10.gif";
listofimages2[10] = new Image(220,55);
listofimages2[10].src = "images_home/Banner/rotazione/ban11.gif";
listofimages2[11] = new Image(220,55);
listofimages2[11].src = "images_home/Banner/rotazione/ban12.gif";
listofimages2[12] = new Image(220,55);
listofimages2[12].src = "images_home/Banner/rotazione/ban13.gif";
listofimages2[13] = new Image(220,55);
listofimages2[13].src = "images_home/Banner/rotazione/ban14.gif";
//listofimages2[14] = new Image(220,55);
//listofimages2[14].src = "images_home/Banner/rotazione/ban15.gif";

                          }
}
banneradcode2 =1;
function changeimage_(){
if (browsertype2 == "new") {
banneradcode2 = banneradcode2 + 1
if (banneradcode2 > "14") {
banneradcode2 =1;
}
imagesource2 ="images_home/Banner/rotazione/ban" + banneradcode2 + ".gif"
window.document.rot.src = imagesource2
thetimer2 = setTimeout("changeimage_()", 29000);
}
else if (browsertype2 == "old") {
}
}

function changepage_(){
if (browsertype2 == "new"){
if (banneradcode2 == 1) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=CASA E TEMPO LIBERO&cate=VARIE&cod=8220-NETBSEM2#8220-NETBSEM2";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
nuova = false;
}
else if (banneradcode2 == 2) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=PRODOTTI CONSUMER&cate=SISTEMI LASER&cod=8220-MP1900G#8220-MP1900G.jpg";
features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 3) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=MODULI GSM E SISTEMI GPS&cate=ANTENNE GPS/GSM&cod=8160-AU-5SANT#8160-AU-5SANT";
features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 4) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=COMPONENTI ELETTRONICI &cate=MODULI LASER INDUSTRIALI&cod=8100-LAS100#8100-LAS100";
features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 5) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?cate=ENERGIE ALTERNATIVE&title=NUOVE TECNOLOGIE&liv3=SOLARE";
features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 6) {
newlocation2 = "http://www.futurashop.it/Prodotti/productsList.asp?path=MODULI GSM E SISTEMI GPS";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 7) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?cate=SISTEMI COMPLETI&title=CCTV - VIDEOSORVEGLIANZA&liv3=SISTEMI WIRELESS";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 8) {
newlocation2 = "download/Cat2008/CAT2008.shtm";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 9) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=DVR PER IMPIANTI FISSI&title=CCTV - VIDEOSORVEGLIANZA&cate=SISTEMI DI REGISTRAZIONE&cod=8220-FR329W#8220-FR329W";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 10) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=GSM/GPRS/UMTS&title=CCTV - VIDEOSORVEGLIANZA&cate=TELECAMERE&cod=8100-FR348#8100-FR348";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 11) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=SET COMPLETI&title=CCTV - VIDEOSORVEGLIANZA&cate=SISTEMI DI REGISTRAZIONE&cod=8100-FR368#8100-FR368";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 12) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?cate=SISTEMI LASER&title=SOUND AND LIGHT";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}

else if (banneradcode2 == 13) {
newlocation2 = "http://www.futurashop.it/Prodotti/productsList.asp?titolo=DOCUMENTAZIONE TECNICA&nome=LIBRI&path=DOCUMENTAZIONE TECNICA&terzo=OK";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 14) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=CASA E TEMPO LIBERO&cate=DETERRENTI PER ANIMALI E INSETTI&cod=8100-FR349#8100-FR349";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
else if (banneradcode2 == 15) {
newlocation2 = "http://www.futurashop.it/carrello/prodotti.asp?liv3=&title=MODULI GSM E SISTEMI GPS&cate=LOCALIZZATORI GPS/GSM&cod=8160-TR102#8160-TR102";
//features = "width=600,height=500,scrollbars=yes,resizable=yes top=0 left=0, menubar=yes, titlebar=yes";
//window.open(newlocation2,"homepage",features)
top.main.location = newlocation2;
}
/*else if (banneradcode == 3) {
newlocation2 = "#";
top.main.location = newlocation2;
        }*/

}
else if (browsertype2 == "old") {
location2 = "#"
}
}