/*function scrollmrq(){
	if ( parseInt(mrq.style.top) > -h_mrq )
	{
		mrq.style.top = parseInt(mrq.style.top)-pas+"px";
	}
	else
	{
		mrq.style.top=parseInt(h_fen)+"px";
	}
}*/

/*function init_mrq(){
	mrq=document.getElementById("marquee");
	fen=document.getElementById("fenetre");
	fen.onmouseover=function(){stoc=pas;pas=0};
	fen.onmouseout=function(){pas=stoc};fen.style.height=h_fen;
	h_mrq=mrq.offsetHeight;
	with(mrq.style){position="absolute";top=h_fen;}
	setInterval("scrollmrq()",100);
}*/

function scrollmrq(i){
	if ( parseInt(mrq[i].style.top) > -h_mrq )
	{
		mrq[i].style.top = parseInt(mrq[i].style.top)-pas+"px";
	}
	else
	{
		mrq[i].style.top=parseInt(h_fen[i])+"px";
	}
}

function init_mrq(){
	mrq=document.getElementsByName("marquee");
	fen=document.getElementsByName("fenetre");
	for (i=0;i<fen.length;i++) {
		fen[i].onmouseover=function(){stoc=pas;pas=0};
		fen[i].onmouseout=function(){pas=stoc};fen[i].style.height=h_fen[i];
		h_mrq=mrq[i].offsetHeight;
		with(mrq[i].style){position="absolute";top=h_fen[i];}
		setInterval("scrollmrq("+i+")",100);
	}
}
