// For instructions how how to modify go to this URL
// http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
stepcarousel.setup({
	galleryid: 'mygallery', //id of carousel DIV
	beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
	panelclass: 'panel', //class of panel DIVs each holding content
	autostep: {enable:true, moveby:1, pause:10000},
	panelbehavior: {speed:200, wraparound:false, persist:true},
	defaultbuttons: {enable: false, moveby: -1},
	statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
	contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
});

jQuery(document).ready(function() {
	jQuery('#gallery-next').click (function (){
		stepcarousel.stepBy('mygallery', 1);							 
	});
	
	jQuery('#gallery-prev').click (function (){
		stepcarousel.stepBy('mygallery', -1);							 
	});	
});
	

