// JavaScript Document

// pop up
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



//Declare images to be used.

skipoff = new Image();
skipoff.src = "images/bt-skip-on.gif"
skipon = new Image();
skipon.src = "images/bt-skip-off.gif"

entraoff = new Image();
entraoff.src = "images/bt-entra-on.gif"
entraon = new Image();
entraon.src = "images/bt-entra-off.gif"

incontrooff = new Image();
incontrooff.src = "images/bt-incontro-on.gif"
incontroon = new Image();
incontroon.src = "images/bt-incontro-off.gif"

consigliooff = new Image();
consigliooff.src = "images/bt-consiglio-on.gif"
consiglioon = new Image();
consiglioon.src = "images/bt-consiglio-off.gif"

comitatooff = new Image();
comitatooff.src = "images/bt-comitato-on.gif"
comitatoon = new Image();
comitatoon.src = "images/bt-comitato-off.gif"

segreteriaoff = new Image();
segreteriaoff.src = "images/bt-segreteria-on.gif"
segreteriaon = new Image();
segreteriaon.src = "images/bt-segreteria-off.gif"

informazionioff = new Image();
informazionioff.src = "images/bt-informazioni-on.gif"
informazionion = new Image();
informazionion.src = "images/bt-informazioni-off.gif"

programmaoff = new Image();
programmaoff.src = "images/bt-programma-on.gif"
programmaon = new Image();
programmaon.src = "images/bt-programma-off.gif"

linksoff = new Image();
linksoff.src = "images/bt-links-on.gif"
linkson = new Image();
linkson.src = "images/bt-links-off.gif"

homeoff = new Image();
homeoff.src = "images/bt-home-on.gif"
homeon = new Image();
homeon.src = "images/bt-home-off.gif"



function chgImageOn(imgName,state)
{
    document[imgName].src = eval(imgName + "off.src");
}

function chgImageOff(imgName)
{
    document[imgName].src = eval(imgName + "on.src");
}


