<!--
ie=document.all?1:0
n=document.layers?1:0
dom=document.getElementById?1:0

timSpeed=40 // Mozilla (at least on MacOS X) chokes if this is less than 40...
contHeight=100

function makeScrollObj(obj,nest){
        nest=(!nest) ? '':'document.'+nest+'.'                                                                          
        if(dom && !ie) {
		var o = document.getElementById(obj);
		this.css = o.style
		this.scrollHeight=o.offsetHeight
		this.topper = 0
	} else {
		this.css=(n) ? eval(nest+'document.'+obj):eval('document.all.'+obj+'.style')                                                    
	        this.scrollHeight=n?this.css.document.height:eval('document.all.'+obj+'.offsetHeight')                                                  
	}
        this.top=b_gettop                                                                               
        return this
}

function b_gettop(){
	var gleft
	if(dom && !ie) {
		gleft=this.topper 
	} else {
	        gleft= n ? eval(this.css.top):  eval(this.css.pixelTop)
	}
        return gleft
}
//Variables
var scrollTim;
var active=0;
var oScroll;

function scroll(speed){
        clearTimeout(scrollTim)
        way=speed>0?1:0
        if((!way && oScroll[active].top()>-oScroll[active].scrollHeight+contHeight) || (oScroll[active].top()<0 && way)){
                oScroll[active].css.top=oScroll[active].top()+speed
		oScroll[active].topper += speed
                scrollTim=setTimeout("scroll("+speed+")",timSpeed)
        }
}
function noScroll(){
        clearTimeout(scrollTim)
}
function scrollInit(){
        oScroll=new Array()
        oScroll[0]=new  makeScrollObj('divScroll1','divCont')
        oScroll[0].css.visibility='visible'
}
onload=scrollInit;
//-->
