var fontin = {
	src: '/assets/flash/fontin.swf',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 16, 1.22, 22, 1.2, 28, 1.19, 30, 1.17, 31, 1.18, 39, 1.17, 44, 1.16, 45, 1.17, 54, 1.16, 60, 1.15, 61, 1.16, 96, 1.15, 97, 1.14, 100, 1.15, 101, 1.14, 103, 1.15, 104, 1.14, 107, 1.15, 112, 1.14, 113, 1.15, 119, 1.14, 120, 1.15, 1.14]
};
var handOfSean = {
	src: '/assets/flash/hand_of_sean.swf',
	ratios: [8, 1.98, 12, 1.94, 17, 1.88, 21, 1.86, 22, 1.84, 26, 1.85, 27, 1.83, 32, 1.84, 44, 1.82, 46, 1.81, 50, 1.82, 68, 1.81, 69, 1.8, 70, 1.81, 72, 1.8, 73, 1.81, 74, 1.8, 75, 1.81, 79, 1.8, 80, 1.81, 1.8]
};
// sIFR.debug.ratios({ src: fontin.src, selector: 'h1,h2' });
// sIFR.debug.ratios({ src: handOfSean.src, selector: 'h3,h4' });

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
sIFR.useStyleCheck = true;
sIFR.useDomLoaded = true;

sIFR.activate(fontin);
sIFR.activate(handOfSean);

sIFR.replace(fontin, {
	selector: '#location_address h1',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': 42
		}
	},
	wmode: "transparent",
	forceSingleLine: true,
	// fitExactly: true,
	tuneHeight: -5,
	tuneWidth: 0,
	thickness: 50,
	forceWidth: true,
	fixWrap: true
});

sIFR.replace(fontin, {
	selector: 'h1',
	css: {
		'.sIFR-root': { 
			'color': '#D35600'
		}
	},
	wmode: "transparent",
	// forceSingleLine: true,
	// fitExactly: true,
	tuneHeight: -5,
	tuneWidth: 0,
	thickness: 50,
	forceWidth: true,
	fixWrap: true
});

sIFR.replace(fontin, {
	selector: 'h2',
	css: {
		'.sIFR-root': { 
			'color': '#005DAA'
		},
		'.smaller': { 
			'font-size': '80%',
			'color': '#A74300'
		}
	},
	wmode: "transparent",
	// fitExactly: true,
	// forceSingleLine: true,
	tuneHeight: -5,
	tuneWidth: 0,
	thickness: 100
});

sIFR.replace(handOfSean, {
	selector: 'h4.hand_of_sean',
	css: {
		'.sIFR-root': { 
			'color': '#005DAA',
			'font-size': '16px'
		}
	},
	wmode: "transparent",
	fitExactly: true,
	tuneHeight: -5,
	thickness: 100,
	tuneWidth: 5
});

sIFR.replace(handOfSean, {
	selector: 'h4.hand_of_sean_large',
	css: {
		'.sIFR-root': { 
			'color': '#005DAA',
			'font-size': '24px'
		}
	},
	wmode: "transparent",
	fitExactly: true,
	tuneHeight: -5,
	thickness: 100,
	tuneWidth: 5
});


sIFR.replace(fontin, {
	selector: 'h4',
	css: {
		'.sIFR-root': { 
			'color': '#005daa',
			'font-size': '16px'
		}
	},
	wmode: "transparent",
	// forceSingleLine: true,
	// fitExactly: true,
	tuneHeight: -5,
	tuneWidth: 0,
	thickness: 50,
	forceWidth: true,
	fixWrap: true
});


sIFR.replace(handOfSean, {
	selector: 'h3',
	css: {
		'.sIFR-root': { 
			'color': '#a74300'
		}
	},
	wmode: "transparent",
	fitExactly: true,
	// forceSingleLine: true,
	tuneHeight: -5,
	tuneWidth: 5,
	thickness: 200
});


sIFR.replace(handOfSean, {
	selector: '.hand_of_sean.nobr',
	css: {
		'.sIFR-root': { 
			'color': '#a74300'
		}
	},
	wmode: "transparent",
	forceSingleLine: true,
	tuneHeight: -8,
	thickness: 200,
	tuneWidth: 0
});
sIFR.replace(handOfSean, {
	selector: '.hand_of_sean',
	css: {
		'.sIFR-root': { 
			'color': '#a74300'
		}
	},
	wmode: "transparent",
	tuneHeight: -8,
	thickness: 200,
	tuneWidth: 0
});
sIFR.replace(handOfSean, {
	selector: '.hand_of_sean_em',
	css: {
		'.sIFR-root': { 
			'color': '#005DAA'
		}
	},
	wmode: "transparent",
	tuneHeight: -8,
	thickness: 200,
	tuneWidth: 0
});
