<!--
var boxheight=80;			// hauteur
var boxwidth=108;			// largeur
var speed=50;				// vitesse scolling en ms (1 SEC=1000 MILLISECONDES)..
var pixelstep=1;			// Pas de déplacement en px
var godown=false;			// flase = de bas en haut

var outer,inner,elementheight,ref,refX,refY;
var w3c=(document.getElementById)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns6=(w3c && navigator.appName.indexOf("Netscape")>=0)?true:false;
var goscroll=true;

function getElHeight(el){
	if(ie5)return (el.style.height)? el.style.height : el.clientHeight;
	else return (el.style.height)? parseInt(el.style.height):parseInt(el.offsetHeight);
}

function getPageLeft(el){
	var x;
	if(w3c){
		x = 0;
		while(el.offsetParent!=null) {
			x+=el.offsetLeft;
			el=el.offsetParent;
		}
		x+=el.offsetLeft;
		return x;
	}
}

function getPageTop(el){
	var y;
	if(w3c){
		y=0;
		while(el.offsetParent!=null) {
			y+=el.offsetTop;
			el=el.offsetParent;
		}
		y+=el.offsetTop;
		return y;
	}
}

function scrollbox(){
	if(goscroll){		
		inner.style.top=parseInt(inner.style.top)+((godown)? pixelstep: -pixelstep)+'px';
		if(godown) {
			if(parseInt(inner.style.top)>boxheight)inner.style.top=-elementheight+'px';
		}
		else {
			if(parseInt(inner.style.top)<2-elementheight)inner.style.top=boxheight+'px';
		}
	}
}

window.onload=function(){
	outer=document.getElementById('outer');
	inner=document.getElementById('inner');
	ref=document.getElementById('ref');
	elementheight=getElHeight(inner);

	inner.style.top=((godown)? -elementheight : boxheight)+'px';
	inner.style.clip='rect(0px, '+(boxwidth)+'px, '+(elementheight)+'px, 0px)';
	inner.style.visibility="visible";
	
	setInterval('scrollbox()',speed);
}
//-->