// sIFR3, by Mark Wubben
// How to use? See http://wiki.novemberborn.net/sifr3/
// To prevent the Flash movies from abruptly resizing, use Ratio calculation, see http://wiki.novemberborn.net/sifr3/Ratio+Calculation
// CAUTION: no shorthands possible in the css properties

// define all fonts here:
var myriadproregular = {src: '/flash/sifr/myriad_pro_regular.swf'}
	,myriadprolight = {src: '/flash/sifr/myriad_pro_light.swf'}
;

// active all fonts here:
sIFR.activate (myriadproregular, myriadprolight);

function initSIFR()
{
	
	sIFR.replace (myriadproregular, {
		selector: 'h1.h1Big'
		,ratios: [8, 1.43, 11, 1.38, 13, 1.33, 23, 1.32, 29, 1.29, 34, 1.28, 37, 1.27, 41, 1.28, 47, 1.27, 72, 1.26, 75, 1.25, 76, 1.26, 79, 1.25, 80, 1.26, 83, 1.25, 84, 1.26, 87, 1.25, 88, 1.26, 1.25]
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#ef4135','font-size': '30px','font-weight': 'bold' }
		}
	});
	
	sIFR.replace (myriadprolight, {
		selector: 'h2, div.titel'
		,ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 44, 1.26, 45, 1.24, 53, 1.25, 58, 1.24, 59, 1.25, 88, 1.24, 90, 1.23, 91, 1.24, 94, 1.23, 95, 1.24, 103, 1.23, 104, 1.24, 1.23]
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#ef4135','font-size': '16px','font-weight': 'bold' }
		}
	});
	
	sIFR.replace (myriadproregular, {
		selector: 'h1.h1Small'
		,ratios: [8, 1.43, 11, 1.38, 13, 1.33, 23, 1.32, 29, 1.29, 34, 1.28, 37, 1.27, 41, 1.28, 47, 1.27, 72, 1.26, 75, 1.25, 76, 1.26, 79, 1.25, 80, 1.26, 83, 1.25, 84, 1.26, 87, 1.25, 88, 1.26, 1.25]
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#333333','font-size': '22px','font-weight': 'bold' }
		}
	});
	
	sIFR.replace (myriadproregular, {
		selector: '.contInleiding .dateSifr'
		,ratios: [8, 1.43, 11, 1.38, 13, 1.33, 23, 1.32, 29, 1.29, 34, 1.28, 37, 1.27, 41, 1.28, 47, 1.27, 72, 1.26, 75, 1.25, 76, 1.26, 79, 1.25, 80, 1.26, 83, 1.25, 84, 1.26, 87, 1.25, 88, 1.26, 1.25]
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#afafaf','font-size': '14px','font-weight': 'bold' }
		}
	});
	
	sIFR.replace (myriadproregular, {
		selector: 'h1 span span, div.colRightFrameTop span, div.relatedPubsTop span'
		,ratios: [8, 1.43, 11, 1.38, 13, 1.33, 23, 1.32, 29, 1.29, 34, 1.28, 37, 1.27, 41, 1.28, 47, 1.27, 72, 1.26, 75, 1.25, 76, 1.26, 79, 1.25, 80, 1.26, 83, 1.25, 84, 1.26, 87, 1.25, 88, 1.26, 1.25]
		,wmode: 'transparent'
		,css: {
			'.sIFR-root': { 'color': '#FFFFFF','font-size': '14px','font-weight': 'bold','text-transform': 'uppercase' }
		}
	});
	
}

