 $(function () {
	$('#slider1').anythingSlider({
    	startStopped    : true, // If autoPlay is on, this can force it to start stopped
    	width           : 910,  // Override the default CSS width
    	buildArrows     : true,
    	buildNavigation : false, 
    	theme           : 'default',
    	easing: 'easeInOutExpo',
    	autoPlay        : false, 
    	onSlideComplete : function(slider){
    		// alert('Welcome to Slide #' + slider.currentPage);
    	}
    });
    
    // 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
    });
});
