
var fontin = {
	src: '/images/fonts/fontin_regular.swf'
	,ratios:	[8, 1.42, 11, 1.38, 17, 1.32, 21, 1.3, 22, 1.29, 25, 1.28, 29, 1.29, 31, 1.26, 35, 1.27, 38, 1.26, 39, 1.27, 52, 1.26, 80, 1.25, 82, 1.24, 83, 1.25, 86, 1.24, 87, 1.25, 90, 1.24, 91, 1.25, 1.24]
};

var fontin_caps = {
	src: '/images/fonts/fontin_small_caps.swf'
	,ratios:	[8, 1.42, 11, 1.38, 17, 1.32, 21, 1.3, 22, 1.29, 25, 1.28, 29, 1.29, 31, 1.26, 35, 1.27, 38, 1.26, 39, 1.27, 52, 1.26, 80, 1.25, 82, 1.24, 83, 1.25, 86, 1.24, 87, 1.25, 90, 1.24, 91, 1.25, 1.24]
};

sIFR.activate(fontin, fontin_caps);

// Error Messages -- needs to stay before generic h2 styles
  sIFR.replace(fontin, {
        selector: '#errorExplanation h2',
				css: ['.sIFR-root { font-size:16px; color:#ffffff; font-weight:bold; letter-spacing: .6;}'],
				fitExactly: true,
				wmode: 'transparent'
  });


// bold or not?
   sIFR.replace(fontin, {
        selector: 'h1, .blog_post .heading .title',
 				css: ['.sIFR-root { font-size:18px; color:#425342; font-weight:bold; letter-spacing: .4; },a { text-decoration: none; },a:link { color:#425342; },a:hover { color:#4e6155; text-decoration: underline; }'],
 				fitExactly: true,
 				tuneHeight: -4,
 				wmode: 'transparent'
   });

   sIFR.replace(fontin, {
        selector: 'h2',
 				css: ['.sIFR-root { font-size:17px; color:#425342; font-weight:bold; letter-spacing: .6;},a { text-decoration: none; },a:link { color:#425342; },a:hover { color:#4e6155; }'],
 				fitExactly: true,
 				wmode: 'transparent'
   });

   sIFR.replace(fontin, {
         selector: 'h3',
        css: ['.sIFR-root { font-size:16px; color:#425342; }'],
        fitExactly: true,
        wmode: 'transparent'
   });

   sIFR.replace(fontin, {
         selector: 'h4',
        css: ['.sIFR-root { font-size:15px; color:#425342; }'],
        fitExactly: true,
        wmode: 'transparent'
   });


//    sIFR.debug.ratios(fontin_caps, {
    sIFR.replace(fontin_caps, {
          selector: '#mainLinks span.normal',
          css: ['.sIFR-root { font-size:20px; color:#f7f4e8; },a { text-decoration: none; },a:link { color:#adb48d; },a:hover { color:#f7f4e8; }'],
          fitExactly: true,
          tuneHeight: -5,
          wmode: 'transparent'
    });

    sIFR.replace(fontin_caps, {
          selector: '#subLinks span.normal',
          css: ['.sIFR-root { font-size:18px; color:#f7f4e8; },a { text-decoration: none; },a:link { color:#adb48d; },a:hover { color:#f7f4e8; }'],
          fitExactly: true,
          tuneHeight: -11,
          wmode: 'transparent'
    });

    // Current Links - should only change color
    sIFR.replace(fontin_caps, {
          selector: '#mainLinks span#current_main_link',
          css: ['.sIFR-root { font-size:20px; color:#f7f4e8; },a { text-decoration: none; },a:link { color:#f7f4e8; },a:hover { color:#f7f4e8; }'],
          fitExactly: true,
          tuneHeight: -5,
          wmode: 'transparent'
    });

    sIFR.replace(fontin_caps, {
          selector: '#subLinks span#current_sub_link',
          css: ['.sIFR-root { font-size:18px; color:#f7f4e8; },a { text-decoration: none; },a:link { color:#f7f4e8; },a:hover { color:#f7f4e8; }'],
          fitExactly: true,
          tuneHeight: -11,
          wmode: 'transparent'
    });


//  letter-spacing: .4;
// grey : 808080
