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

sIFR.activate(fontin);

// H1
sIFR.replace(fontin, {
  wmode: 'transparent',
  tuneHeight: -7,
  offsetTop: -3,
  selector: 'body h1',
  css: '.sIFR-root { color: #516d19; font-size: 24px; font-weight: bold; line-height: 20px; }'
});

// H2
sIFR.replace(fontin, {
  wmode: 'transparent',
  tuneHeight: -7,
  offsetTop: -3,
  selector: 'body h2',
  css: '.sIFR-root { color: #604d38; font-size: 20px; font-weight: bold; line-height: 18px; }'
});

// Featured Project
sIFR.replace(fontin, {
  wmode: 'transparent',
  tuneHeight: -7,
  offsetTop: 0,
  selector: 'body p.featured-project',
  css: '.sIFR-root { color: #ffffff; font-size: 18px; font-weight: bold; margin: 0; padding: 0; text-align: center; }'
});