var avenirDemi = {
    src: '/flash/avenir-demi.swf'
    , ratios: [7, 0.44, 10, 0.33, 14, 0.24, 19, 0.18, 26, 0.13, 34, 0.1, 43, 0.08, 48, 0.06, 59, 0.05, 76, 0.04, 106, 0.03, 0.02]
};

var avenirBold = {
    src: '/flash/avenir-bold.swf',
    ratios: [8, 1.41, 9, 1.33, 10, 1.35, 15, 1.31, 19, 1.28, 20, 1.27, 28, 1.26, 29, 1.24, 34, 1.25, 40, 1.24, 43, 1.23, 44, 1.24, 64, 1.23, 67, 1.22, 68, 1.23, 72, 1.22, 73, 1.23, 115, 1.22, 116, 1.21, 1.22]
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(avenirDemi, avenirBold);


// H1 ACROSS THE ENTIRE SITE
sIFR.replace(avenirBold, {
    selector: '.generic_header_div h1, .mindlinkTd1 h1, .mindlinkTd2 h1, .mindlinkTd3 h1, #HtmlPlaceholderControl1 h1',
    css: ['.sIFR-root{font-size:18px; text-transform:uppercase; }'
     , 'a { text-decoration: none; }'
        , 'a:link { color: #000000; }'
        , 'a:hover { color: #000000; }']
});


// FRONTPAGE MENU
sIFR.replace(avenirDemi, {
    selector: '.gr3-mainMenu li'
      , css: [
        '.sIFR-root { background-color:#000000; text-align: center; font-weight: normal; }'
        , 'a { text-decoration: none; }'
        , 'a:link { color: #ffffff; }'
        , 'a:hover { color: #CCCCCC; }'
      ]
});