//scroller width
var swidth=185
//scroller height
var sheight=145
//scroller's speed;
var sspeed=2
var wholemessage=''
//text: change to your own
//wholemessage='<span id="newsdata">18 f&eacute;vrier 2004</span><span id="news"><br><a href="#">Fac ut protocollum, monita elegeris exhibeantur.</a></span><br><br><span id="newsdata">18 f&eacute;vrier 2004</span><span id="news"><br><a href="#">Fac ut protocollum, monita atque tesserae in lingua quam elegeris exhibeantur.</a></span><br><br><span id="newsdata">19 f&eacute;vrier 2004</span><span id="news"><br><a href="#">Fac ut protocollum, monita elegeris exhibeantur.</a></span><br><br><span id="newsdata">18 f&eacute;vrier 2004</span><span id="news"><br><a href="#">Fac ut protocollum, monita atque elegeris exhibeantur.</a></span>'
function start(){
	if (document.getElementById){
		wholemessage=document.getElementById("refactu").innerHTML;
	}
	if (document.all){
		document.writeln('<marquee BEHAVIOR=SCROLL id="ieslider" scrollAmount=1 class="marqueenews" direction=up>')
		document.writeln(wholemessage)
		ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
		ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=1")
		document.write('</marquee>')
	}
	if (document.getElementById&&!document.all){
		document.write('<div class="marqueenews" style="position:relative;overflow:hidden;" onMouseover="sspeed=0;" onMouseout="sspeed=4">')
		document.write('<div id="slider" style="position:relative;width:&{swidth};">')
		document.write('</div></div>')
	}
	if (document.all) return
	if (document.getElementById){
		document.getElementById("slider").style.visibility="show"
		ns6marquee(document.getElementById('slider'))
	}else if(document.layers){
		document.slider1.visibility="show"
		ns4marquee(document.slider1.document.slider2)
	}
}
function ns4marquee(whichlayer){
	ns4layer=eval(whichlayer)
	ns4layer.document.write(wholemessage)
	ns4layer.document.close()
	sizeup=ns4layer.document.height
	ns4layer.top-=sizeup
	ns4slide()
}
function ns4slide(){
	if (ns4layer.top>=sizeup*(-1)){
		ns4layer.top-=sspeed
		setTimeout("ns4slide()",100)
	}else{
		ns4layer.top=sheight
		ns4slide()
	}
}
function ns6marquee(whichdiv){
	ns6div=eval(whichdiv)
	ns6div.innerHTML=wholemessage
	ns6div.style.top=sheight
	sizeup=sheight
	ns6slide()
}
function ns6slide(){
	if (parseInt(ns6div.style.top)>=sizeup*(-1)){
		ns6div.style.top=parseInt(ns6div.style.top)-sspeed
		setTimeout("ns6slide()",100)
	}else{
		ns6div.style.top=sheight
		ns6slide()
	}
}

