$(document).ready(function() {
    if ($("#procedures").size() > 0) {
        //set the height of main content in surgical procedure section.
        //$("#main-text").css("height", $("#procedures")[0].clientHeight);

        //set the max-width in surgical procedure section.
        $("#procedures img").each(function() {
            $(this).css("width", $(this).width() > 590 ? "590px" : "auto");
        });
    }
    
    $('.flash-sifr').sifr({ path: '/Includes/flash/', font: 'AFBattersea', build: 436, version: 3});
    
});