var speed=100 
var width1=90; 
var loop1, timer1 
 
function ConstructObject1(obj,nest){ 
    nest=(!nest) ? '':'document.'+nest+'.' 
    this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 
    this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 
    this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 
    this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 
    this.up=MoveAreaUp1;this.down=MoveAreaDown1; 
    this.MoveArea1=MoveArea1; this.x; this.y; 
    this.obj = obj + "Object" 
    eval(this.obj + "=this") 
    return this 
} 
function MoveArea1(x,y){ 
    this.x=x;this.y=y 
    this.css.left=this.x 
    this.css.top=this.y 
} 
 
function MoveAreaDown1(move){ 
//	if(this.y>-this.scrollHeight+objContainer.clipHeight)
	if (this.x>=-width1+90)
	{ 
    this.MoveArea1(this.x-move,0) 
    if(loop1) setTimeout(this.obj+".down("+move+")",speed) 
	} 
} 
function MoveAreaUp1(move){ 
//	if(this.y<0)
	if (this.x<0)
	{ 
    this.MoveArea1(this.x-move,0) 
    if(loop1) setTimeout(this.obj+".up("+move+")",speed) 
	} 
} 
 
function PerformScroll1(speed){
	if(initialised1){
		loop1=true; 
		if(speed>0) objScroller1.down(speed) 
		else objScroller1.up(speed) 
	} 
} 
 
function CeaseScroll1(){ 
	loop1=false 
    if(timer1) clearTimeout(timer1) 
} 
var initialised1; 
function InitialiseScrollableArea1(totalwidth1){
    objContainer1=new ConstructObject1('divContainer1') 
    objScroller1=new ConstructObject1('divContent1','divContainer1') 
    objScroller1.MoveArea1(0,0) 
    objContainer1.css.visibility='visible' 
    initialised1=true; 
	width1=totalwidth1;
}