function GetSIFRColor()
{
	switch (sifrApp)
	{
		case "over-requiem":
			return "#9e2a64";
		
		case "selectie-ondernemers":
			return "#0095e3";

		case "voor-overlijden":
			return "#578610";
			
		case "persoonlijk-requiem":
			return "#e88d05";
			
		case "uitleg-persoonlijk-requiem":
			return "#e88d05";
			
		case "voor-ondernemers":
			return "#e91d25";

		case "uitvaartplan":
			return "#a64211";

		case "introductie":
			return "#0095e3";						

		default:
			return "#c83e65";
	}
}

var TrajanPro = {
	src: (applicationPath + 'Webmasters/swf/TrajanPro.swf')
};
var sifrColor = GetSIFRColor();

//alert (Theme);

sIFR.debugMode = false;

sIFR.activate(TrajanPro);

sIFR.replace(TrajanPro, {
	selector: 'h1',
	css:	'.sIFR-root {color: ' + sifrColor + '; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-7',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);

sIFR.replace(TrajanPro, {
	selector: '#prtext h2, #prlogin h2',
	css:	'.sIFR-root {margin-left: 10px; color: #e88d05; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#text h2',
	css:	'.sIFR-root {margin-left: 10px; color: #d75252; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#uitvaartzorg h2',
	css:	'.sIFR-root {margin-left: 10px; color: #44447b; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#uitvaartverzekeringen h2',
	css:	'.sIFR-root {margin-left: 10px; color: #86904d; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#groep h2',
	css:	'.sIFR-root {margin-left: 10px; color: #41bbe8; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#kleinsten h2',
	css:	'.sIFR-root {margin-left: 10px; color: #f69b22; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '#thuiswinkel h2',
	css:	'.sIFR-root {margin-left: 10px; color: #1d4ba5; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '.flexpot .link',
	css: [
		'.sIFR-root {color: #dd7961; font-size: 11px; font-weight: bold; text-transform: uppercase; text-decoration: underline}',
		'a {color: #dd7961; text-decoration: underline;}',
		'a:hover {color: #dd7961; text-decoration: none;}',
		],		
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]],
	wmode: 'transparent'
	}
);

sIFR.replace(TrajanPro, {
	selector: '.flexpothome h2',
	css:	'.sIFR-root {color: #e88d05; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-5',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);

sIFR.replace(TrajanPro, {
	selector: '.searchmortician h2',
	css:	'.sIFR-root {color: #0095e3; font-size: 12px; font-weight: bold; text-transform: uppercase;}',
	tuneHeight: '-7',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);

sIFR.replace(TrajanPro, {
	selector: '.flexpotbig h2, h4, h5',
	css: [
		'.sIFR-root {color: #0095e3; font-size: 11px; font-weight: bold; text-transform: uppercase;}',
		'a {color: #0095e3; text-decoration: none;}',
		'a:hover {color: #0095e3;}',
		],	
	tuneHeight: '-7',
	wmode: 'transparent',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);

sIFR.replace(TrajanPro, {
	selector: '#infolinks strong',
	css:	['.sIFR-root {color: #56beda; font-size: 11px; font-weight: bold; text-transform: uppercase;}',
		'a {color: #56beda; text-decoration: none;}',
		'a:hover {color: #56beda;}',
		],
	tuneHeight: '-7',
	wmode: 'transparent',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);

sIFR.replace(TrajanPro, {
	selector: '#infolinks span',
	css:	'.sIFR-root {color: #0d5871; font-size: 11px; text-transform: uppercase;}',
	wmode: 'transparent',
	ratios: [[10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]]
	}
);