var gillsans = {
  src: '/flash/gillsans.swf',
  ratios: [10, 1.32, 16, 1.27, 19, 1.23, 25, 1.22, 30, 1.21, 32, 1.19, 33, 1.2, 37, 1.19, 38, 1.2, 51, 1.19, 55, 1.18, 56, 1.19, 84, 1.18, 86, 1.17, 88, 1.18, 89, 1.17, 90, 1.18, 93, 1.17, 94, 1.18, 1.17]
};

sIFR.activate(gillsans); // From revision 209 and onwards

reloadSIFRElements();

function reloadSIFRElements() {
	sIFR.replace(gillsans, {
	  selector: 'h1',
	  fitExactly:true, 
	  wmode: 'transparent'
	});

	sIFR.replace(gillsans, {
		selector: 'h2',
		fitExactly: true,
		wmode: 'transparent',
		css: ['a { text-decoration: none }', 'a:link { color: #000000; }', 'a:visited { color: #000000; }', 'a:hover { color: #333333; }', 'a:active { color: #333333; }']
	});
	
	sIFR.replace(gillsans, {
		selector: 'h2.center',
		fitExactly: true,
		wmode: 'transparent',
		css: ['.sIFR-root { text-align: center }, a { text-decoration: none }', 'a:link { color: #000000; }', 'a:visited { color: #000000; }', 'a:hover { color: #333333; }', 'a:active { color: #333333; }']
	});
	
	sIFR.replace(gillsans, {
		selector: 'h3',
		fitExactly: true,
		wmode: 'transparent',
		css: ['a { text-decoration: none }', 'a:link { color: #000000; }', 'a:visited { color: #000000; }', 'a:hover { color: #333333; }', 'a:active { color: #333333; }']
	});
	
	sIFR.replace(gillsans, {
		selector: 'h4',
		fitExactly: true,
		wmode: 'transparent',
		css: ['a { text-decoration: none }', 'a:link { color: #000000; }', 'a:visited { color: #000000; }', 'a:hover { color: #333333; }', 'a:active { color: #333333; }']
	});
	
	sIFR.replace(gillsans, {
		selector: 'h5.center',
		fitExactly: true,
		wmode: 'transparent',
		css: {
			'.sIFR-root': {
				'text-align': 'center'
			}
		}
	});
	
	sIFR.replace(gillsans, {
		selector: '.footer-phone',
		fitExactly: true,
		wmode: 'transparent',
		css: ['.sIFR-root { text-align: right; float:right; }']
	});
	
}

  
