/*****************************************************************************
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_medium = { src: '/assets/flash/gotham_medium.swf' };
var gotham_bold = { src: '/assets/flash/gotham_bold.swf' };

sIFR.activate(gotham_medium, gotham_bold);

sIFR.replace(gotham_bold, {
  selector: '.nav li',
  forceSingleLine: true,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [
	'.sIFR-root { color: #5a7e92; }'
      ,'a { text-decoration: none; color: #5a7e92; }'
      ,'a:hover { text-decoration:underline; color: #5a7e92; }'
	 ]
});
sIFR.replace(gotham_bold, {
  selector: '.nav li.active',
  forceSingleLine: true,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [
	'.sIFR-root { color: #405769; text-decoration:underline; }'
      ,'a { text-decoration: underline; color: #405769; }'
      ,'a:hover { text-decoration:none; color: #405769; }'
	 ]
});

sIFR.replace(gotham_medium, {
  selector: 'h1',
  forceSingleLine: true,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [
	'.sIFR-root { font-weight:bold; color: #405769; letter-spacing:1}'
      ,'a { text-decoration: none; color: #405769; }'
      ,'a:link { color: #405769; }'
      ,'a:hover { text-decoration:underline; color: #405769; }'
	 ]
});

sIFR.replace(gotham_medium, {
  selector: 'h4',
  wmode: 'transparent',
  tuneWidth: 4,
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [
	'.sIFR-root { font-weight:normal; color: #5a7e92;}'
      ,'a { text-decoration: none; color: #5a7e92; }'
      ,'a:link { color: #5a7e92; }'
      ,'a:hover { text-decoration:underline; color: #5a7e92; }'
	 ]
});

sIFR.replace(gotham_medium, {
  selector: 'blockquote',
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [
	'.sIFR-root { text-decoration:none; color: #5a7e92;}'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #5a7e92; }'
      ,'a:hover { text-decoration:underline; }'
	 ]
});