function verif()
{
this.a=navigator.appVersion
this.b=document.getElementById?1:0
this.ie5=(this.a.indexOf("MSIE 5")>-1 && this.b)?1:0;
this.ie4=(document.all && !this.b)?1:0;
this.ns5=(this.b && parseInt(this.a) >= 5) ?1:0;
this.ns4=(document.c && !this.b)?1:0;
this.d=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
d=new verif()

var boucle
var temps
var tdef=50

function fab(e,f)
{
f=(!f) ? '':'document.'+f+'.'
this.i=d.b?document.getElementById(e):d.ie4?document.all[e]:d.ns4?eval(f+'document.'+e):0;
this.g=d.b?document.getElementById(e).style:d.ie4?document.all[e].style:d.ns4?eval(f+'document.'+e):0;
this.asch=d.ns4?this.g.document.h:this.i.offsetHeight
this.ch=d.ns4?this.g.m.h:this.i.offsetHeight
this.ht=mh;this.bs=mbs;
this.zone=zone; this.x; this.y;
this.e = e + "Object"
eval(this.e + "=this")
return this
}

function fab2(e,f2)
{
f2=(!f2) ? '':'document.'+f2+'.'
this.i=d.b?document.getElementById(e):d.ie4?document.all[e]:d.ns4?eval(f2+'document.'+e):0;
this.g=d.b?document.getElementById(e).style:d.ie4?document.all[e].style:d.ns4?eval(f2+'document.'+e):0;
this.asch=d.ns4?this.g.document.h:this.i.offsetHeight
this.ch=d.ns4?this.g.m.h:this.i.offsetHeight
this.ht=mh2;this.bs=bas;
this.zone=zone; this.x; this.y;
this.e = e + "Object"
eval(this.e + "=this")
return this
}

function bas(mv)
{
var n=(easc.asch-ecal.ch)/mv
var v=eb.ch/n
if(this.y<eb.ch-this.ch)
{
this.zone(0,this.y+v)
if(boucle) setTimeout(this.e+".bs("+mv+")",tdef)
}
}

function mh2(mv)
{
var n=(easc.asch-ecal.ch)/mv
var v=eb.ch/n
if(this.y>0)
{
this.zone(0,this.y+v)
if(boucle) setTimeout(this.e+".ht("+mv+")",tdef)
}
}

function zone(x,y)
{
this.x=x;this.y=y
this.g.left=this.x
this.g.top=this.y
}

function mbs(mv)
{
if(this.y>-this.asch+ecal.ch)
{
this.zone(0,this.y-mv)
if(boucle) setTimeout(this.e+".bs("+mv+")",tdef)
}
}

function mh(mv)
{
if(this.y<0)
{
this.zone(0,this.y-mv)
if(boucle) setTimeout(this.e+".ht("+mv+")",tdef)
}
}

function asc(tdef)
{
if(t)
{
boucle=true;
if(tdef>0)
{
ebar.bs(tdef)
easc.bs(tdef)
}
else
{
ebar.ht(tdef)
easc.ht(tdef)
}
}
}

function fin()
{
boucle=false
if(temps) clearTimeout(temps)
}
var t;

function debuter()
{
eb=new fab2('scrb')
ebar=new fab2('scr','scrb')
ebar.zone(0,0)
eb.g.vu='v'
ecal=new fab('calque')
easc=new fab('calquebis','calque')
easc.zone(0,0)
ecal.g.vu='v'
t=true;
}

function notice()
{
window.location.href=document.forms.form1.select.value
}
