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

// barra di stato

window.status = "Garni Ortles Angelo** - Selva Val Gardena / Groeden - by WEB2NET 2006";




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

onload=ImagesPreload;

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

                ImageListOff[1]= new Image; ImageListOff[1].src='images/grafica/cover/2.jpg';
                ImageListOn[1] = new Image; ImageListOn[1].src='images/grafica/cover/2_a.jpg';
                ImageListOff[2]= new Image; ImageListOff[2].src='images/grafica/cover/3.jpg';
                ImageListOn[2] = new Image; ImageListOn[2].src='images/grafica/cover/3_a.jpg';
                ImageListOff[3]= new Image; ImageListOff[3].src='images/grafica/cover/4.jpg';
                ImageListOn[3] = new Image; ImageListOn[3].src='images/grafica/cover/4_a.jpg';

	   ImageListOff[4]= new Image; ImageListOff[4].src='../images/grafica/intern/14.jpg';
                ImageListOn[4] = new Image; ImageListOn[4].src='../images/grafica/intern/14_a.jpg';
                ImageListOff[5]= new Image; ImageListOff[5].src='../images/grafica/intern/15.jpg';
                ImageListOn[5] = new Image; ImageListOn[5].src='../images/grafica/intern/15_a.jpg';
                ImageListOff[6]= new Image; ImageListOff[6].src='../images/grafica/intern/16.jpg';
                ImageListOn[6] = new Image; ImageListOn[6].src='../images/grafica/intern/16_a.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;
}



// Per aprire un popup
//#############################################################


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");
}