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:4000},
	panelbehavior: {speed:1250, wraparound: true, persist:true},
	defaultbuttons: {enable: false, moveby: 1, leftnav: ['assets/images/home/left-arrow.png', 0, 120], rightnav: ['assets/images/home/right-arrow.png', -50, 120]},
	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']
})

stepcarousel-p.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:4000},
	panelbehavior: {speed:1250, wraparound: true, persist:true},
	defaultbuttons: {enable: true, moveby: 1, leftnav: ['assets/images/home/left-arrow.png', 0, 120], rightnav: ['assets/images/home/right-arrow.png', -50, 120]},
	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']
})

// Function to link a product page link

function processPro() {
	var product = $("#product_page").val();
	if(product!="")
	$("#product_link").html("<a href='"+product+"' class='learn'>RAYS LIGHTING SYSTEM</a>");
	else
	$("#product_link").html("<a href='[~4~]' class='learn'>RAYS LIGHTING SYSTEM</a>");
}