// JQuery SIFR Configuration

$(document).ready(function(){
    $('div#sectionHeading h1').flash(
        { 
            src: 'http://www.icorehealthcare.com/MHS/global/scripts/univers.swf', 
            wmode: 'transparent',
			flashvars: { 
                css: [
                    '* { color:#ce7a27; text-transform:lowercase !important; letter-spacing:3; }',
                    'a { color:#ce7a27; text-decoration: none; }',
					'a:visited { color:#ce7a27; }',
                    'a:hover { color:#ce7a27; }'
                ].join(' ')
            }
        },
        { version: 8 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );
});


// SIFR Configuration for template pages

//var univers = {
//  src: '/scripts/univers.swf'
//};

//sIFR.activate(univers); // From revision 209 and onwards

//sIFR.replace(univers, {
//  selector: '#sectionHeading h1'
//   ,css: [
//      '.sIFR-root { color:#efaa22;text-transform:lowercase;letter-spacing: 2;}'
//      ,'a { text-decoration:none;color:#efaa22 }'
//      ,'a:visited { color:#efaa22 }'
//      ,'a:hover { color:#efaa22 }'
//          ]
//   ,wmode: 'transparent'
  
//});
