//----- Diritti Sito -----
var txt = '<br><br>';
txt += '<a style="color: #808080; font-family: Arial,Verdana; font-size: 8pt; text-decoration: none; cursor: pointer;" href="http://f1italia.altervista.org" target="_blank">FORMULA 1 - ITALIA</a>';
txt += '<br>We want not to infringe any copyright.';
txt += '<br>All trademarks are of their owner.';

if(window.name!="dati") document.write(txt);

//----- Funzione Spot Top100 -----
var y1 = -89;
var v = 7;
var id,dir;

function MuoviSpot(x) {
	dir = x;
	window.clearInterval(id);
	id = window.setInterval ("Muovi(dir)",20);
}

function Muovi(dir){
	if (dir=="1") {
		y1 = y1 + v;
		document.getElementById("Spot").style.top = y1;
			if (y1 > -12) {
				document.getElementById("Spot").style.top = -12;
				y1=-12;
				window.clearInterval(id);
			}
	}
	else {
		y1 = y1 - v;
		document.getElementById("Spot").style.top = y1;
			if (y1 < -89) {
				document.getElementById("Spot").style.top = -89;
				y1=-89;
				window.clearInterval(id);
			}
	}	
}
