/*****************************************************************************
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 gothamLight = { src: '/swf/gotham-light.swf' };

sIFR.useStyleCheck = true;

sIFR.activate(gothamLight);

sIFR.replace(gothamLight, {
	selector: 'body#RangePage h1, body#ExpressionPage h1',
	css: '.sIFR-root { color: #713d5e; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#ContactGatewayPage h2, body#ContactPage h2, #termspage h1',
	css: '.sIFR-root { color: #545454; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#DistilleryGatewayPage h1, body#DistilleryGatewayPage h2, body#ToursGatewayPage h1,body#ToursGatewayPage h2,body#HireGatewayPage h1,body#HireGatewayPage h2,body#HireTypePage h1,body#WhatsOnGatewayPage h1,body#HireVisitorBookPage h1,body#EnquiryGatewayPage h1,body#EnquiryPage h1,body#TourVisitorBookPage h1',
	css: '.sIFR-root { color: #b64733; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#ToursGatewayPage a span.tour-cost,body#ToursGatewayPage a span.tour-length,body#HireGatewayPage a span.cost',
	css: '.sIFR-root { color: #FFFFFF; cursor: pointer; }',
	wmode: 'transparent',
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#TourDetailPage h1',
	css: [ 
		'.sIFR-root { color: #b64733; text-transform: uppercase; }',
		'.sIFR-root a .tour-length { font-size: 20em; text-transform:lowercase; }',
		],
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#DistillationGatewayPage h1, body#makingWhiskyGatewayPage h1, body#tripleDistillationGatewayPage h1, body#CaskGatewayPage h1, body#CaskPage h1',
	css: '.sIFR-root { color: #005b90; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#DistillationGatewayPage h2, body#makingWhiskyGatewayPage h2, body#tripleDistillationGatewayPage h2, body#CaskGatewayPage h2, body#CaskPage h2',
	css: '.sIFR-root { color: #005b90; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#RangePage h2, body#ExpressionPage h2',
	css: '.sIFR-root { color: #713d5e; text-transform: uppercase; letter-spacing: 1; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#HomePage h2',
	css: [
		'.sIFR-root { text-transform: uppercase; }',
		'.sIFR-root a { color: #494948; text-decoration: none; }',
		'.sIFR-root a:hover { color: #494948; text-decoration: none; }'
		],
	wmode: 'transparent',
	fitExactly: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#ServeHomePage h1,body#ServeHomePage h2,body#ServeGatewayPage h1,body#ServeGatewayPage #serveFilter h3,body#ServePage h1,body#WhereToEnjoyPage h1,body#WhereToEnjoyPage h2',
	css: '.sIFR-root { color: #399025; text-transform: uppercase; }',
	wmode: 'transparent',
	fitExactly: true,
	forceSingleLine: true,
	tuneWidth: 1
});
sIFR.replace(gothamLight, {
	selector: 'body#ServeHomePage h3',
	css: '.sIFR-root { color: #399025; text-transform: uppercase; }',
	wmode: 'transparent',
	useStyleCheck: true,
	fixWrap: true,
	tuneWidth: 1
});


