/*****************************************************************************
sIFR config file. Keep separate from sifr.js so it can be upgraded while keeping the configuration. Load this file *after* loading sifr.js.
*****************************************************************************/

// Point to the Flash movie
var dinLight = { src: '/fonts/din-light.swf' };

// Set configuration settings. See 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;

// There must be *only one* call to sIFR.activate()!
sIFR.activate(dinLight);

// Or, use multiple movies like this:
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    sIFR.activate(futura, garamond);

// Do the replacements
// See http://wiki.novemberborn.net/sifr3/JavaScript+Methods under "Keyword arguments" for parameters to the second argument
// See http://wiki.novemberborn.net/sifr3/Styling for styling tips. The main text is styled via the '.sIFR-root' class. 
sIFR.replace(dinLight, {
  selector: 'body h1',
  transparent: true,
  css: { 
  	'.sIFR-root': { 'background-color': '#FFFFFF', 'color': '#777777', 'font-size' : '20px' }
  }
});

sIFR.replace(dinLight, {
  selector: 'body h1.orange',
  transparent: true,
  css: { 
  	'.sIFR-root': { 'background-color': '#FFFFFF', 'color': '#ff8700', 'font-size' : '20px' }
  }
});
