// JavaScript Document

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:5000},
	panelbehavior: {speed:500, wraparound:true, persist:true},
	defaultbuttons: {enable: false, moveby: 1, leftnav: ['../images/green-left-arrow.gif', 10, -30], rightnav: ['../images/green-right-arrow.gif', -30, -30]},
	statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
	contenttype: ['inline'], //content setting ['inline'] or ['ajax', 'path_to_external_file']
	onpanelclick:function(target){
 if (target.tagName=="IMG" && target.parentNode.tagName=="A"){
  
  return true //cancel default action (load link in current window)
 }
}
})