function SBscroll(roles,dh,h,sp,byd){
dh=roles.offsetHeight;	
if(byd){
 		if(parseInt(roles.style.top)>(dh*(-1)+2)){
			roles.style.top=parseInt(roles.style.top)-sp+"px";
		}else{
			roles.style.top=parseInt(h)+2+"px";
		}
	} 
}

function SBpopulate(roles,dh,h,sp,byd){
var rolese;	
rolese=document.getElementById? document.getElementById(roles) : document.all.roles;
rolese.style.top=parseInt(h)+8+"px";
	 dh=rolese.offsetHeight;
	this.setInterval("SBscroll("+roles+","+dh+","+h+","+sp+","+byd+")",50);
}