/*****************************************************************************
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 myriad = { src: sIFRPath + '/myriadpro.swf' };
sIFR.activate(myriad);

sIFR.replace(myriad, {
	selector: 'navigation li',
	css: {
	  	'.sIFR-root': { 'background-color': '#f2eed1', 'color': '#000000', 'text-transform': 'lowercase' },
	  	'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#000000' },
		'a:hover': { 'color': '#0d90d4' }
		},
	fitExactly: true
	
});

sIFR.replace(myriad, {
	selector: '#action_links span',
	css: {
	  	'.sIFR-root': { 'background-color': '#000000', 'color': '#FFFFFF' },
	  	'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#FFFFFF' },
		'a:hover': { 'color': '#FFFFFF', 'text-decoration': 'underline' }
		},
	wmode: 'transparent',
	fitExactly: true
	
});

sIFR.replace(myriad, {
	selector: '.block.grid_4.team h2',
	css: {
		'.sIFR-root': { 'background-color': '#3a6cb6', 'color': '#ffffff', 'font-weight': 'normal', },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#ffffff' },
		'a:hover': { 'color': '#ffffff', 'text-decoration': 'underline' }
		},
	wmode: 'transparent',
	fitExactly: true
	
});

sIFR.replace(myriad, {
	selector: '.block.grid_4 h2',
	css: {
		'.sIFR-root': { 'background-color': '#ffffff', 'color': '#000000', 'font-weight': 'normal', },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#000000' },
		'a:hover': { 'color': '#000000', 'text-decoration': 'underline' }
		},
	wmode: 'transparent',
	fitExactly: true
	
});

sIFR.replace(helvetica, {
	selector: '#sidebar h2',
	css: {
		'.sIFR-root': { 'color': '#2a2822', 'font-weight': 'bold', 'text-align': 'center', 'text-transform': 'uppercase' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#2a2822' },
		'a:hover': { 'color': '#2a2822', 'text-decoration': 'underline' }
		},
	wmode: "transparent"
	
});
