-1
<script>
function updateSlider() {
if (slider markup has changed) {
imageSlider.reload();
}
}
setInterval(updateSlider, 3000);
</script>
For details about the slider's reload function, please refer to http://www.menucool.com/slider/javascript-image-slider-demo4