﻿$(function () {
$('#slider1').anythingSlider({
startStopped    : false, // If autoPlay is on, this can force it to start stopped
width           : 544,  // Override the default CSS width
theme           : 'default',
delay           : 5000, // delay in seconds
onSlideComplete : function(slider){
}
});


// Report Events to console
$('.anythingSlider').bind('slideshow_start slideshow_stop slideshow_paused slideshow_unpaused slide_init slide_begin slide_complete',function(e, slider){
		// show object ID + event (e.g. "slider1: slide_begin")
		var txt = slider.$el[0].id + ': ' + e.type + ', now on panel #' + slider.currentPage;
		$('#status').text(txt);
		if (window.console && window.console.firebug){ console.debug(txt); } // added window.console.firebug to make this work in Opera
	});

});
