var myriadpro = { src: '/files/templates/designs/rosengardcentret/js/myriadpro.swf' };
var myriadprolight = { src: '/files/templates/designs/rosengardcentret/js/myriadprolight.swf' };
sIFR.activate(myriadpro, myriadprolight);

sIFR.replace(myriadpro, {
	selector: '#logotext h1',
        wmode: 'transparent',
	css: '.sIFR-root { color: #494949; font-size: 14px; font-weight: normal; }'
});

sIFR.replace(myriadpro, {
	selector: '#mainnav h1',
        wmode: 'transparent',
	css: [
		'.sIFR-root { cursor: pointer, color: #494949; font-size: 18px; font-weight: normal; text-align: center }',
		'a { text-decoration: none; }',
		'a:link { color: #494949; }', 
		'a:hover { color: #494949; }'
		]
});

sIFR.replace(myriadpro, {
	selector: '#aabningstiderdetsker h2',
	forceSingleLine: true,
	wmode: 'transparent',
	css: [
		'.sIFR-root { cursor: pointer, color: #40c0d5; font-size: 18px; font-weight: normal; }',
		'a { text-decoration: none; }',
		'a:link { color: #40c0d5; }', 
		'a:hover { color: #40c0d5; }',
		'span { font-size: 16px; }'
		]
});

sIFR.replace(myriadprolight, {
	selector: '#mainbanners h1',
	offsetTop: 5,
        wmode: 'transparent',
	css: '.sIFR-root { color: #494949; font-size: 22px; font-weight: normal; }'
});

sIFR.replace(myriadprolight, {
    selector: '#onecolumn h1',
    offsetTop: 5,
    wmode: 'transparent',
    css: '.sIFR-root { color: #494949; font-size: 22px; font-weight: normal; }'
});

sIFR.replace(myriadprolight, {
    selector: '#main h3',
    offsetTop: 5,
    wmode: 'transparent',
    css: '.sIFR-root { color: #494949; font-size: 18px; font-weight: normal; }'
});

sIFR.replace(myriadprolight, {
	selector: '#aabningstider h1',
	offsetTop: 5,
	forceSingleLine: true,
	wmode: 'transparent',
	css: '.sIFR-root { color: #494949; font-size: 30px; font-weight: normal; }'
});

sIFR.replace(myriadprolight, {
	selector: '#detsker h1',
	offsetTop: 5,
	forceSingleLine: true,
	wmode: 'transparent',
	css: '.sIFR-root { color: #494949; font-size: 30px; font-weight: normal; text-align: right}'
});

sIFR.replace(myriadprolight, {
	selector: '#aabningstiderbanner p.day',
	forceSingleLine: true,
        wmode: 'transparent',
	css: '.sIFR-root { color: #494949; font-size: 13px; font-weight: normal; }'
});
sIFR.replace(myriadprolight, {
	selector: '#aabningstiderbanner p.time',
        wmode: 'transparent',
	forceSingleLine: true,
	css: '.sIFR-root { color: #666666; font-size: 13px; font-weight: normal; }'
});

sIFR.replace(myriadprolight, {
	selector: '#aabningstiderbanner h2',
	forceSingleLine: true,
        wmode: 'transparent',
	css: ['.sIFR-root { color: #40c0d5; font-size: 14px; font-weight: normal; }',
		'a { text-decoration: none; }',
		'a:link { color: #40c0d5; }', 
		'a:hover { color: #40c0d5; }']
});