/*****************************************************************************
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 chisel_ext = 
{
	src:'/flash/chisel-extended.swf'
	, ratios: [8, 1.31, 12, 1.27, 16, 1.21, 17, 1.2, 23, 1.19, 24, 1.16, 25, 1.18, 27, 1.17, 32, 1.16, 33, 1.17, 40, 1.16, 43, 1.14, 56, 1.15, 57, 1.14, 58, 1.15, 94, 1.14, 97, 1.13, 100, 1.14, 101, 1.13, 102, 1.14, 105, 1.13, 107, 1.14, 113, 1.13, 114, 1.14, 1.13]
};

var chisel_ext_bold = 
{
	src:'/flash/chisel-extended-bold.swf'
	, ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 33, 1.2, 40, 1.19, 54, 1.18, 58, 1.17, 59, 1.18, 95, 1.17, 97, 1.16, 100, 1.17, 104, 1.16, 105, 1.17, 110, 1.16, 111, 1.17, 1.16]
};

var drop_shadow =
{
	distance: 2
	, strength: 2
	, alpha: .33
	, color: '#000000'
};

sIFR.activate(chisel_ext_bold);

// sIFR.debug.ratios({ src: '/flash/chisel-extended.swf', selector: 'h1' });

var vip_section_headline_config = 
{
	selector: '.info h1'
	, wmode: 'transparent'
	, css: '.sIFR-root { font-weight: bold; color: #AEBC20; text-transform: uppercase; letter-spacing: 2.4; text-align: right; }'
	, fitExactly: true
	, offsetTop: -4
	, tuneHeight: -9
	//, filters: { DropShadow: drop_shadow }
};

var body_headline_config = 
{
	selector: 'h1'
	, wmode: 'transparent'
	, css: 
	[
		'.sIFR-root { font-weight: bold; color: #AEBC20; text-transform: uppercase; letter-spacing: 2.4; }'
		, 'a { text-decoration: none; color: #AEBC20; }'
		, 'a:hover { color: #FFFFFF; }'
	]
	, fitExactly: true
	, offsetTop: -4
	, tuneHeight: -9
	//, filters: { DropShadow: drop_shadow }
};

sIFR.replace(chisel_ext_bold, body_headline_config);

sIFR.replace(chisel_ext_bold, 
{
	selector: '.body h2'
	, wmode: 'transparent'
	, css: 
	[
		'.sIFR-root { font-weight: bold; color: #AEBC20; text-transform: uppercase; letter-spacing: 2.4; }'
		, 'a { text-decoration: none; color: #AEBC20; }'
		, 'a:hover { color: #FFFFFF; }'
		, '.active { color: #FFFFFF; }'
	]
	, fitExactly: true
	, offsetTop: -4
	, tuneHeight: -9
	//, filters: { DropShadow: drop_shadow }
});

sIFR.replace(chisel_ext_bold, 
{
	selector: '.address'
	, wmode: 'transparent'
	, css:
	[
		'.sIFR-root { font-size: 8px; font-weight: bold; color: #FFFFFF; text-transform: uppercase; letter-spacing: 2.4; }'
		, 'a { text-decoration: none; color: #FFFFFF; }'
		, 'a:hover { color: #AEBC20; }'
	]
	//, filters: { DropShadow: drop_shadow }
});

sIFR.replace(chisel_ext_bold, 
{
	selector: '.location'
	, wmode: 'transparent'
	, css:
	[
		'.sIFR-root { color: #FFFFFF; text-transform: uppercase; letter-spacing: 2.4; text-align: center; }'
		, 'a { text-decoration: none; color: #FFFFFF; }'
		, 'a:hover { color: #AEBC20; }'
	]
	//, filters: { DropShadow: drop_shadow }
});