 /*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/
  
    var cochin = {
      src: '/templates_source/swf/cochin.swf'
      ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
    };

    var rockwell = {
      src: '/templates_source/swf/rockwell.swf'
      ,ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 59, 1.2, 68, 1.19, 69, 1.2, 96, 1.19, 97, 1.18, 102, 1.19, 103, 1.18, 107, 1.19, 108, 1.18, 112, 1.19, 114, 1.18, 116, 1.19, 120, 1.18, 121, 1.19, 1.18]
    };

    var tcceb = {
      src: '/templates_source/swf/tcceb.swf'
      ,ratios: [9, 1.27, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 45, 1.12, 61, 1.11, 70, 1.1, 71, 1.11, 104, 1.1, 106, 1.09, 111, 1.1, 112, 1.09, 113, 1.1, 114, 1.09, 115, 1.1, 118, 1.09, 121, 1.1, 123, 1.09, 124, 1.1, 1.09]
    };

    var arlrdbd = {
      src: '/templates_source/swf/arlrdbd.swf'
      ,ratios: [7, 1.32, 11, 1.31, 12, 1.24, 16, 1.27, 19, 1.23, 24, 1.22, 33, 1.2, 37, 1.19, 38, 1.2, 46, 1.19, 50, 1.18, 51, 1.19, 74, 1.18, 75, 1.17, 76, 1.18, 81, 1.17, 82, 1.18, 1.17]
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(cochin, rockwell, tcceb, arlrdbd);

sIFR.replace(arlrdbd, {
  selector: 'h1',
  css: '.sIFR-root { background-color: #fff; color: #d45a00; font-size: 20px; }',wmode: 'transparent'
});

sIFR.replace(arlrdbd, {
  selector: 'h2',
  css: '.sIFR-root { background-color: #fff; color: #d45a00; font-size: 18px; }',wmode: 'transparent'
});

sIFR.replace(arlrdbd, {
  selector: 'h3',
  css: '.sIFR-root { background-color: #fff; color: #d45a00; font-size: 16px; }',wmode: 'transparent'
});

sIFR.replace(tcceb, {
  selector: 'button_text',
  css: [ '.sIFR-root { background-color: #fd6b00; color: #ffffff; font-size: 18px; text-align: center; }', 'a { color: #FFFFFF; text-decoration: none; }', 'a:hover { color: #FFFFFF; }' ],wmode: 'transparent'
});

sIFR.replace(arlrdbd, {
  selector: '.content_left_head_title_style',
  css: '.sIFR-root { background-color: #ffefe5; color: #9b2507; font-size: 14px; }',wmode: 'transparent'
});
