var scriptfont = {
    src: '/fonts/DINMittelschriftAlternate.swf'
    , ratios: [10, 1.32, 16, 1.27, 23, 1.23, 24, 1.21, 25, 1.22, 31, 1.21, 38, 1.2, 42, 1.19, 43, 1.2, 56, 1.19, 96, 1.18, 97, 1.17, 102, 1.18, 103, 1.17, 107, 1.18, 109, 1.17, 112, 1.18, 115, 1.17, 116, 1.18, 1.17]
};

// sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
sIFR.useStyleCheck = true;
sIFR.activate(scriptfont);

sIFR.replace(scriptfont, {
    selector: '.magazinepageNews .imgLeft h2, .magazinepageNews .imgRight h2, .magazinepageNews .klView h2'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading: -8px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
],
    tuneHeight: 0, offsetTop: 0
});

sIFR.replace(scriptfont, {
    selector: '.magazinepageNews .klView h3, .secondaryContent .secondaryContentPadding .subscriptionAd h3'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#909090; leading: -8px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #999999; text-decoration: none;}'
],
    tuneHeight: 0, offsetTop: 0
});

sIFR.replace(scriptfont, {
    selector: '.magazinepageNews .subscriptionAd h3'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#4b4a4a;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #999999; text-decoration: none;}'
],
    tuneHeight: 0, offsetTop: 8
});

sIFR.replace(scriptfont, {
    selector: '.magazinepageNews .focus h2'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-6px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(scriptfont, {
    selector: '.blogProfile h4'
, wmode: 'transparent'
, fitExactly: true
, selectable: true
, css: [
  '.sIFR-root { text-align: left; color:#b4b4b4; text-transform:uppercase; font-weight: bold;}',
  'a {color: #b4b4b4; text-decoration: none;}',
  'a:hover {color: #b4b4b4; text-decoration: none;}'
]
});

sIFR.replace(scriptfont, {
    selector: '.blogAd .hd h2'
, wmode: 'transparent'
, fitExactly: true
, selectable: true
, css: [
  '.sIFR-root { text-align: left; color:#ffffff; text-transform: uppercase; cursor: pointer; }',
  'a {color: #ffffff; text-decoration: none;}',
  'a:hover {color: #ffffff; text-decoration: none;}'
]
});

var thefont = {
    src: '/fonts/rockwell.swf'
, ratios: [7, 1.32, 11, 1.31, 19, 1.23, 22, 1.2, 29, 1.19, 36, 1.18, 49, 1.17, 50, 1.16, 51, 1.17, 74, 1.16, 75, 1.15, 78, 1.16, 79, 1.15, 80, 1.16, 1.15]
};

// sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
sIFR.useStyleCheck = true;
sIFR.activate(thefont);

sIFR.replace(thefont, {
    selector: '.frontpageNews li.focus h2, .bloggerList > h2'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-8px; font-size:32px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
],
    tuneHeight: 0, offsetLeft: 2
});

sIFR.replace(thefont, {
    selector: '.frontpageNews li h2, .bloggerList .bloggerListElement h2'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#000000;leading:-8px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
],
    tuneHeight: 0, offsetLeft: 1, tuneWidth: 5
});

sIFR.replace(scriptfont, {
    selector: '.articleView h2:not(.commentsCon h2)'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-4px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '.newsView h2:not(.commentsCon h2)'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-4px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '.blogProfile .headline h2, .blogPostContent .headline h2'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-4px; font-size:28px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '.blogProfileBlock h2'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#000000; leading:-4px; font-size:24px; }',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '.blogProfileBlock h3'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#7f7f7f; leading:0px; font-size:12px; }',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '.blogProfile .headline h3'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#7f7f7f; leading:-4px;}',
  'a {color: #7f7f7f; text-decoration: none;}',
  'a:hover {color: #7f7f7f; text-decoration: none;}'
]
});

sIFR.replace(thefont, {
    selector: '#topNameModule h2, .primaryContent .UseMargin h2'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#000000;leading:-8px; font-size:30px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
],
    tuneHeight: 0, offsetTop: 0
});
sIFR.replace(thefont, {
    selector: '#topNameModule h3'
, wmode: 'transparent'
, fitExactly: true
, css: [
  '.sIFR-root { text-align: left; color:#7f7f7f;leading:-8px; font-size:19px;}',
  'a {color: #000000; text-decoration: none;}',
  'a:hover {color: #000000; text-decoration: none;}'
]
});

sIFR.replace(scriptfont, {
    selector: '.publications h2, .mostread h2, .prevBlogPostsHd h2, .topBlogPostsHd h2'
, wmode: 'transparent'
, css: [
  '.sIFR-root { text-align: left; color:#b1b1b1; text-transform:uppercase;}',
  'a {color: #dddddd; text-decoration: none;}',
  'a:hover {color: #dddddd; text-decoration: none;}'
]
});
