// Set font to use with sIFR
var gillSans 		= { src: '/api/js/sifr3/flash/sifr_gillsans.swf' };
var gillSansLight	= { src: '/api/js/sifr3/flash/sifr_gillsanslight.swf' };
sIFR.useStyleCheck 	= true;

// Activate font
sIFR.activate(gillSans);
sIFR.activate(gillSansLight);

// Replace HEADER
sIFR.replace(gillSans, { 
			 selector: '.header', 
			 wmode: 'transparent', 
			 css: [ '.sIFR-root {color:#FFFFFF; font-size: 22; margin-top:10px;}' ] 
			 });

// Replace homepage image CAPTION
sIFR.replace(gillSansLight, { 
			 selector: '.caption', 
			 preventWrap: true, 
			 forceWidth: true, 
			 fitExactly: true, 
			 tuneWidth: 20,
			 css: [ '.sIFR-root {color:#FFFFFF; font-size: 22; background-color: #2f2d3b; text-indent: 10px; forceWidth: true, fitExactly: true;}' ] 
			 });

// Replace homepage image LARGE CAPTION
sIFR.replace(gillSans, { 
			 selector: '.captionLarge', 
			 preventWrap: true, 
			 forceWidth: true,
			 fitExactly: true, 
			 tuneWidth: 20, 
			 css: [ '.sIFR-root {color:#FFFFFF; font-size: 30; background-color: #2f2d3b; text-indent: 10px; forceWidth: true, fitExactly: true;}' ] 
			 });

// Replace page TITLE
sIFR.replace(gillSans, { 
			 selector: '.page_title', 
			 preventWrap: false, 
			 forceWidth: true,
			 fitExactly: true,
			 tuneWidth: 20,
			 wmode: 'transparent', 
			 css: [ '.sIFR-root {color:#532871; font-size: 24; forceWidth: true, fitExactly: true;}' ] 
			 });

// Replace panel HEADERS
sIFR.replace(gillSans, { 
			 selector: '.page_moreinfo', 
			 preventWrap: true, 
			 forceWidth: true,
			 fitExactly: true,
			 tuneWidth: 25,
			 wmode: 'transparent', 
			 css: [ '.sIFR-root {color:#000000; font-size: 18; forceWidth: true, fitExactly: true;}' ] 
			 });
