function initscrollbar(artistname) {

    //collect the variables
    var docH = document.getElementById("scroll-content-" + artistname).offsetHeight;
    var contH = document.getElementById("scroll-container-" + artistname).offsetHeight;
    var scrollAreaH = document.getElementById("scroll-area-" + artistname).offsetHeight;
      
    //calculate height of scroller and resize the scroller div
    //(however, we make sure that it isn't to small for long pages)
    var scrollH = (contH * scrollAreaH) / docH;
    //if(scroller.scrollH < 15) scroller.scrollH = 15;
    document.getElementById("scrollbar-" + artistname).style.height = Math.round(scrollH) + "px";
    
    //what is the effective scroll distance once the scoller's height has been taken into account
    var scrollDist = Math.round(scrollAreaH-scrollH);
    
    //make the scroller div draggable
    Drag.init(document.getElementById("scrollbar-" + artistname),null,0,0,-1,scrollDist);
    
    //add ondrag function
    document.getElementById("scrollbar-" + artistname).onDrag = function (x,y) {
      var scrollY = parseInt(document.getElementById("scrollbar-" + artistname).style.top);
      var docY = 0 - (scrollY * (docH - contH) / scrollDist);
      document.getElementById("scroll-content-"+artistname).style.top = docY + "px";
    }
}