var divAncre;
function monter(divId, yArrive)
	{
	arret = 0;
	divAncre = divId;
	yDepart = parseInt(document.getElementById(divAncre).style.top);
	hauteur = parseInt(document.getElementById(divAncre).style.height);
	yCible = yArrive;
	if(yDepart > yCible) up ();
	}

function up ()
	{
	if (arret!=1)
		{
		yDepart-=5;
		hauteur+=5;
		document.getElementById(divAncre).style.top=yDepart+'px';
		document.getElementById(divAncre).style.height=hauteur+'px';
		if( (yDepart > yCible))
			{
			setTimeout("up()",5);
			}
		}
	}
	
function stop (ref, pos, h)
	{
	arret = 1;
	pos = parseInt(pos);
	h = parseInt(h);
	document.getElementById(ref).style.top=pos+'px';
	document.getElementById(ref).style.height=h+'px';
	}
