// set font
var unit = { src: 'fileadmin/web/images/flash/meta-normal.swf' };

// activate
sIFR.activate(unit);

// main headline
sIFR.replace(unit, {
	selector: '#content h1',
	wmode: 'transparent',
	css: '.sIFR-root { color: #0C1A33; }'
});

// home header headline
sIFR.replace(unit, {
	selector: '#home-impression h2',
	wmode: 'transparent',
	css: '.sIFR-root { color: #FFFFFF; }'
});

// seminar items on homepage
sIFR.replace(unit, {
	selector: '#upcoming-seminars h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #0C1A33; }', 
		'a:link { color: #0C1A33; text-decoration: none}',
		'a:hover { color: #0C1A33; }'
	],
});

// submenu headline
sIFR.replace(unit, {
	selector: '#submenu h2',
	wmode: 'transparent',
	css: '.sIFR-root { color: #BACE25; text-transform: uppercase; }'
});

// content headline h2
sIFR.replace(unit, {
	selector: '#content h2',
	wmode: 'transparent',
	css: '.sIFR-root { color: #BACE25; text-transform: uppercase; }'
});

// page teaser block headline
sIFR.replace(unit, {
	selector: '.tb-h h4',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #0C1A33; text-transform: uppercase; }', 
		'a:link { color: #0C1A33; text-decoration: none}',
		'a:hover { color: #0C1A33; }'
	],
});

// product container headline
sIFR.replace(unit, {
	selector: '.product h4',
	wmode: 'transparent',
	css: '.sIFR-root { color: #0C1A33; text-transform: uppercase; }'
});

// product container headline
sIFR.replace(unit, {
	selector: '.teaser h4',
	wmode: 'transparent',
	css: '.sIFR-root { color: #0C1A33; text-transform: uppercase; }'
});
