/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.

var filosofia = { src: 'http://www.chicagobooth.edu/scripts/sifr/flash/filosofia.swf',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 20, 1.22, 28, 1.19, 30, 1.17, 31, 1.18, 45, 1.17, 61, 1.16, 62, 1.15, 67, 1.16, 116, 1.15, 117, 1.14, 123, 1.15, 124, 1.14, 1.15]
	};
	
var filosofiasmallcaps = { src: 'http://www.chicagobooth.edu/scripts/sifr/flash/filosofiasmallcaps.swf',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 20, 1.22, 28, 1.19, 30, 1.17, 31, 1.18, 45, 1.17, 61, 1.16, 62, 1.15, 67, 1.16, 116, 1.15, 117, 1.14, 123, 1.15, 124, 1.14, 1.15]
	};

// 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(filosofia, filosofiasmallcaps);

sIFR.replace(filosofiasmallcaps, {selector: 'h1', css: ['.sIFR-root {color: #660000; font-size: 40px; font-weight: normal; text-transform: lowercase; leading: -15;}'], transparent: 'true'});

sIFR.replace(filosofia, {selector: '.celebration', forceSingleLine: true, css: ['.sIFR-root {color: #660000; font-weight: bold;  leading: -7;}'], transparent: 'true'});

sIFR.replace(filosofiasmallcaps, {selector: '.time', css: ['.sIFR-root {color: #660000; font-size: 36px; font-weight: normal; text-transform: lowercase; leading: -15;}'], transparent: 'true'});
