
$(function () { 
//    w = $("#slide").children().width();
    w = 0;
    $("#slide").children().each( function (i) {
        w = w + $(this).width();
    });
    $("#slide").width(w);

})

if ( dw_scrollObj.isSupported() ) {
    dw_Event.add( window, "load", init_dw_Scroll);
}

function init_dw_Scroll() {
    var wndo = new dw_scrollObj("content", "lyr1");
    wndo.setUpScrollbar("dragBar", "track", "h", 1, 1, true);
    wndo.setUpScrollControls("scrollbar");
    //wndo.setUpScrollControls('scrollbar', true, 'v');

}

