/*****************************************************************************
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.
*****************************************************************************/

var thunder = { src: '/assets/thunder.swf', ratios: [7, 1.47, 10, 1.43, 15, 1.36, 22, 1.34, 23, 1.32, 27, 1.31, 30, 1.3, 33, 1.31, 34, 1.29, 35, 1.3, 54, 1.29, 60, 1.28, 61, 1.29, 93, 1.28, 95, 1.27, 96, 1.28, 99, 1.27, 101, 1.28, 102, 1.27, 103, 1.28, 106, 1.27, 107, 1.28, 1.27] };

sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(thunder);

//sIFR.debug.ratios({src:'./assets/thunder.swf', selector: 'h2'});

sIFR.replace(thunder, {
  selector: 'h1',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#1B2330; text-transform: uppercase; }',
	'a { text-decoration:none; color:#FFFFFF; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
	tuneHeight:-3, tuneWidth:4, fitExactly:true, 
	forceWidth: true, fitExactly: true, forceSingleLine: false, wmode:'transparent'
});

sIFR.replace(thunder, {
  selector: 'h2',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#1B2330; text-transform: uppercase; }',
	'a { text-decoration:none; color:#FFFFFF; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
	tuneHeight:0, tuneWidth:4, fitExactly:true, 
	forceWidth: true, fitExactly: true, forceSingleLine: false, wmode:'transparent'
});

sIFR.replace(thunder, {
  selector: 'h3',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#1B2330; text-transform: uppercase; }',
	'a { text-decoration:none; color:#FFFFFF; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
	tuneHeight:0, tuneWidth:4,
	forceWidth: true, fitExactly: true, forceSingleLine: false, wmode:'transparent'
});

sIFR.replace(thunder, {
  selector: 'h4',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#1B2330; text-transform: uppercase; }',
	'a { text-decoration:none; color:#FFFFFF; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
	tuneHeight:0, tuneWidth:4,
	forceWidth: true, fitExactly: true, forceSingleLine: false, wmode:'transparent'
});

