function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 
bw=new verifyCompatibleBrowser() 
 
 
var speed=50 
 
var loop, timer 
 
function MoveArea(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.y 
    this.css.top=this.x 
} 
 
function MoveAreaDown(move){ 
	if(this.x>-this.scrollHeight+objContainer.clipHeight){ 
    this.MoveArea(this.x-move,0) 
    if(loop) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 
function MoveAreaUp(move){ 
	if(this.x<0){ 
    this.MoveArea(this.x-move,0) 
    if(loop) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll(speed){ 
	if(initialised){ 
		loop=true; 
		if(speed>0) objScroller.down(speed) 
		else objScroller.up(speed) 
	} 
} 

 
function CeaseScroll(){ 
    loop=false; 
    if(timer) clearTimeout(timer) 
} 

var initialised; 
function InitialiseScrollableArea(){ 
    objContainer=new ConstructObject('divContainer') 
    objScroller=new ConstructObject('divContent','divContainer') 
    objScroller.MoveArea(0,0) 
    objContainer.css.visibility='visible' 
    initialised=true; 
} 














var loop2, timer2 



function MoveArea2(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.y 
    this.css.top=this.x 
} 
 
function MoveAreaDown2(move){ 
	if(this.x>-this.scrollHeight+objContainer2.clipHeight){ 
    this.MoveArea(this.x-move,0) 
    if(loop2) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 

function MoveAreaUp2(move){ 
	if(this.x<0){ 
    this.MoveArea(this.x-move,0) 
    if(loop2) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll2(speed){ 
	if(initialised2){ 
		loop2=true; 
		if(speed>0) objScroller2.down(speed) 
		else objScroller2.up(speed) 
	} 
} 

 
function CeaseScroll2(){ 
    loop2=false; 
    if(timer2) clearTimeout(timer2) 
} 

var initialised2; 
function InitialiseScrollableArea2(){ 
    objContainer2=new ConstructObject2('divContainer2') 
    objScroller2=new ConstructObject2('divContent2','divContainer2') 
    objScroller2.MoveArea(0,0) 
    objContainer2.css.visibility='visible' 
    initialised2=true; 
} 








var loop3, timer3 



function MoveArea3(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.y 
    this.css.top=this.x 
} 
 
function MoveAreaDown3(move){ 
	if(this.x>-this.scrollHeight+objContainer3.clipHeight){ 
    this.MoveArea(this.x-move,0) 
    if(loop3) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 

function MoveAreaUp3(move){ 
	if(this.x<0){ 
    this.MoveArea(this.x-move,0) 
    if(loop3) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll3(speed){ 
	if(initialised3){ 
		loop3=true; 
		if(speed>0) objScroller3.down(speed) 
		else objScroller3.up(speed) 
	} 
} 

 
function CeaseScroll3(){ 
    loop3=false; 
    if(timer3) clearTimeout(timer3) 
} 

var initialised3; 
function InitialiseScrollableArea3(){ 
    objContainer3=new ConstructObject3('divContainer3') 
    objScroller3=new ConstructObject3('divContent3','divContainer3') 
    objScroller3.MoveArea(0,0) 
    objContainer3.css.visibility='visible' 
    initialised3=true; 
} 
