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

// barra di stato

window.status = "Atelier Wilfried Senoner - Ortisei/St. Ulrich - 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/cover1-2_off.jpg';
                ImageListOn[1] = new Image; ImageListOn[1].src='images/cover1-2.jpg';
                ImageListOff[2]= new Image; ImageListOff[2].src='images/cover2-2_off.jpg';
                ImageListOn[2] = new Image; ImageListOn[2].src='images/cover2-2.jpg';
                ImageListOff[3]= new Image; ImageListOff[3].src='images/cover3-2_off.jpg';
                ImageListOn[3] = new Image; ImageListOn[3].src='images/cover3-2.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;
}

