var calibriregular = { src: '/swf/calibriregular.swf' };
var calibribold = { src: '/swf/calibribold.swf' };

sIFR.activate(calibriregular);

function callReplaceH1() {

	sIFR.replace(calibriregular, {
		selector: 'h1'
		,css: {
			'.sIFR-root': { 'background-color': '#ffffff', 'color': '#000000', 'font-size': '22px', 'leading': '-5', 'width': '400px' }
		}
		,wmode: 'transparent'
		,ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 44, 1.26, 45, 1.24, 54, 1.25, 58, 1.24, 59, 1.25, 91, 1.24, 94, 1.23, 96, 1.24, 98, 1.23, 100, 1.24, 103, 1.23, 104, 1.24, 107, 1.23, 108, 1.24, 1.23]
	});
}

function callReplaceH2() {

	sIFR.replace(calibriregular, {
		selector: 'h2'
		,css: {
			'.sIFR-root': { 'background-color': '#ffffff', 'color': '#000000', 'font-size': '15px', 'leading': '-3', 'text-align': 'center' }
		}
		,tuneHeight: -4
		,wmode: 'transparent'
		,ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 44, 1.26, 45, 1.24, 54, 1.25, 58, 1.24, 59, 1.25, 91, 1.24, 94, 1.23, 96, 1.24, 98, 1.23, 100, 1.24, 103, 1.23, 104, 1.24, 107, 1.23, 108, 1.24, 1.23]
	});
}

callReplaceH1();
callReplaceH2();

// ratios for bold are the same

