/*****************************************************************************
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 carrosserie = { src: '/assets/carrosserie.swf', ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 50, 1.2, 51, 1.21, 69, 1.2, 73, 1.19, 74, 1.2, 78, 1.19, 79, 1.2, 1.19]};

sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(carrosserie);

//sIFR.debug.ratios({src:'./assets/carrosserie.swf', selector: 'h2'});

sIFR.replace(carrosserie, {
  selector: 'h2.white',
  css: [
	'.sIFR-root { color:#FFFFFF; text-transform: uppercase; background-color:transparent;}',
	'a { text-decoration:none; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
	tuneHeight:-6, tuneWidth:5, fitExactly:true, 
	preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent', transparent:true
});

sIFR.replace(carrosserie, {
  selector: 'h2',
  css: [
	'.sIFR-root { color:#8D1A1C; text-transform: uppercase; background-color:transparent;}',
	'a { text-decoration:none; }',
	'a:link { color:#8D1A1C; }',
	'a:hover { color:#8D1A1C; }',
	'.white { color:#FFFFFF; }'
       ],
	tuneHeight:-6, tuneWidth:5, fitExactly:true, 
	preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent', transparent:true
});
