//
// Make an object pointing to the location of the Flash movie on your web server.
var metabold = { src: '/system/flash/meta-bold.swf'};
var metablack = { src: '/system/flash/meta-black.swf'};
var metamedium = { src: '/system/flash/meta-medium.swf'};
var metanormal = { src: '/system/flash/meta-normal.swf'};
var metapro = { src: '/system/flash/metapro.swf'};
var metapro2 = { src: '/system/flash/metapro2.swf'};
sIFR.activate(metabold, metablack, metamedium, metanormal, metapro, metapro2);

$(document).ready(function(){
	
	   

// Activate sIFR:
// If you want, you can use multiple movies, like so:
//
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//
//    sIFR.activate(futura, garamond, rockwell);
//
// Remember, there must be *only one* `sIFR.activate()`!

/*
 knockout - set to "true" or "1" to disable sIFR main color (it becomes white)
 angle - by default is 60 (right and bottom)
*/
//sIFR.debug.ratios(metapro, { selector: '.link1 span' }); //debug


sIFR.replace(metabold, {
	selector: '#main h1',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f;}',
		'.bold {font-weight: bold;}',
	],
	tuneHeight:'-6'
});


	
//if($(".theme-vastenaktie .stripe h3").length > 0) {
sIFR.replace(metapro, {
	selector: '.theme-vastenaktie .stripe h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}',
		'a {color: #000000;}',
		'a:hover {color: #000000;}',
	]
});
//}


	



/*
if($(".holder1 h3, .aside h3, .heading2 h3, #berichten h3").length > 0) {
sIFR.replace(metapro2, {
	selector: '.holder1 h3,.aside h3, .heading2 h3, #berichten h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f; font-size: 18px;}',
		'strong {color: #221f1f; font-weight: bold;}'
	]
});
}
*/
sIFR.replace(metapro2, {
	selector: '.heading2 h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f; font-size: 18px;}',
		'strong {color: #221f1f; font-weight: bold;}'
	]
});
//if($(".bedrag h3").length > 0) {
sIFR.replace(metapro, {
	selector: '.bedrag h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000; font-size: 18px;}',
		'a {color: #ffffff;}',
		'a:hover {color: #ffffff;}',
	]
});
//}
//if($(".stripe h3").length > 0) {
	sIFR.replace(metapro, {
	selector: '.stripe h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #FFFFFF; font-size: 18px;}',
		'.bold {font-weight: bold;}'
	]
});
//}

//if($("#main .subtitle").length > 0) {
sIFR.replace(metapro2, {
	selector: '#main .subtitle',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f; leading:-9}',
	],
	tuneHeight:'-6'
});
//}
//if($(".social strong").length > 0) {
sIFR.replace(metamedium, {
	selector: '.social strong',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
	/* ratios: [...] */
});
//}
//if($(".btn1 span.c span .bold").length > 0) {
sIFR.replace(metabold, {
	selector: '.btn1 span.c span .bold',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}',
		'a {color: #000000; text-decoration: none;}'
	],
	tuneWidth: '5'
});
//}
//if($(".img-holder strong .bold").length > 0) {
sIFR.replace(metabold, {
	selector: '.img-holder strong .bold',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #010101;}'
	]
	/* ratios: [...] */
});

//}
//if($(".img-holder strong .normal").length > 0) {

sIFR.replace(metanormal, {
	selector: '.img-holder strong .normal',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #010101;}'
	]
	/* ratios: [...] */
});

//}
//if($(".link1 span").length > 0) {

sIFR.replace(metapro, {
	selector: '.link1 span',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000; font-weight: bold;}',
		'a {color: #000000; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: underline;}',
	],
	offsetTop: '-5',
	tuneHeight: '-12'
});

//}
//if($("#main .block3 p span").length > 0) {

sIFR.replace(metanormal, {
	selector: '#main .block3 p span',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #010101;}'
	]
	/* ratios: [...] */
});

//}
//if($("#main .block3 p strong").length > 0) {

sIFR.replace(metabold, {
	selector: '#main .block3 p strong',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #010101;}'
	]
	/* ratios: [...] */
});

//}
//if($(".popup-map h4 .bold").length > 0) {

sIFR.replace(metabold, {
	selector: '.popup-map h4 .bold',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f;}'
	]
	/* ratios: [...] */
});

//}
//if($(".popup-map h4 .normal").length > 0) {

sIFR.replace(metanormal, {
	selector: '.popup-map h4 .normal',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f;}'
	]
	/* ratios: [...] */
});

//}
//if($(".video-holder strong .m").length > 0) {

sIFR.replace(metamedium, {
	selector: '.video-holder strong .m',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #ffffff;}'
	]
	/* ratios: [...] */
});

//}
//if($(".video-holder strong .black").length > 0) {

sIFR.replace(metablack, {
	selector: '.video-holder strong .black',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #ffffff;}'
	]
	/* ratios: [...] */
});

//}
//if($("#main .heading2 h3 span").length > 0) {

sIFR.replace(metamedium, {
	selector: '#main .heading2 h3 span',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
	/* ratios: [...] */
});

//}
//if($(".link10 span").length > 0) {

sIFR.replace(metabold, {
	selector: '.link10 span',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #ffffff;}',
		'a {color: #ffffff; text-decoration: none;}',
		'a:hover {color: #ffffff; text-decoration: underline;}',
	]
	/* ratios: [...] */
});

//}
//if($(".footer-bar2 h3 .bold").length > 0) {

sIFR.replace(metabold, {
	selector: '.footer-bar2 h3 .bold',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f;}'
	]
	/* ratios: [...] */
});

//}
//if($(".footer-bar2 h3 .normal").length > 0) {

sIFR.replace(metanormal, {
	selector: '.footer-bar2 h3 .normal',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #221f1f;}'
	]
	/* ratios: [...] */
});

//}
//if($(".info-holder p .m").length > 0) {

sIFR.replace(metamedium, {
	selector: '.info-holder p .m',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
});
	
//}
//if($(".info-holder p .normal").length > 0) {

sIFR.replace(metanormal, {
	selector: '.info-holder p .normal',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
	/* ratios: [...] */
});

//}
//if($("h2.subtitle2").length > 0) {

sIFR.replace(metapro, {
	selector: 'h2.subtitle2',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}',
		'.bold {font-weight: bold;}'
	]
	/* ratios: [...] */
});

//}
//if($(".wrapper .title04 strong .bold").length > 0) {

sIFR.replace(metabold, {
	selector: '.wrapper .title04 strong .bold',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
	/* ratios: [...] */
});

//}
//if($(".cijfers-holder h4").length > 0) {

sIFR.replace(metabold, {
	selector: '.cijfers-holder h4',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #000000;}'
	]
	/* ratios: [...] */
});

//}



//if($("#main h3 span").length > 0){

	sIFR.replace(metapro, {
		selector: '#main h3 span',
		wmode: 'transparent',
		css: [
			'.sIFR-root {color: #221f1f;  }',
			'a {color: #221f1f;}',
			'a:hover {color: #221f1f;}',
			'strong { color:red;}'
		]
	});
//}

//if($("#main .stripe h3 span").length > 0) {
sIFR.replace(metapro, {
	selector: '#main .stripe h3 span',
	wmode: 'transparent',
	css: [
		'.sIFR-root {color: #ffffff;}',
		'a {color: #ffffff;}',
		'a:hover {color: #ffffff;}',
	]
});
//}

});
