<!--
var ie4 = (document.all) ? true : false;
var ns4 = (document.layers) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;

function writetolayer(lay,txt) {
if (ie4) {
document.all[lay].innerHTML = txt;
}
if (ns4) {
document[lay].document.write(txt);
document[lay].document.close();
}
if (ns6) {
over = document.getElementById([lay]);
range = document.createRange();
range.setStartBefore(over);
domfrag = range.createContextualFragment(txt);
while (over.hasChildNodes()) {
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
   }
}

if (3 <= navigator.appVersion.substring(0,1)) 
{
        m1homeon = new Image();
        m1homeon.src = "/images/HeaderMenu/home_on.gif";
        m1homeoff = new Image();
        m1homeoff.src = "/images/HeaderMenu/home.gif";
        
        m1entraon = new Image();
        m1entraon.src = "/images/HeaderMenu/login_on.gif";
        m1entraoff = new Image();
        m1entraoff.src = "/images/HeaderMenu/login.gif";      
        
        m1logouton = new Image();
        m1logouton.src = "/images/HeaderMenu/logout_on.gif";
        m1logoutoff = new Image();
        m1logoutoff.src = "/images/HeaderMenu/logout.gif";
        
        m1iscrizioneon = new Image();
        m1iscrizioneon.src = "/images/HeaderMenu/iscrizione_on.gif";
        m1iscrizioneoff = new Image();
        m1iscrizioneoff.src = "/images/HeaderMenu/iscrizione.gif";
        
        m1contattion = new Image();
        m1contattion.src = "/images/HeaderMenu/contatti_on.gif";
        m1contattioff = new Image();
        m1contattioff.src = "/images/HeaderMenu/contatti.gif";
        
	  //Menu sinistra
		m2entraon= new Image(); 
	  	m2entraon.src="/images/PublicPrivateArea/btn_entra_soci_on.jpg"; 
		m2entraoff= new Image(); 
	  	m2entraoff.src="/images/PublicPrivateArea/btn_entra_soci.jpg"; 

		m2escion= new Image(); 
	  	m2escion.src="/images/PublicPrivateArea/btn_esci_soci_on.jpg"; 
		m2escioff= new Image(); 
	  	m2escioff.src="/images/PublicPrivateArea/btn_esci_soci.jpg"; 

		m2forumon= new Image(); 
	  	m2forumon.src="/images/PublicPrivateArea/btn_forum_on.jpg"; 
		m2forumoff= new Image(); 
	  	m2forumoff.src="/images/PublicPrivateArea/btn_forum.jpg"; 


}

function rollon(imgName) {
        if (3 <= navigator.appVersion.substring(0,1)) {
        imgOn = eval(imgName + "on.src");
        $(imgName).src = imgOn;
        }
}

function rolloff(imgName) {
        if (3 <= navigator.appVersion.substring(0,1)) {
        $(imgName).src = eval(imgName + "off.src");
        }
}

// -->