function BtnOn(eItem){
	findTag(eItem).style.color = "#3366CC";
	eItem.style.fontWeight = "bold"; 
	eItem.style.cursor = "hand"; 
	eItem.style.color = "#3366CC"; 
	eItem.style.backgroundColor = "#FAE91B";
        eItem.style.borderLeft = "1px solid #FFFFFF"; 
	eItem.style.borderRight = "1px solid #FF9900"; 
        eItem.style.borderTop = "1px solid #FFFFFF"; 
	eItem.style.borderBottom = "1px solid #FF9900";
        eItem.style.paddingLeft = "2px"; 
	eItem.style.paddingRight = "2px"; 
	eItem.style.paddingTop = "0px"; 
	eItem.style.paddingBottom = "0px";
}

function BtnOff(eItem){
	findTag(eItem).style.color = "#FFFFFF";
	eItem.style.backgroundColor = "#3366CC";
	eItem.style.fontWeight = "bold"; 
	eItem.style.color = "#ffffff"; 
	eItem.style.tabIndex = "0"; 
	eItem.style.border = "1px solid #3366CC"; 
        eItem.style.paddingLeft = "2px"; 
	eItem.style.paddingRight = "2px"; 
	eItem.style.paddingTop = "0px"; 
        eItem.style.paddingBottom = "0px";
}

function BtnDwn(eItem){
	findTag(eItem).style.color="#3366CC"
	eItem.style.fontWeight = "bold"; 
	eItem.style.cursor = "hand"; 
	eItem.style.color = "#3366CC"; 
	eItem.style.backgroundColor = "#FAE91B";
        eItem.style.borderRight = "1px solid #FFFFFF"; 
	eItem.style.borderLeft = "1px solid #FF9900"; 
        eItem.style.borderBottom = "1px solid #FFFFFF"; 
	eItem.style.borderTop = "1px solid #FF9900";  
        eItem.style.paddingLeft = "2px"; 
	eItem.style.paddingRight = "2px"; 
	eItem.style.paddingTop = "0px"; 
	eItem.style.paddingBottom = "0px";
}

function BtnUp(eItem){
	eItem.style.fontWeight = "bold"; 
	eItem.style.cursor = "hand"; 
	eItem.style.color = "#3366CC"; 
	eItem.style.backgroundColor = "#FAE91B"; 
        eItem.style.borderLeft = "1px solid #FFFFFF"; 
	eItem.style.borderRight = "1px solid #FF9900"; 
        eItem.style.borderTop = "1px solid #FFFFFF"; 
	eItem.style.borderBottom = "1px solid #FF9900";
        eItem.style.paddingLeft = "2px";
	eItem.style.paddingRight = "2px";
	eItem.style.paddingTop = "0px";
	eItem.style.paddingBottom = "0px";
	findTag(eItem).style.color="#3366CC"
	top.location.href= findTag(eItem).getAttribute("HREF")
}

// -----------------------------------------------------------
// gtLnk() 
// cambia l'evidenza di un link in un testo
// e le img freccie con le funzioni di onmouseover e onmouseout; 
// -----------------------------------------------------------

function gtLnk(eItem,eSx,eDx){
	if(eItem.style.backgroundColor == "#ffffff"){
		eItem.style.backgroundColor = "#FFCC66";
		eSx.src = "../../images/common/FrSxOn.gif";
		eDx.src = "../../images/common/FrDxOn.gif";
	}else{
		eItem.style.backgroundColor = "#FFFFFF";
		eSx.src = "../../images/common/FrSx.gif";
		eDx.src = "../../images/common/FrDx.gif";
	}
}


// -----------------------------------------------------------
// openPic() 
// Apertura nuova windows Credits
// per href di Credits; 
// -----------------------------------------------------------

function openPic() {
	newWin = window.open("credits.htm", "picwin3", "resizable=0,height=390,width=400,screenX=300,screenY=180,left=250,top=100");
}

function openDisp() {
if (navigator.userAgent.indexOf("MSIE")    != -1 && 
	navigator.userAgent.indexOf("Windows") != -1 && 
	navigator.appVersion.substring(0,1) > 3) {
		newWin = window.open("display.htm","picwin3","width=325,height=285,left=250,top=100,directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=no");
	}else{
		newWin = window.open("nsdispl.htm","picwin3","width=440,height=380,left=200,top=100,directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=yes");
	}
}