// ###########################
//
// Javascipt di www.web2net.it
//
// versione:        1.0
// data:        18.01.2004
// autore:        Laurin Moroder
//
// info@web2net.it
//
// ############################

// barra di stato

window.status = "FLY2 Paragliding - Web Design © Copyright by WEB2NET 2006";


// Per aprire un popup


/*
function oeffnefenster (url) {
 fenster=window.open(url, "fenster1", "width=600,height=450,status=no,scrollbars=no,resizable=no,top=0,left=0");
 fenster.focus();
}

*/
function popup(file, larghezza, altezza)
{

        var openpopup = window.open(file,"page", "width="+larghezza+", height="+altezza+", toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=no,resizable=no");
}


function popup2(file, larghezza, altezza)
{

        var openpopup = window.open(file,"page", "width="+larghezza+", height="+altezza+", toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=no,resizable=no");
}


/*
,"toolbar=no, left=2, top=2"

'toolbar=no,left=2,top=2,status=no,directories=no,menubar=no,scrollbars=no,resizable=no'
*/

var ImageListOff=new Array();
var ImageListOn=new Array();

onload=ImagesPreload;

function ImagesPreload(){
        if(document.images){

// foto index.html

                ImageListOff[1]= new Image; ImageListOff[1].src='../images/grp_index.jpg';
                ImageListOn[1] = new Image; ImageListOn[1].src='../images/start1.jpg';
                ImageListOff[2]= new Image; ImageListOff[2].src='';
                ImageListOn[2] = new Image; ImageListOn[2].src='../images/start2.jpg';
                ImageListOff[3]= new Image; ImageListOff[3].src='';
                ImageListOn[3] = new Image; ImageListOn[3].src='../images/start3.jpg';
                

// cartina siti

				ImageListOff[4]= new Image; ImageListOff[4].src='../images/cartina_para.gif';
                ImageListOn[4] = new Image; ImageListOn[4].src='../images/cartina_seceda.gif';
                ImageListOff[5]= new Image; ImageListOff[5].src='../images/cartina_para.gif';
                ImageListOn[5] = new Image; ImageListOn[5].src='../images/cartina_ciamp.gif';
                ImageListOff[6]= new Image; ImageListOff[6].src='../images/cartina_para.gif';
                ImageListOn[6] = new Image; ImageListOn[6].src='../images/cartina_mont_seura.gif';
                ImageListOff[7]= new Image; ImageListOff[7].src='../images/cartina_para.gif';
                ImageListOn[7] = new Image; ImageListOn[7].src='../images/cartina_passogardena.gif';
                ImageListOff[8]= new Image; ImageListOff[8].src='../images/cartina_para.gif';
                ImageListOn[8] = new Image; ImageListOn[8].src='../images/cartina_passosella.gif';
                ImageListOff[9]= new Image; ImageListOff[9].src='../images/cartina_para.gif';
                ImageListOn[9] = new Image; ImageListOn[9].src='../images/cartina_seiser.gif';


// voli biposto

				ImageListOff[10]= new Image; ImageListOff[10].src='../images/grp_tandem.jpg';
                ImageListOn[10] = new Image; ImageListOn[10].src='../images/tandem_1.jpg';
                ImageListOff[11]= new Image; ImageListOff[11].src='';
                ImageListOn[11] = new Image; ImageListOn[11].src='../images/tandem_2.jpg';
                ImageListOff[12]= new Image; ImageListOff[12].src='';
                ImageListOn[12] = new Image; ImageListOn[12].src='../images/tandem_3.jpg';
                ImageListOff[13]= new Image; ImageListOff[13].src='';
                ImageListOn[13] = new Image; ImageListOn[13].src='../images/tandem_4.jpg';
                ImageListOff[14]= new Image; ImageListOff[14].src='';
                ImageListOn[14] = new Image; ImageListOn[14].src='../images/tandem_5.jpg';
                
// fly2                
                
                ImageListOff[15]= new Image; ImageListOff[15].src='../images/grp_fly2.jpg';
                ImageListOn[15] = new Image; ImageListOn[15].src='../images/fly2_1.jpg';
                ImageListOff[16]= new Image; ImageListOff[16].src='';
                ImageListOn[16] = new Image; ImageListOn[16].src='../images/fly2_2.jpg';
                ImageListOff[17]= new Image; ImageListOff[17].src='';
                ImageListOn[17] = new Image; ImageListOn[17].src='../images/fly2_3.jpg';
                ImageListOff[18]= new Image; ImageListOff[18].src='';
                ImageListOn[18] = new Image; ImageListOn[18].src='../images/fly2_4.jpg';
                ImageListOff[19]= new Image; ImageListOff[19].src='';
                ImageListOn[19] = new Image; ImageListOn[19].src='../images/fly2_5.jpg';

// buono                
                
                ImageListOff[20]= new Image; ImageListOff[20].src='../images/grp_buono.jpg';
                ImageListOn[20] = new Image; ImageListOn[20].src='../images/buono_1.jpg';
                ImageListOff[21]= new Image; ImageListOff[21].src='';
                ImageListOn[21] = new Image; ImageListOn[21].src='../images/buono_2.jpg';
                ImageListOff[22]= new Image; ImageListOff[22].src='';
                ImageListOn[22] = new Image; ImageListOn[22].src='../images/buono_3.jpg';
                ImageListOff[23]= new Image; ImageListOff[23].src='';
                ImageListOn[23] = new Image; ImageListOn[23].src='../images/buono_4.jpg';
                ImageListOff[24]= new Image; ImageListOff[24].src='';
                ImageListOn[24] = new Image; ImageListOn[24].src='../images/buono_5.jpg';




                

                

}

}

function ImageOn(NumeroImage,NomeImage){
        if (ImageListOn[NumeroImage])
                document[NomeImage].src=ImageListOn[NumeroImage].src;
}

function ImageOff(NumeroImage,NomeImage){
        if (ImageListOff[NumeroImage])
                document[NomeImage].src=ImageListOff[NumeroImage].src;
}
