This event calls user-defined handlers (if there are any) and passes the following parameters:
sld.attachEvent("onChange",function(newValue,sliderObj){ alert("New value is "+newValue); })