var glypha = {
  src: '/ledarna-resources/flash/glypha.swf'
  ,ratios: [10,1.32,16,1.27,23,1.23,24,1.21,25,1.22,31,1.21,35,1.2,36,1.21,38,1.2,42,1.19,43,1.2,62,1.19,65,1.18,67,1.19,71,1.18,72,1.19,119,1.18,120,1.17,1.18]
};
//sIFR.prefetch(glypha);
sIFR.activate(glypha); // From revision 209 and onwards

// Saving the old stuff so it can be reused on ledarna.se
sIFR.replace(glypha, {
	selector: '#featureContent h1, #featureContent h2,.h1,.h2'
		,css: [	'.sIFR-root { font-weight: bold; }'	]
		,wmode: [ 'transparent' ]
});

sIFR.replace(glypha, {
	selector: '#themeBox h2'
		,css: [	'.sIFR-root { font-weight: bold; color: #ffffff; }'	]
		,wmode: [ 'transparent' ]
});

// new stuff for Rekryteringsprocessen
sIFR.replace(glypha, {
	selector: '.rekProcOrange h1'
		, css: ['.sIFR-root { font-weight: bold;background-color: #ffffff; color: #000000;  } strong { font-weight: bold; color: #a41c22; } ']
		,wmode: [ 'transparent' ]
});
sIFR.replace(glypha, {
	selector: '.rekProcRed h1'
		, css: ['.sIFR-root { font-weight: bold;background-color: #ffffff; color: #000000; } strong { font-weight: bold; color: #014ea6; } ']
		,wmode: [ 'transparent' ]
});
sIFR.replace(glypha, {
	selector: '.rekProcGreen h1'
		, css: ['.sIFR-root { font-weight: bold;background-color: #ffffff; color: #000000; } strong { font-weight: bold; color: #004f39; } ']
		,wmode: [ 'transparent' ]
});
sIFR.replace(glypha, {
	selector: '.rekProcGreen #rekProcCounter'
		, css: ['.sIFR-root { font-weight: bold;background-color: #ffffff; color: #004f39; } ']
		,wmode: [ 'transparent' ]
});
sIFR.replace(glypha, {
	selector: '.rekProcRed #rekProcCounter'
		, css: ['.sIFR-root { font-weight: bold;background-color: #ffffff; color: #014ea6; } ']
		,wmode: [ 'transparent' ]
});
