window.defaultStatus="AFTER official web site";
window.selezionato=null;
window.selezionatomenu=null;

enciende=function(e,b,c){
	if(!b) var b='#FFFFFF';
	if(!c) var c='#A4491D';
	if (selezionato!=e)
	{
		e.style.backgroundColor=b;
		e.style.color=c;
	}
}

apaga=function(e,b,c)
{
	if(!b) var b='#A4491D';
	if(!c) var c='#FFFFFF';
	if (selezionato!=e)
	{
		e.style.backgroundColor=b;
		e.style.color=c;
	}
}

ira=function(e,newwin,o)
{
	if(!o) var o=window;
	if(!newwin) o.frames['contenitore'].document.location.href = e;
	else window.open(e,newwin)
}

getVar=function(nome){
    var url = document.location.href;
    if ( url.indexOf(nome) != -1 )
	{
        posiIni = url.indexOf("=", url.indexOf(nome))
        barre = url.indexOf("&", posiIni)
        posiFin = (barre != -1 ? barre : url.length)
        return url.substring(posiIni+1,posiFin)
    } else
	{
    	return ''
    }
}