var mover = document.getElementById("scroller");
var movee = document.getElementById("scrollingContent");


// get our content size
var howBigS = document.getElementById("scrollArea").offsetWidth;
var howBigS2 = document.getElementById("scroller").offsetWidth;
var howBigC = document.getElementById("scrollingContent").offsetWidth - (930); // width of the container, yo

var theDiff = (howBigS - howBigS2);

//var theRatio = (howBigC/howBigS);

var theRatio = (howBigC/theDiff);

var theDist = Math.round(theRatio * 10)/10 ;

Drag.init(mover, null, 0, 340, 0, 0); // modified for new wider scroll bar
mover.onDrag = function(x, y) {
    movee.style.left=x * -(theDist) +"px";
    }
var moveDist = (Math.round(howBigC/howBigS));
var howBigContent = document.getElementById("scrollingContent").offsetWidth;
