if(document.getElementById && document.createElement){
document.write('<style type="text/css">*.toggle{display:none}</style>');
window.onload=function(){
    /*le modifiche allo script vanno solo fatte qui*/
    Attiva("container2009","exhibitions 2009","hide exhibitions 2009");
    Attiva("container2008","exhibitions 2008","hide exhibitions 2008");
    Attiva("container2007","exhibitions 2007","hide exhibitions 2007");
    Attiva("container2006","exhibitions 2006","hide exhibitions 2006");    
      }
}

function Attiva(id,s1,s2){

var el=document.getElementById(id);
el.style.display="none";

var c=document.createElement("div");

var link=document.createElement("a");

link.id = 'titoloanno';


link.href="#";
link.appendChild(document.createTextNode(s1));
link.onclick=function(){
    link.firstChild.nodeValue = (link.firstChild.nodeValue==s1) ? s2 : s1;
    el.style.display=(el.style.display=="none") ? "block" : "none";
    return(false);
    }
c.appendChild(link);
el.parentNode.insertBefore(c,el);


}