stepcarousel.setup({
    galleryid: 'portfolio-cycle', //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:3000},
    panelbehavior: {speed:500, wraparound:false, persist:true},
    defaultbuttons: {enable: true, moveby: 1, leftnav: ['left.png', -40, 40], rightnav: ['right.png', 10, 40]},
    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']
})

$(document).ready(function(){
            $('#myForm').ajaxForm(function(data) {
                if (data==1){
                    $('#success').fadeIn("slow");
                    $('#myForm').resetForm();
                }
                else if (data==2){
                    $('#badserver').fadeIn("slow");
                }
                else if (data==3)
                {
                    $('#bademail').fadeIn("slow");
                }
            });
        });

jQuery(document).ready(function($) {
  $('a[rel*=facebox]').facebox()
})