// ---------------------------------------------------------------------
// Custom Project Code
// ---------------------------------------------------------------------
$(document).ready(function() {
    
    //print functions
    arb.functions.fontSizing('#sub');
    
    
        
    /**********************
    * sIFR
    **********************/
    
    //H1
    $('h1').flashText({ 
        src: '/common/flash/metro.swf',
        flashvars: { 
            css: [
                'em { color: #D65D17; }'
            ].join(' ')
        }
    });
    
    //right side bar headings
    $('#sub .box h2').flashText({ 
        src: '/common/flash/metro.swf'
    });
    
    //right side bar headings
    $('#main-inner h2').flashText({ 
        src: '/common/flash/Univers57Condensed_NoHovRemoveAnc_Regular-Bold-Italic-BoldItalic.swf'
    });
    
     //right side bar headings
    $('.section-index h3').flashText({ 
        src: '/common/flash/Univers57Condensed_NoHovRemoveAnc_Regular-Bold-Italic-BoldItalic.swf'
    });
      //right side bar headings
    $('#main-inner h3').flashText({ 
        src: '/common/flash/Univers57Condensed_NoHovRemoveAnc_Regular-Bold-Italic-BoldItalic.swf'
    });
    
    
    /**********************
    * HOME PAGE SPECIFIC
    **********************/
    
    //intro box
    $('#home-intro-box h2').flashText({ 
        src: '/common/flash/Univers57Condensed_NoHovRemoveAnc_Regular-Bold-Italic-BoldItalic.swf'
    });
    
    
    //quick links
    $('ul#quicklinks li h3,#nav-contact-info h3,#nav-contact-info h4').flashText({ 
        src: '/common/flash/Univers57Condensed_NoHovRemoveAnc_Regular-Bold-Italic-BoldItalic.swf'
    });
    

    $('li.expanded').each(function(){
        if( $(this).is('.active') ) {
            $(this).addClass('activeexpanded');
        }
        
    });

});
