﻿function init_dw_Scroll() {
    var wndo = new dw_scrollObj('wn1', 'lyr1');
    var wndo2 = new dw_scrollObj('wn2', 'lyr2');
    wndo.setUpScrollControls('scrollLinks1');
    wndo2.setUpScrollControls('scrollLinks2');
}

// if code supported, link in the style sheet and call the init function onload
if (dw_scrollObj.isSupported()) {
    //dw_writeStyleSheet('css/scroll.css');
    dw_Event.add(window, 'load', init_dw_Scroll);
}