var buttonPosition = 60;

if ($(window).width() >= 1100) {
  var buttonLeft = -75;
  var buttonRight = 0;
}
else  {
  var buttonLeft = -30;
  var buttonRight = -44;
}


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:false, moveby:1, pause:5000},
	panelbehavior: {speed:800, wraparound:false, persist:false},
	defaultbuttons: {enable: true, moveby: 1, leftnav: ['/media/1844/arrow_bigleft.png', buttonLeft, buttonPosition], rightnav: ['/media/1849/arrow_bigright.png', buttonRight, buttonPosition]},
	statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
	contenttype: ['inline']
});

stepcarousel.setup({
	galleryid: 'mygallery2', //id of carousel DIV
	beltclass: 'belt2', //class of inner "belt" DIV containing all the panel DIVs
	panelclass: 'panel2', //class of panel DIVs each holding content
	autostep: {enable:true, moveby:1, pause:5000},
	panelbehavior: {speed:800, wraparound:true, persist:true},
	defaultbuttons: {enable: false, moveby: 1, leftnav: ['images/arrow_left.png', 240, buttonLeft], rightnav: ['images/arrow_right.png', buttonRight, 0]},
	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']
});
