function stepup(pname) {
//   alert('stepup:' + document.getElementById(pname));
//    if (document.getElementById(pname) != null) {
    stepcarousel.setup({
        galleryid: pname, //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
        panelbehavior: { speed: 500, wraparound: true, persist: false },
        defaultbuttons: { enable: false, moveby: 1, leftnav: ['leftnav.gif', -5, 80], rightnav: ['rightnav.gif', -18, 80] },
        statusvars: [pname + 'CurrentFrom', pname + 'CurrentTo', pname + 'Total'], //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']
        //contenttype: ['external', 'http://www.ntest.com/BrianJ/Content_Aholiday/stepCarouselALLD1.htm'] // DID NOT WORK
    })
//    }
}

function smlca(pdiv,pimg,plab) {
    var str;
    str = "<img src='" + pimg + "' alt='" + plab + "' title='" + plab + "' />";
    document.getElementById(pdiv).innerHTML = str;
}
/*
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
    panelbehavior: { speed: 500, wraparound: true, persist: false },
    defaultbuttons: { enable: false, moveby: 1, leftnav: ['leftnav.gif', -5, 80], rightnav: ['rightnav.gif', -18, 80] },
    statusvars: ['mygalleryCurrentFrom', 'mygalleryCurrentTo', 'mygalleryTotal'], //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']
    //contenttype: ['external', 'http://www.ntest.com/BrianJ/Content_Aholiday/stepCarouselALLD1.htm'] // DID NOT WORK
})
*/
