var olsen = { src: '/fileadmin/templates/flash/olsenoffc.swf' };
var olsenLight = { src: '/fileadmin/templates/flash/olsenoffc-light.swf' };

sIFR.activate(olsen,olsenLight);


var Browser = {
  Version: function() {
    var version = 999; // we assume a sane browser
    if (navigator.appVersion.indexOf("MSIE") != -1)
      // bah, IE again, lets downgrade version number
      version = parseFloat(navigator.appVersion.split("MSIE")[1]);
    return version;
  }
} 

if(Browser.Version() > 8 || Browser.Version == 999){
	sIFR.replace(olsen, {
		wmode: 'transparent',
		selector: '.news-frontpage-textTD H2',
		ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
		css: [
		'.sIFR-root {background-color: transparent; letter-spacing:1; color: #000000; font-size:19px; margin:0px; padding:0px; font-weight:normal;}',
		'a { text-decoration: none; color: #000000;}',
		'a:link { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: none; }'
		],
		selectable: true,
		forceSingleLine: false,
		offsetTop: 5
	});
}

sIFR.replace(olsenLight, {
	wmode: 'transparent',
	selector: '#blackBottom H2',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #ffffff; font-size:43px; margin:0px; padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #ffffff;}',
	'a:link { color: #ffffff; text-decoration: none; }',
	'a:hover { color: #ffffff; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 2
});

sIFR.replace(olsenLight, {
	wmode: 'transparent',
	selector: '.bottomBlackNew-con H2',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #ffffff; font-size:43px; margin:0px; padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #ffffff;}',
	'a:link { color: #ffffff; text-decoration: none; }',
	'a:hover { color: #ffffff; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 2
});

sIFR.replace(olsenLight, {
	wmode: 'transparent',
	selector: '#rootpage-blue',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #009691; font-size:16px; margin:0px; padding:0px; font-weight:normal; text-transform:uppercase;}',
	'a { text-decoration: none; color: #009691;}',
	'a:link { color: #009691; text-decoration: none; }',
	'a:hover { color: #009691; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 0
});

sIFR.replace(olsenLight, {
	wmode: 'transparent',
	selector: '#rootpage-orange',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #f26522; font-size:16px; margin:0px; padding:0px; font-weight:normal; text-transform:uppercase;}',
	'a { text-decoration: none; color: #f26522;}',
	'a:link { color: #f26522; text-decoration: none; }',
	'a:hover { color: #f26522; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 0
});

sIFR.replace(olsenLight, {
	wmode: 'transparent',
	selector: '#rootpage-purple',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #7b3f98; font-size:16px; margin:0px; padding:0px; font-weight:normal; text-transform:uppercase;}',
	'a { text-decoration: none; color: #7b3f98;}',
	'a:link { color: #7b3f98; text-decoration: none; }',
	'a:hover { color: #7b3f98; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 0
});

sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '#main-subpage h1',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #000000; font-size:27px; position:relative;  padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -2
});


sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '#image-subpage h1',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #000000; font-size:27px;  padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: 0
});

sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '#main-subpage-bigMain h1',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #000000; font-size:27px;  padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -7
});


sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '#main-subpage-bigMain-header h1',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #000000; font-size:27px; margin:0px; padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -7
});

sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '#news-single-title h1',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent;color: #000000; width:474px; height:100px; margin:0px; padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -7
});

sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '.sliderText h2',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {background-color: transparent; color: #000000; font-size:27px;  margin:0px; padding:0px; font-weight:normal;}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -7
});


sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '.news-single-header h2',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -5
});

sIFR.replace(olsen, {
	wmode: 'transparent',
	selector: '.news-single-header-netr h2',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	css: [
	'.sIFR-root {}',
	'a { text-decoration: none; color: #000000;}',
	'a:link { color: #000000; text-decoration: none; }',
	'a:hover { color: #000000; text-decoration: none; }'
	],
	selectable: true,
	forceSingleLine: false,
	offsetTop: -5
});

/**/
