/*****************************************************************************
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 gotham = { src: '/assets/gotham.swf', ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 28, 1.16, 30, 1.15, 40, 1.14, 59, 1.13, 95, 1.12, 96, 1.11, 103, 1.12, 105, 1.11, 108, 1.12, 110, 1.11, 111, 1.12, 115, 1.11, 117, 1.12, 124, 1.11, 1.12] };

sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(gotham);

sIFR.replace(gotham, {
  selector: 'h1',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#000000; }',
	'a { text-decoration:none; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
  preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent'
});

sIFR.replace(gotham, {
  selector: 'h2.lightblue',
  css: [
	'.sIFR-root { color:#81A6BE; background-color:#034E7E; }',
	'a { text-decoration:none; }',
	'a:link { color:#81A6BE; }',
	'a:hover { color:#81A6BE; }'
       ],
  preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent'
});

sIFR.replace(gotham, {
  selector: '.titlebox h2',
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#034E7E; }',
	'a { text-decoration:none; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
  preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent'
});

sIFR.replace(gotham, {
  selector: 'h2',
  css: [
	'.sIFR-root { color:#2C3232; background-color:#FFFFFF; }',
	'a { text-decoration:none; }',
	'a:link { color:#034E7E; }',
	'a:hover { color:#034E7E; }'
       ],
  preventWrap: true, forceSingleLine: true
});

sIFR.replace(gotham, {
  selector: 'h3', 
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#034E7E; }',
	'a { text-decoration:none; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
  preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent'
});

sIFR.replace(gotham, {
  selector: 'h4', 
  css: [
	'.sIFR-root { color:#FFFFFF; background-color:#034E7E; }',
	'a { text-decoration:none; }',
	'a:link { color:#FFFFFF; }',
	'a:hover { color:#FFFFFF; }'
       ],
  preventWrap: true, forceWidth: true, fitExactly: true, forceSingleLine: true, wmode:'transparent'
});
