window.addEvent('domready', function(){ new FancySlider({ container:'accsliderinstance1', elements:'.slide', closedWidth:125, openedWidth:640, autoSlide:0, infoItems:'.info', hideTo:-50 }); });