// JavaScript Document

$(document).ready(function() {
	
	$('.slideshow').cycle({ 
    fx:     'fade', 
    speed:  'fast', 
    timeout: 0, 
    next:   '#next', 
    prev:   '#prev', 
	after:     function() {
            $('#output').html(this.alt);
        }


});
	
	
});

/*
$(document).ready(function() {
	
	$('.slideshow-st').cycle({ 
    fx:     'fade', 
    speed:  'fast', 
    timeout: 0, 
	before: 'onBefore', 
    after:  'onAfter', 
    next:   '#next', 
    prev:   '#prev' 
});
	
	
});


function onBefore() {
    $('#output').html("Scrolling image:<br>" + this.src);
    //window.console.log(  $(this).parent().children().index(this) );
}
function onAfter() {
    $('#output').html("Scroll complete for:<br>" + this.src)
        .append('<h3>' + this.alt + '</h3>');
}
*/
