var timerCheck;

function faiCheck()
{
	var pams = location.hash.toLowerCase();
	if (pams == '#motori')
	{
		clearInterval(timerCheck);
		top.location.replace("/risorse/registrazione_motori/"); 
	}
	else if (pams.indexOf("#votazione;utente=") > -1)
	{
		clearInterval(timerCheck);
		ute = pams.replace("#votazione;utente=","");
		top.location.replace("/cgi-bin/votazione.aspx?utente=" + ute);
	}
}

faiCheck();

timerCheck = setInterval('faiCheck();', 100);