function getColor(css , cssNode, selector)
{
	var cssText = sIFR.util.cssToString(css);
	if (cssNode.style.color.length > 0) {
		i = cssText.search(/color:[\s]?#\w{6}/);
		if (i != -1) {
			var l_sColorToReplace = cssNode.style.color;
			if ( cssNode.style.color.match(/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/) ) {
				var c = new RGBColor(cssNode.style.color);
				l_sColorToReplace = c.toHex();
			}
			if (cssNode.className == "hover") {
				l_iOccurence = cssText.search(/a:hover\{.*color:[\s]?#\w{6}.*\}/);
				if (l_iOccurence != -1) {
					cssText = cssText.replace(/(a:hover\{.*color:[\s]?)#\w{6}(.*\})/, "$1"+l_sColorToReplace+"$2");
				}
			} else if (cssNode.className == "href") {
				l_iOccurence = cssText.search(/color:[\s]?#\w{6};/);
				if (l_iOccurence != -1) {
					cssText = cssText.replace(/(color:[\s]?)#\w{6};/g, "$1"+l_sColorToReplace+";");
				}
			} else {
				cssText = cssText.replace(/color:[\s]?#\w{6}/, 'color:'+l_sColorToReplace);
			}
		} else {
			// alert(cssText);
		}
	}
	return cssText;
}

var helvetica = {
  src: '/flash/_sIFR/ocen.swf'
};

sIFR.useDomContentLoaded = false;
sIFR.activate(helvetica);


sIFR.replace({
	selector: 'h1'
	,src: '/flash/_sIFR/DaxOt_black.swf'
	,css: {
	'.sIFR-root': { 'color': '#FFFFFF' }
	,'a'		: { 'text-decoration':'none',
					'color' : '#FFFFFF'
				}
	,'a:hover'		: { 'text-decoration':'none',
						'color' : '#fa7806'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
});

sIFR.replace({
	selector: '.payoff'
	,src: '/flash/_sIFR/DaxOt_light.swf'
	,css: {
	'.sIFR-root': { 'color': '#2f3554' }
	,'a'		: { 'text-decoration':'none',
					'color' : '#2f3554'
				}
	,'a:hover'		: { 'text-decoration':'none',
						'color' : '#2f3554'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
});

sIFR.replace({
	selector: 'h2.home'
	,src: '/flash/_sIFR/DaxOt_light.swf'
	,css: {
	'.sIFR-root': { 'color': '#FFFFFF'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
});

sIFR.replace({
	selector: 'h2'
	,src: '/flash/_sIFR/DaxOt_light.swf'
	,css: {
	'.sIFR-root': { 'color': '#2f3554'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
	,modifyCss : getColor
});



sIFR.replace({
	selector: 'h3.informatie'
	,src: '/flash/_sIFR/DaxOt_black.swf'
	,css: {
	'.sIFR-root': { 'color': '#cfddef'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
	,modifyCss : getColor
});

sIFR.replace({
	selector: 'h3'
	,src: '/flash/_sIFR/DaxOt_light.swf'
	,css: {
	'.sIFR-root': { 'color': '#263048'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
	,modifyCss : getColor
});

sIFR.replace({
	selector: 'h4'
	,src: '/flash/_sIFR/DaxOt_light.swf'
	,css: {
	'.sIFR-root': { 'color': '#263048'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
	,modifyCss : getColor
});

sIFR.replace({
	selector: '.submenu_title'
	,src: '/flash/_sIFR/DaxOt_medium.swf'
	,css: {
	'.sIFR-root': { 'color': '#f2555b', 'padding':'0'
			},
	'a': { 	'color': '#f2555b',
					'text-decoration': 'none',
					'margin': '0px',
					'padding': '0',
					'textAlign' : 'left'
			},
	}
	,wmode: 'transparent'
	,tuneHeight: 0
	,modifyCss : getColor
});
sIFR.replace({
	selector: '.agenda_title'
	,src: '/flash/_sIFR/DaxOt_medium.swf'
	,css: {
	'.sIFR-root': { 'color': '#215f84', 'font-size:' : '14px'
				}
	}
	,wmode: 'transparent'
	,tuneHeight: 0
});


sIFR.replace({
	selector: '.title_artist'
	,src: '/flash/_sIFR/DaxOt_medium.swf'
	,css: {
	'.sIFR-root': { 'color': '#ffffff'
					,'font-size' : '16px'
				}
	}
	,wmode: 'transparent'
	,offsetTop : -8
	,tuneHeight : -8
	,modifyCss : getColor
});

sIFR.replace({
	selector: '.title_category'
	,src: '/flash/_sIFR/DaxOt_medium.swf'
	,css: {
	'.sIFR-root': { 'color': '#f2555b'
					,'font-size' : '20px'
				}
	}
	,wmode: 'transparent'
	,modifyCss : getColor
});
sIFR.replace({
	selector: 'p.infoHeader'
	,src: '/flash/_sIFR/DaxOt_medium.swf'
	,css: {
	'.sIFR-root': { 'color': '#cfddef'
									,'leading': '-6'
									,'font-size': '23px'
								}
	}
	,wmode: 'transparent'
	,offsetTop : -9
	,tuneHeight : -9
});
