<!--
var scrollerwidth="98%"
var scrollerheight="80px"
var scrollerspeed=1
var pauseit=1
scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1)
var copyspeed=scrollerspeed
var iedom=document.all||document.getElementById
var actualheight=''
var cross_scroller, ns_scroller
var pausespeed=(pauseit==0)? copyspeed: 0

function populate(){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
cross_scroller.style.top=parseInt(scrollerheight)+4+"px"
cross_scroller.innerHTML=scrollercontent
actualheight=cross_scroller.offsetHeight
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.top=parseInt(scrollerheight)+4
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
actualheight=ns_scroller.document.height
}
lefttime=setInterval("scrollscroller()",80)
}
window.onload=populate

function scrollscroller(){

if (iedom){
if (parseInt(cross_scroller.style.top)>(actualheight*(-1)+4))
cross_scroller.style.top=parseInt(cross_scroller.style.top)-copyspeed+"px"
else
cross_scroller.style.top=parseInt(scrollerheight)+4+"px"
}
else if (document.layers){
if (ns_scroller.top>(actualheight*(-1)+4))
ns_scroller.top-=copyspeed
else
ns_scroller.top=parseInt(scrollerheight)+4
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
write('<div id="iescroller" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller">')
write('<layer name="ns_scroller2" width='+scrollerwidth+' height='+scrollerheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed"></layer>')
write('</ilayer>')
}
}
}
//  position du calque par rapport au haut
istop=0;
isleft=0;

var nb;
var z;
var ch;
posx=0;

var dom = (document.getElementById)? true:false;
var IE = (document.all)? true:false;
//if (IE) { document.all('liste_recherche').style.pixelTop=istop; document.all('liste_recherche').style.pixelLeft=isleft;} 

function bouge(direction,liste,parent,H_max) {
//eval("move2("+direction+",'"+liste+"','"+parent+"','"+H_max+"')");
if(IE){ eval("move2("+direction+",'"+liste+"','"+parent+"','"+H_max+"')");}
	else{if(dom){ eval("move("+direction+",'"+liste+"','"+parent+"','"+H_max+"')");}
	}
//alert(liste);
ch=setTimeout("bouge("+direction+",'"+liste+"','"+parent+"','"+H_max+"')",100);
return ch;
}

function tafini() {
clearTimeout(ch);
}

function move(direction,liste,parent,H_max) { //1=haut, 2=bas
	
	nb=5;
	
	W=parseInt(document.getElementById(liste).clientHeight);
	XMAX=parseInt(document.getElementById(parent).clientHeight);
	posx=document.getElementById(liste).style.top;
	posx=(posx=="")?0:posx;
	posx=parseInt(posx);
	posx=(direction==1)?posx - nb:posx + nb;
	if(posx>0 || posx+W+nb<=XMAX) 
		{
		tafini();
		}
		else{
			document.getElementById(liste).style.top=posx+"px";
			}
}

function move2(direction,liste,parent,H_max) { //1=haut, 2=bas
	nb=5;
	calque="document.getElementById('"+liste+"').style";
	W=document.getElementById(liste).clientHeight;
	XMAX=document.getElementById(parent).clientHeight;
	pix="posTop";
	
	signe=(direction==1)?"-":"+";
	newpos=eval("parseInt(eval(calque+'.'+pix))"+signe+""+nb)
	if(newpos>0 || newpos+W+nb<=XMAX) 
		{
		tafini();
		}
		else{
			eval(calque+'.'+pix+'='+newpos);
			}
}

function saut(direction,liste,parent,H_max,val){
	nb=val;
	if(IE) {calque="document.all('"+liste+"').style";W=document.body.clientWidth;layer="document.all('"+parent+"').style";} 
	pix="posTop";
	signe=(direction==1)?"-":"+";
	newpos=eval("parseInt(eval(calque+'.'+pix))"+signe+""+nb)
	if(newpos>0) 
		{tafini();}
		else{
			eval(calque+'.'+pix+'='+newpos);
			}
}
//-->