// ---------------------------------------------
// © 1997/2001 Django (Oznog) Blais
// http://www.trucsweb.com
// Version Netscape 4.x de
// Pausing updown message scroller
// © Dynamic Drive (www.dynamicdrive.com)
// ---------------------------------------------
var fillargeur=136
var filhauteur=40
var filbgcolor='FFFFFF'
var filimage=''
// Attention de remplacer le caractère (') par (\')
var messages=new Array()

messages[0]="<b><font face='Verdana, Arial, Helvetica' size='1' color='#FF0000'>- Enseignement. <A HREF =http://www.britia.com/flash.php#art2 TARGET=_blank>Un portail web pour les universités de l'Ouest</A></font><b>"
messages[1]="<b><font face='Verdana, Arial, Helvetica' size='1' color='#FF0000'>- Autonomie. <A HREF =http://www.britia.com/flash.php#art1 TARGET=_blank>Le militant breton retouve les Assedic</A></font><b>"
// ---------------------------------------------
var div1T=1
var div2T=0
var i=0
var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

function ScrollNS4(nObjet){
tlayer=eval(nObjet)
if (tlayer.top>0&&tlayer.top<=5){
  tlayer.top=0
  setTimeout("ScrollNS4(tlayer)",3000)
  return
}
if (tlayer.top>=tlayer.document.height*-1){
  tlayer.top-=5
  setTimeout("ScrollNS4(tlayer)",100)
}
else{
  tlayer.top=1
  tlayer.document.write(messages[i])
  tlayer.document.close()
  if (i==messages.length-1)
    i=0
  else
    i++
  ScrollNS4(nObjet)
}
}

function Scroll(nObjet){
var divns6 = document.getElementsByTagName("div")
divComplet = (ns6) ? divns6[nObjet] : eval(nObjet);
div1W = divComplet.offsetHeight
if (div1T>0&&div1T<=5){
  div1T=0
  divComplet.style.top=div1T
  setTimeout("Scroll('filinfo')",3000)
  return
}
if (div1T>=div1W*-1){
  div1T-=5
  divComplet.style.top=div1T
  setTimeout("Scroll('filinfo')",100)
}
else {
  div1T=1
  divComplet.style.top=div1T
  divComplet.innerHTML=messages[i]
  if (i==messages.length-1)
    i=0
  else
    i++
  Scroll('filinfo')
}
}

function debutscroll(){
if (ie4||ns6){
  Scroll('filinfo')
}
else if (ns4){
document.maitre.visibility='show'
ScrollNS4(document.maitre.document.filinfo2)
}
}

window.onload=debutscroll

document.writeln('<ILAYER ID="maitre" WIDTH='+fillargeur+' HEIGHT='+filhauteur+' BGCOLOR='+filbgcolor+' BACKGROUND='+filimage+' VISIBILITY=hide>')
document.writeln('<LAYER ID="filinfo2" LEFT=0 TOP=1 WIDTH='+fillargeur+'>') 
if (document.layers)
document.write(messages[messages.length-1])
document.writeln('</LAYER>')
document.writeln('</ILAYER>')
if (ns6||ie4){
document.writeln('<div id="maitre2" style="position:relative;width:'+fillargeur+';height:'+filhauteur+';overflow:hiden;background-color:'+filbgcolor+' ;background-image:url('+filimage+')">')
document.writeln('<div style="position:absolute;width:'+fillargeur+';height:'+filhauteur+';clip:rect(0 '+fillargeur+' '+filhauteur+' 0);left:0;top:0">')
document.writeln('<div id="filinfo" style="position:absolute;width:'+fillargeur+';left:0;top:1;">')
document.write(messages[messages.length-1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</div>')
}
// --> 
