/*****************************************************************************
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 fedraBold = {
	src: '/images/fedra-bold.swf'
};

var fedraLight = {
	src: '/images/fedra-light.swf'
};

sIFR.activate(fedraBold, fedraLight);

sIFR.replace(fedraBold, {
  selector: 'h2.fedra-bold-big',
  css: {
    '.sIFR-root': { 'color': '#333333', 'font-size': '68px', 'text-transform': 'uppercase', 'letter-spacing': -5, 'leading': -2 },
		'.bottom-spacer': { 'display': 'block', 'font-size': '6px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraBold, {
  selector: 'h2.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#FFFFFF', 'font-size': '54px', 'text-transform': 'uppercase', 'letter-spacing': -2, 'leading': 55 },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraLight, {
  selector: 'h3.fedra-light',
  css: {
    '.sIFR-root': { 'color': '#333333', 'font-size': '18px', 'leading': 0 },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

// sIFR.replace(fedraBold, {
//   selector: 'h3.fedra-bold',
//   css: {
//     '.sIFR-root': { 'color': '#FFFFFF', 'font-size': '34px', 'text-transform': 'uppercase', 'letter-spacing': -2, 'leading': 55 },
// 		'a': { 'color': '#FFFFFF', 'text-decoration': 'none' },
// 		'a:hover': { 'color': '#FFFFFF', 'text-decoration': 'none' },
// 		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
// 		'.bottom-spacer': { 'display': 'block', 'font-size': '6px' }
//   },
// 	wmode: 'transparent'
// });

sIFR.replace(fedraBold, {
  selector: '.green h4.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#00CC00', 'font-size': '24px', 'text-transform': 'uppercase' },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraBold, {
  selector: '.cyan h4.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#00CCFF', 'font-size': '24px', 'text-transform': 'uppercase' },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraBold, {
  selector: '.magenta h4.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#FF3399', 'font-size': '24px', 'text-transform': 'uppercase' },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraBold, {
  selector: '.fluo h4.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#CCEB39', 'font-size': '24px', 'text-transform': 'uppercase' },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});

sIFR.replace(fedraBold, {
  selector: 'p.fedra-bold',
  css: {
    '.sIFR-root': { 'color': '#333333', 'font-size': '18px', 'text-transform': 'uppercase', 'text-align': 'center' },
		'a': { 'color': '#333333', 'text-decoration': 'none' },
		'a:hover': { 'color': '#333333', 'text-decoration': 'none' },
		'.top-spacer': { 'display': 'block', 'font-size': '0px' },
		'.bottom-spacer': { 'display': 'block', 'font-size': '0px' }
  },
	wmode: 'transparent'
});