// ###########################
//
// 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/394/new/1.jpg';
                ImageListOn[1] = new Image; ImageListOn[1].src='../images/394/new/1.jpg';
                ImageListOff[2]= new Image; ImageListOff[2].src='../images/394/new/2.jpg';
                ImageListOn[2] = new Image; ImageListOn[2].src='../images/394/new/2.jpg';
                ImageListOff[3]= new Image; ImageListOff[3].src='../images/394/new/3.jpg';
                ImageListOn[3] = new Image; ImageListOn[3].src='../images/394/new/3.jpg';
         		ImageListOff[4]= new Image; ImageListOff[4].src='../images/394/new/4.jpg';
                ImageListOn[4] = new Image; ImageListOn[4].src='../images/394/new/4.jpg';
                ImageListOff[5]= new Image; ImageListOff[5].src='../images/394/new/5.jpg';
                ImageListOn[5] = new Image; ImageListOn[5].src='../images/394/new/5.jpg';
                ImageListOff[6]= new Image; ImageListOff[6].src='../images/394/zoom_DSCF0264.JPG';
                ImageListOn[6] = new Image; ImageListOn[6].src='../images/394/zoom_DSCF0264.JPG';
                ImageListOff[7]= new Image; ImageListOff[7].src='../images/394/zoom_DSCF0256.JPG';
                ImageListOn[7] = new Image; ImageListOn[7].src='../images/394/zoom_DSCF0256.JPG';
                ImageListOff[8]= new Image; ImageListOff[8].src='../images/394/new/6.jpg';
                ImageListOn[8] = new Image; ImageListOn[8].src='../images/394/new/6.jpg';
                ImageListOff[9]= new Image; ImageListOff[9].src='../images/394/zoom_DSCF0212.JPG';
                ImageListOn[9] = new Image; ImageListOn[9].src='../images/394/zoom_DSCF0212.JPG';
				ImageListOff[10]= new Image; ImageListOff[10].src='../images/394/zoom_P1010002.JPG';
                ImageListOn[10] = new Image; ImageListOn[10].src='../images/394/zoom_P1010002.JPG';
                ImageListOff[11]= new Image; ImageListOff[11].src='../images/394/new/7.jpg';
                ImageListOn[11] = new Image; ImageListOn[11].src='../images/394/new/7.jpg';
                ImageListOff[12]= new Image; ImageListOff[12].src='../images/394/zoom_P3180036.JPG';
                ImageListOn[12] = new Image; ImageListOn[12].src='../images/394/zoom_P3180036.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;
}

