<!--
// pas de défilement :
var pas=2
// hauteur de la partie visible
var h_fen="100px"
var w_fen = ""
var h_mrq=h_fen
var w_mrq=w_fen

var type = "vertical";
/*var mrq
var fen*/

init_mrq()

function scrollmrq(){
	mrq.style.visibility = "visible";
	if(type=="vertical"){
		if ( parseInt(mrq.style.top) > -h_mrq ){
			mrq.style.top = parseInt(mrq.style.top)-pas+"px"}
		else
			mrq.style.top=parseInt(h_fen)+"px"
	}
	if(type=="horizontal"){
		if ( parseInt(mrq.style.left) > -w_mrq )
			mrq.style.left = parseInt(mrq.style.left)-pas+"px"
		else
			mrq.style.left=parseInt(w_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;
fen.style.width=w_fen;

with(mrq.style){position="absolute";if(type=="vertical"){top=h_fen;}if(type=="horizontal"){left=fen.style.width}}
//setInterval("scrollmrq()",100);
}

function start_mrq(){
h_mrq=mrq.offsetHeight;
w_mrq=mrq.offsetWidth;
h_fen=fen.offsetHeight;
w_fen=fen.offsetWidth;
setInterval("scrollmrq()",100);
}

window.onload=start_mrq
//-->

