$(function()
    {
        $(".kul").corner();
    });

$(function() {
    $('#ss1').cycle({
        fx:     'growY',
        timeout: 1000,
        before:  onBefore,
        after:   onAfter
    });
});

function onBefore() {
    $('#output').html("Scrolling image:&lt;br&gt;" + this.src);
//window.console.log(  $(this).parent().children().index(this) );
}
function onAfter() {
    $('#output').html("Scroll complete for:&lt;br&gt;" + this.src)
    .append('&lt;h3&gt;' + this.alt + '&lt;/h3&gt;');
}


$(function() {
    $('#s1').cycle({
        fx:     'growX',
        timeout: 3000,
        before:  onBefore,
        after:   onAfter
    });
});

function onBefore() {
    $('#output').html("Scrolling image:&lt;br&gt;" + this.src);
//window.console.log(  $(this).parent().children().index(this) );
}
function onAfter() {
    $('#output').html("Scroll complete for:&lt;br&gt;" + this.src)
    .append('&lt;h3&gt;' + this.alt + '&lt;/h3&gt;');
}