/* ################################################## */
/*  Made by: www.DIRECTBASING.com                     */
/*  Semantisch correcte xHTML Basing                  */
/* ################################################## */

// Initialise the fonts
var CaeciliaRoman = {
  src: 'fonts/CaeciliaRoman.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var CaeciliaLight = {
  src: 'fonts/CaeciliaLight.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var CaeciliaBold = {
  src: 'fonts/CaeciliaBold.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

// Activate the fonts
sIFR.activate(CaeciliaRoman, CaeciliaLight, CaeciliaBold);

// Replace the fonts
sIFR.replace(CaeciliaBold, {
	selector: '.textBox h2'
		,css: [
	    	'.sIFR-root { font-size: 28px; color: #9d0d15; }'
	  	]
		,transparent: true
		,forceSingleLine: true
});

sIFR.replace(CaeciliaRoman, {
	selector: '.openBox h3'
		,css: [
	    	'.sIFR-root { font-size: 18px; color: #ffffff; }'
	  	]
		,transparent: true
		,forceSingleLine: true
});

sIFR.replace(CaeciliaLight, {
	selector: '.textBox h1'
		,css: [
	    	'.sIFR-root { font-size: 28px; color: #9d0d15; }'
	  	]
		,transparent: true
		,forceSingleLine: true
});

sIFR.replace(CaeciliaRoman, {
	selector: '.textBox h3'
		,css: [
	    	'.sIFR-root { font-size: 18px; color: #9d0d15; }'
		]
		,transparent: true
		,forceSingleLine: true
});

sIFR.replace(CaeciliaRoman, {
	selector: '#menuCntr li'
		,css: [
	    	'.sIFR-root { letter-spacing: 3; font-size: 11px; text-transform: uppercase; color: #ffffff; }'
			,'a { text-decoration: none; color: #ffffff; }'
			,'a:hover { text-decoration: none; color: #ffffff; }'
	  	]
		,transparent: true
		,forceSingleLine: true
});
