This event calls user-defined handlers (if there are any) and passes the following parameter:
sld.attachEvent("onSlideEnd",function(sliderValue){ //some code })