var franklin = {
    src: '/flash/franklin.swf'
};

var lucida = {
    src: '/flash/lucida.swf'
};

sIFR.useStyleCheck = true;
sIFR.activate(franklin, lucida);
sIFR.fitExactly = true;

sIFR.replace(franklin, {
    selector: 'h1'
    ,css: [
        '.sIFR-root { color: #3c3c3c; font-size: 14px; }'
    ]
    ,tuneHeight: -4
    ,wmode: 'transparent'
});

sIFR.replace(lucida, {
    selector: 'h2'
    ,css: [
        '.sIFR-root { color: #053371; font-size: 14px; }'
    ]
    ,tuneHeight: -4
    ,wmode: 'transparent'
});

sIFR.replace(lucida, {
    selector: 'h3'
    ,css: [
      '.sIFR-root { color: #ffffff; font-size: 14px; background-color: #00ff00; }'
      ,'a { text-decoration: none; color: #ffffff; }'
      ,'a:hover { color: #2890d3; }'
    ]
    ,tuneWidth: 20
    ,tuneHeight: 2
    ,offsetTop: 4
    ,offsetLeft: 10
    ,wmode: 'transparent'
});

sIFR.replace(lucida, {
    selector: 'h4'
    ,css: [
      '.sIFR-root { color: #2890d3; font-size: 14px; background-color: #00ff00; }'
      ,'a { text-decoration: none; color: #2890d3; }'
      ,'a:hover { color: #2890d3; }'
    ]
    ,tuneWidth: 20
    ,tuneHeight: 2
    ,offsetTop: 4
    ,offsetLeft: 10
    ,wmode: 'transparent'
});

sIFR.replace(lucida, {
    selector: 'h5'
    ,css: [
      '.sIFR-root { color: #ffffff; font-size: 12px; background-color: #00ff00; }'
      ,'a { text-decoration: none; color: #ffffff; }'
      ,'a:hover { color: #2890d3; }'
    ]
    ,tuneWidth: 20
    ,tuneHeight: -6
    ,offsetLeft: 10
    ,wmode: 'transparent'
});