$(document).ready(function() {

    // hides the slickbox as soon as the DOM is ready

    // (a little sooner than page load)

    $('#slickbox').hide();

    // shows the slickbox on clicking the noted link  

    $('a#slick-show').click(function() {

        $('#slickbox').show('slow');

        return false;

    });

    // hides the slickbox on clicking the noted link  

    $('a#slick-hide').click(function() {

        $('#slickbox').hide('fast');

        return false;

    });



    // toggles the slickbox on clicking the noted link  

    $('a#slick-toggle').click(function() {

        $('#slickbox').toggle(400);

        return false;

    });

    // changes breadcrumbs for Chihuly site only
    /*$('#ctl01_Breadcrumbs_breadCrumbsControl span a').each(
        function(index) {
            if (index == 0) {
                $(this).css("display", "none");
                return true;
            }
            var thisHref = $(this).attr("href");
            var splitUnderscore = thisHref.split("_");
            var splitDot = thisHref.split(".");
            var classIndex = index + 1;
            //$(this).parent().addClass("bc" + classIndex);
            if (splitUnderscore.length > 1 && splitUnderscore[1] == "detail.aspx") {
                $(this).css("display", "none");
            }
        }
    );*/

});
