function defileh(numero, top, nombre) {
	if (nombre > 0) {
		if (nombre <= 1)	document.getElementById('newsh1').style.top = '0px';
		else	montreh(numero, top, nombre);
	}
}

function montreh(numero, top, nombre) {
	pas = 2;
	vitesse = 10;

	top = top - pas;

	if (top == -2) {
		deplacementh = setTimeout('cacheh(' + numero + ',-2,' + nombre + ');', 4000);

		if (numero < nombre)	numero = numero + 1;
		else	numero = 1;
		deplacementh = setTimeout('montreh(' + numero + ',100,' + nombre + ');', 4000);
	}
	else {
		document.getElementById('newsh' + numero).style.top = top;

		deplacementh = setTimeout('montreh(' + numero + ',' + top + ',' + nombre + ');', vitesse);
	}
}

function cacheh(numero, top, nombre) {
	pas = 2;
	vitesse = 10;

	if (top >= -100) {
		top = top - pas;
	
		document.getElementById('newsh' + numero).style.top = top;
	
		deplacementh = setTimeout('cacheh(' + numero + ',' + top + ',' + nombre + ');', vitesse);
	}
	else {
		document.getElementById('newsh' + numero).style.top = 100;
	}
}
