//rename 'fontname' to the correct font e.g. arial, helvetica...
var palatino = { 
    src: '/flash/palatino.swf'
    , ratios:[8, 1.09, 11, 1.17, 14, 1.21, 17, 1.24, 20, 1.25, 23, 1.27, 25, 1.28, 31, 1.29, 40, 1.3, 45, 1.31, 52, 1.32, 54, 1.31, 65, 1.32, 66, 1.33, 68, 1.32, 69, 1.33, 71, 1.32, 72, 1.33, 74, 1.32, 105, 1.33, 106, 1.34, 108, 1.33, 109, 1.34, 111, 1.33, 112, 1.34, 114, 1.33, 116, 1.34, 117, 1.33, 119, 1.34, 120, 1.33, 122, 1.34, 123, 1.33, 1.34]
};



//First get the correct ratios for the font and paste them above
sIFR.activate( palatino);
//sIFR.debug.ratios({ src: 'flash/palatino.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(palatino, {
    selector: 'h1',
    css: [
      '.sIFR-root { font-size:30px; color:#93a691; text-align:left;}',
      '.black{ color:#000000;}'
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});

sIFR.replace(palatino, {
    selector: 'h2',
    css: [
      '.sIFR-root { font-size:18px; color:#93a691; text-align:left;}',
      '.black{ color:#000000;}'
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});

sIFR.replace(palatino, {
    selector: 'h3',
    css: [
      '.sIFR-root { font-size:14px; color:#93a691; text-align:left;}',
      '.black{ color:#000000;}'
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
