function init_dw_Scroll() {

	if($("#lyr1").length !== 0) {
		var wndo = new dw_scrollObj('wn', 'lyr1');
		wndo.setUpScrollControls('scrollLinks');
	}

}

// if code supported, link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    //dw_writeStyleSheet('css/scroll.css');
	
	
	$(function() {
		if($("#lyr1").length !== 0) {
		    dw_Event.add( window, 'load', init_dw_Scroll);
		}

});
	
}

