//rename 'fontname' to the correct font e.g. arial, helvetica...
var myriad = { 
    src: 'flash/myriad_pro.swf'
    , ratios:[7, 2.47, 8, 2.43, 11, 2.38, 12, 2.37, 16, 2.34, 23, 2.32, 24, 2.31, 28, 2.3, 31, 2.29, 34, 2.3, 39, 2.28, 40, 2.29, 48, 2.28, 51, 2.27, 52, 2.28, 55, 2.27, 56, 2.28, 74, 2.27, 75, 2.26, 80, 2.27, 81, 2.26, 84, 2.27, 85, 2.26, 88, 2.27, 91, 2.26, 92, 2.27, 95, 2.26, 96, 2.27, 2.26]
};



//First get the correct ratios for the font and paste them above
sIFR.activate( myriad);
//sIFR.debug.ratios({ src: 'flash/myriad_pro.swf', selector: 'h1' });
//when ratios are in place, remember to comment out the debug line above, and uncomment the line below



 
//-- SOME EXAMPLES IN ORDER TO IMPLEMENT SIFR3 ------------------------------------------------
sIFR.replace(myriad, {
    selector: 'h1.orange',
    css: [
      '.sIFR-root { font-size:10px; color:#ffb400; text-align:left; font-weight: normal;}'
    ]
    ,wmode:'transparent'
});
sIFR.replace(myriad, {
    selector: 'h1.green',
    css: [
      '.sIFR-root { font-size:10px; color:#09c809; text-align:left; font-weight: normal;}'
    ]
    ,wmode:'transparent'
});
sIFR.replace(myriad, {
    selector: 'h1.blue',
    css: [
      '.sIFR-root { font-size:10px; color:#04e3e3; text-align:left; font-weight: normal;}'
    ]
    ,wmode:'transparent'
});

sIFR.replace(myriad, {
    selector: 'h1',
    css: [
      '.sIFR-root { font-size:10px; color:#969696; text-align:left; font-weight: normal;}',
      '.black{ color:#000000;}',
      '.green{ color:#09c809;}'
    ]
    ,wmode:'transparent'
});

sIFR.replace(myriad, {
    selector: 'h2',
    css: [
      '.sIFR-root { font-size:8px; color:#969696; text-align:left; font-weight: normal; }',
      '.red{ color:#ff0000;}'
    ]
    ,wmode:'transparent'
});
sIFR.replace(myriad, {
    selector: 'h3',
    css: [
      '.sIFR-root { font-size:18px; color:#000000; text-align:left; font-weight: normal; }',
      '.red{ color:#ff0000;}'
    ]
    ,wmode:'transparent'
});
sIFR.replace(myriad, {
    selector: 'h4',
    css: [
      '.sIFR-root { font-size:6px; color:#ffffff; text-align:left; font-weight: normal; }'
    ]
    ,wmode:'transparent'
});

