var avenir = {
    src: 'avenir.swf'
  };
var avenir65medium = {
    src: 'avenir65medium.swf'
  };
var avenir55roman = {
    src: 'avenir55roman.swf'
  };
sIFR.delayCSS  = true;
sIFR.activate( avenir, avenir65medium, avenir55roman );

sIFR.replace( avenir65medium, {
    selector: '#home-content h1.center, #home-content h2.center',
    css: [
        '.sIFR-root { text-align: center; font-style: normal; color: #464646; }'
       ,'a { color: #0f6cb6; }'
       ,'a:hover { color: #0f6cb6; }'
    ], 
    wmode: 'transparent'
});
sIFR.replace( avenir65medium, {
    selector: '#home-content h1, #home-content h2',
    css: [
        '.sIFR-root { font-style: normal; color: #464646; }'
       ,'a { color: #0f6cb6; }'
       ,'a:hover { color: #0f6cb6; }'
    ], 
    wmode: 'transparent'
});
sIFR.replace( avenir55roman, {
    selector: '.home-col-big h1, .home-col-big h2',
    css: [
        '.sIFR-root { font-style: normal; color: #0f6cb6; }'
    ], 
    wmode: 'transparent'
});


sIFR.replace( avenir, {
    selector: 'h1',
    css: [
        '.sIFR-root { font-style: normal; color: #0f6cb6; }'
    ], 
    wmode: 'transparent'
});
sIFR.replace( avenir, {
    selector: '#our-team h2',
    css: [
        '.sIFR-root { float: left; font-style: normal; color: #1f75b9; }'
    ], 
    wmode: 'transparent', 
    fitExactly: true
});
sIFR.replace( avenir, {
    selector: 'h2',
    css: [
        '.sIFR-root { font-style: normal; color: #1f75b9; }'
    ], 
    wmode: 'transparent'
});
sIFR.replace( avenir, {
    selector: 'h3',
    css: [
        '.sIFR-root { font-style: normal; color: #1f75b9; }'
    ], 
    wmode: 'transparent'
});
