//rename 'fontname' to the correct font e.g. arial, helvetica...
var svff = { 
    src: 'flash/svff.swf'
    , ratios:[6, 1.38, 8, 1.31, 9, 1.22, 10, 1.25, 15, 1.22, 19, 1.18, 26, 1.17, 38, 1.15, 48, 1.14, 49, 1.13, 55, 1.14, 88, 1.13, 89, 1.12, 92, 1.13, 93, 1.12, 94, 1.13, 98, 1.12, 99, 1.13, 1.12]
};


sIFR.activate( svff);
//First get the correct ratios for the font and paste them above
//sIFR.debug.ratios({ src: 'flash/svff.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(svff, {
    selector: 'h1',
    css: [
      '.sIFR-root { font-size:34px; color:#bdd73c; text-align: left; font-weight: normal; }'
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
sIFR.replace(svff, {
    selector: 'h2.blue',
    css: [
      '.sIFR-root { font-size:18px; color:#00b2d9; text-align: left; font-weight: normal; }'
    ]
    ,wmode:'transparent'
});
sIFR.replace(svff, {
    selector: 'h2.orange',
    css: [
      '.sIFR-root { font-size:18px; color:#d7ba32; text-align: left; font-weight: normal; }'
    ]
    ,wmode:'transparent'
});
sIFR.replace(svff, {
    selector: 'h2',
    css: [
      '.sIFR-root { font-size:18px; color:#bdd73c; text-align: left; font-weight: normal; }'
    ]
    ,wmode:'transparent'
});
sIFR.replace(svff, {
    selector: 'h3',
    css: [
      '.sIFR-root { font-size:18px; color:#ffffff; text-align:right; font-weight: normal; }'
    ]
    ,wmode:'transparent'
});
/*
sIFR.replace(svff, {
    selector: '#topnav li>span',
    css: [
      '.sIFR-root { font-size:13px; color:#ffffff; text-align:left; font-weight: normal; }'
      ,'a { color:#ffffff!important; text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #00b2d9;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
*/
sIFR.replace(svff, {
    selector: '#mainnav li.active>span',
    css: [
      '.sIFR-root { font-size:18px; color:#ffffff; text-align:left; font-weight: normal; }'
      ,'a { color:#bdd73c!important; text-decoration: none; }'
      ,'a:link { color: #bdd73c;!important }'
      ,'a:hover { color: #00b2d9;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
sIFR.replace(svff, {
    selector: '#mainnav li>span',
    css: [
      '.sIFR-root { font-size:18px; color:#ffffff; text-align:left; font-weight: normal; }'
      ,'a { color:#ffffff!important; text-decoration: none; }'
      ,'a:link { color: #ffffff;!important }'
      ,'a:hover { color: #00b2d9;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
/*
sIFR.replace(svff, {
    selector: '#subnav td.active>span',
    css: [
      '.sIFR-root { font-size:13px; color:#ffffff; text-align:left; font-weight: normal; }'
      ,'a { color:#cccc33!important; text-decoration: none; }'
      ,'a:link { color: #cccc33;!important }'
      ,'a:hover { color: #cccc33;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
sIFR.replace(svff, {
    selector: '#subnav td>span',
    css: [
      '.sIFR-root { font-size:13px; color:#cccccc; text-align:left; font-weight: normal; }'
      ,'a {color:#0099cc!important; text-decoration: none; }'
      ,'a:link { color: #0099cc;!important }'
      ,'a:hover { color: #cccc33;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
*/

/* 
sIFR.replace(fontname, {
    selector: 'span.link',
    css: [
      '.sIFR-root { color:#737577; text-align:left; font-weight: normal; }'
      ,'a { color:#737577!important; text-decoration: none; }'
      ,'a:link { color: #737577; }'
      ,'a:hover { color: #00a6d6;}'  
    ]
    ,wmode:'transparent'
    ,forceSingleLine:true
});
*/