/*****************************************************************************
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.
*****************************************************************************/
sIFR.useDomContentLoaded = false;
var din_light = { src: '/wp-content/themes/vectorthis/inc/flash/din-light.swf' };
var din_bold = { src: '/wp-content/themes/vectorthis/inc/flash/din-bold.swf' };
sIFR.activate(din_light, din_bold);

// menu
sIFR.replace(din_light, {
	selector: '#menu li'
	,css: [
		'.sIFR-root { font-size: 20px; color: #677880; text-transform: lowercase; }',
		'a {color: #4eae00; font-weight: normal; text-decoration: none; }',
		'a:hover {color: #ffffff; font-weight: normal; text-decoration: none; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
// big title
sIFR.replace(din_light, {
	selector: '.title'
	,css: [
		'.sIFR-root { font-size: 54px; color: #ffffff; font-weight: normal; text-align: right; }',
		'a:link {color: #195d82; text-decoration: none;}',
		'a:visited {color: #195d82; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
// featured project title
sIFR.replace(din_bold, {
	selector: '.feature-link'
	,css: [
		'.sIFR-root { font-size: 48px; color: #ffffff; text-transform: uppercase; leading: -14; }',
		'a { font-size: 48px; color: #ffffff; text-transform: uppercase; leading: -14; text-decoration: none; }',
		'a:hover { font-size: 48px; color: #ffffff; text-transform: uppercase; leading: -14; text-decoration: none; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
// main titles
sIFR.replace(din_light, {
	selector: '.main-title'
	,css: [
		'.sIFR-root { font-size: 20px; color: #ffffff; text-transform: lowercase; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
sIFR.replace(din_light, {
	selector: '.service-title'
	,css: [
		'.sIFR-root { font-size: 20px; color: #ffffff; text-transform: lowercase; text-align: right; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
// small title
sIFR.replace(din_bold, {
	selector: '.small-title, .copyright'
	,css: [
		'.sIFR-root { font-size: 12px; color: #636466; text-transform: uppercase; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});
sIFR.replace(din_bold, {
	selector: '.process-title'
	,css: [
		'.sIFR-root { font-size: 12px; color: #ffffff; text-transform: uppercase; font-weight: normal }',
		'strong { color: #0074ae; font-weight: normal; }'
		]
	,wmode: 'transparent'
	,tuneHeight: '-7'
});