/*****************************************************************************
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 gothamMed = {
	src: 'lib/gotham_medium.swf',
	ratios:[8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21]
};
var gothamBook = {
	src: 'lib/gotham_book.swf',
	ratios:[8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21]
};

sIFR.setPrefetchCookie = true;
sIFR.fixHover = true;

sIFR.activate(gothamMed, gothamBook);

//sIFR.debug.ratios(gothamBook, { selector: '#prime_nav .sifr' });

// Primary Navigation Active Link
sIFR.replace(gothamMed, {
  selector: '#prime_nav li.current',
	css: [
		'a {color: #392514; font-size: 12px; letter-spacing:-.3;text-decoration: none;}',
		'a:hover {color: #392514;}',
	],
	offsetTop:3,
	//tuneHeight:29,
	wmode:'transparent'
});

// Primary Navigation Normal Links
sIFR.replace(gothamMed, {
  selector: '#prime_nav li',
	css: [
		'a {color: #ffffff; font-size: 12px; letter-spacing:-.3;text-decoration: none;}',
		'a:hover {color: #392514;}',
	],
	offsetTop:3,
	//tuneHeight:29,
	wmode:'transparent'
});

// Splash Image Caption
sIFR.replace(gothamMed, {
  selector: '#splash h2',
	css: [
		'.sIFR-root {color: #ffffff; font-size: 12px; letter-spacing:-.88;text-decoration: none;}',
	],
	tuneHeight:-5,
	wmode:'transparent'
});

// Main Splash Heading
sIFR.replace(gothamMed, {
  selector: '#splash h1',
	css: [
		'.sIFR-root { color:#392514; font-size: 20px; letter-spacing:-0.88;}'
	],
	wmode:'transparent'
});

sIFR.replace(gothamMed, {
  selector: '#content h1',
	css: [
		'.sIFR-root { color:#008da9; font-size: 18px; letter-spacing:-0.88;}'
	],
	wmode:'transparent'
});

// Contact Form Legend
sIFR.replace(gothamMed, {
	selector: '#content legend span',
	offsetTop: 4,
	css: [
		'.sIFR-root { color:#008da9; font-size: 12px;}'
	],
	wmode: 'transparent'
});

sIFR.replace(gothamBook, {
  selector: '.sifr_book',
	css: [
		'.sIFR-root {font-size:11px;color: #614e3e; text-decoration: none; letter-spacing:-0.2;}'
	],
	wmode:'transparent'
});
