/*****************************************************************************
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.
var Bliss2 = { src: 'fileadmin/template/sifr3-r436/flash/sIFRBliss2.swf' };

// Now you can set some configuration settings. <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// `sIFR.useStyleCheck`. <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

sIFR.useStyleCheck = true;

// Activate sIFR:
sIFR.activate(Bliss2);

// Remember, there must be *only one* `sIFR.activate()`!

// Now we can do the replacements.
//`replace(kwargs, mergeKwargs)` <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.

// Styling at <http://wiki.novemberborn.net/sifr3/Styling>.

sIFR.replace(Bliss2, {
	selector: 'h1',
	css: '.sIFR-root { font-weight: 100; font-size: 22px; color: #151a20; } a { font-size: 22px; color: #151a20; text-decoration: none; } a:hover { color: #151a20; text-decoration: underline; }',
	wmode: 'transparent'
});
