
var franklin = { src: '/js/franklinGM.swf' };
var lazyDog = { src: '/js/lazyDog.swf' };
// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(franklin);
sIFR.activate(lazyDog);

//debug ratios: comment out for production
/*
sIFR.debug.ratios(franklin, {
  selector: 'h2',
  css: '.sIFR-root { background-color: transparent; color: #CC6633; text-transform: uppercase; }',
  wmode: 'transparent'
});
sIFR.debug.ratios(franklin, {
  selector: 'h1',
  css: '.sIFR-root { background-color: transparent; color: #CC6633; text-transform: uppercase; }',
  wmode: 'transparent'
});
*/
// end debug ratios

sIFR.replace(franklin, {
  selector: 'h2.franklin',
  css: '.sIFR-root { background-color: transparent; color: #CC6633; text-transform: uppercase; }',
  ratios: [7, 1.32, 8, 1.31, 12, 1.27, 16, 1.22, 22, 1.2, 28, 1.19, 30, 1.17, 31, 1.18, 39, 1.17, 44, 1.16, 45, 1.17, 54, 1.16, 59, 1.15, 61, 1.16, 96, 1.15, 97, 1.14, 100, 1.15, 101, 1.14, 103, 1.15, 104, 1.14, 107, 1.15, 112, 1.14, 113, 1.15, 119, 1.14, 120, 1.15, 1.14],
  wmode: 'transparent'
});

sIFR.replace(franklin, {
  selector: 'h1.franklin',
  css: '.sIFR-root { background-color: transparent; color: #CC6633; text-transform: uppercase; }',
  ratios: [7, 1.32, 8, 1.31, 12, 1.27, 16, 1.22, 22, 1.2, 28, 1.19, 30, 1.17, 31, 1.18, 39, 1.17, 44, 1.16, 45, 1.17, 54, 1.16, 59, 1.15, 61, 1.16, 96, 1.15, 97, 1.14, 100, 1.15, 101, 1.14, 103, 1.15, 104, 1.14, 107, 1.15, 112, 1.14, 113, 1.15, 119, 1.14, 120, 1.15, 1.14],
  wmode: 'transparent'
});

sIFR.replace(lazyDog, {
  selector: 'p.tagline',
  css: '.sIFR-root { background-color: transparent; color: #969688; text-align: right; font-size: 23px; }',  
  wmode: 'transparent'
});