var clarendon = {
  src: '/fileadmin/templates/js/clarendon_bold_new.swf'/*,
  ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 39, 1.23, 40, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 81, 1.22, 94, 1.21, 95, 1.22, 1.21]*/
};

sIFR.useStyleCheck = true;
sIFR.activate(clarendon);

sIFR.replace(clarendon, {
  selector: '#main .content .quotes h2',
  css: [
    '.sIFR-root { color: #6b5950; background-color: #F7F4E3; text-indent: -12; margin-left: 12; }',
    'a { color: #6b5950; text-decoration: none; }',
    'a:link { color: #6b5950; }',
    'a:hover { color: #6b5950; }'
  ],
  tuneHeight: 4,
  fitExactly: true,
  transparent: true
});

sIFR.replace(clarendon, {
  selector: '#main .content #blackboard_autumn h2',
  css: [
    '.sIFR-root { color: #ffffff; background-color: #000000;}',
    'a { color: #ffffff; text-decoration: none; }',
    'a:link { color: #ffffff; }',
    'a:hover { color: #ffffff; }'
  ],
  tuneHeight: 4,
  fitExactly: true,
  transparent: true
});


sIFR.replace(clarendon, {
  selector: '#main .content h2',
  css: [
    '.sIFR-root { color: #6b5950; background-color: #F7F4E3; }',
    'a { color: #6b5950; text-decoration: none; }',
    'a:link { color: #6b5950; }',
    'a:hover { color: #6b5950; }'
  ],
  tuneHeight: 4,
  fitExactly: true,
  transparent: true
});

sIFR.replace(clarendon, {
  selector: 'ul.submenu li.cur',
  css: [
    '.sIFR-root { color: #6b5950; background-color: #F7F4E3; }',
    'a { color: #6b5950; text-decoration: none; }',
    'a:link { color: #6b5950; }',
    'a:hover { color: #6b5950; }'
  ]
});

sIFR.replace(clarendon, {
  selector: 'ul.submenu li',
  css: [
    '.sIFR-root { color: #ccc5a8; background-color: #F7F4E3; }',
    'a { color: #ccc5a8; text-decoration: none; }',
    'a:link { color: #ccc5a8; }',
    'a:hover { color: #6b5950; }'
  ]
});

sIFR.replace(clarendon, {
  selector: '#main ul#nav li.normal',
  css: [
    '.sIFR-root { color: #c2b59b; background-color: #F7F4E3; }',
    'a { color: #c2b59b; text-decoration: none;  line-height: 24px;}',
    'a:link { color: #c2b59b; }',
    'a:hover { color: #6b5950; }'
  ],
  tuneHeight: 4,
  forceSingleLine: true
});

sIFR.replace(clarendon, {
  selector: '#main ul#nav li.current',
  css: [
    '.sIFR-root { color: #6b5950; background-color: #F7F4E3; }',
    'a { color: #6b5950; text-decoration: none;  line-height: 24px;}',
    'a:link { color: #6b5950; }',
    'a:hover { color: #6b5950; }'
  ],
  forceSingleLine: true
});

