function next() {
    // make the imagerotator jump to the next image.
    alert("next");
    document.getElementById('rotator').sendEvent('next');
}

function getlink(n) {
    alert("click");
}
