var dinlig = { src: '/fileadmin/templates/swf/dinlig.swf' };
var dinreg = { src: '/fileadmin/templates/swf/dinreg.swf' };
var dinbol = { src: '/fileadmin/templates/swf/dinbol.swf' };
var dinmed = { src: '/fileadmin/templates/swf/dinmed.swf' };

sIFR.useStyleCheck = true;

sIFR.activate(dinlig, dinreg, dinbol, dinmed);

// Headlines start
sIFR.replace(dinlig, {
 selector: 'h1',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#878787; letter-spacing: -0.5}'
 ]
});


sIFR.replace(dinlig, {
 selector: '.news-h1',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 3,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#1b1b1b; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinlig, {
 selector: 'span#werkstatt',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#000000; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinmed, {
 selector: 'span#akademie',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#ffffff; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinlig, {
 selector: '.akademie-sub',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#ffffff; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinlig, {
 selector: 'span#mediathek',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#ffffff; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinmed, {
 selector: '.mediathek-sub',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#ffffff; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinbol, {
 selector: 'span#weiss',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#ffffff; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinmed, {
 selector: 'h2',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 14px; color:#303030}'
 ]
});

sIFR.replace(dinmed, {
 selector: 'h3',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 16px; color:#e00000; letter-spacing: 0.15}'
 ]
});
// Headlines end
// Sub_nav start

sIFR.replace(dinreg, {
 selector: '.second_nav li.red',
 wmode: 'transparent',
 tuneHeight: -5,
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#e00000; text-decoration: none} a:hover {font-size: 14px; color:#e00000; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '.second_nav li.black',
 wmode: 'transparent',
 tuneHeight: -5,
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#000000; text-decoration: none} a:hover {font-size: 14px; color:#000000; text-decoration: none}'
 ]
});
sIFR.replace(dinreg, {
 selector: '.second_nav li.normal',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 tuneHeight: -5,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#535353; text-decoration: none} a:hover {font-size: 14px; color:#e00000; text-decoration: none}'
 ]
});
sIFR.replace(dinreg, {
 selector: '.second_nav li.normalb',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 tuneHeight: -5,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#535353; text-decoration: none} a:hover {font-size: 14px; color:#000000; text-decoration: none}'
 ]
});

// Sub_nav end
// Main_nav start

sIFR.replace(dinmed, {
 selector: '#header_nav.sub li.red',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#e00000; text-decoration: none} a:hover {font-size: 16px; color:#e00000; text-decoration: none}'
 ]
});

sIFR.replace(dinmed, {
 selector: '#header_nav.magent li.magenta',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#e3097f; text-decoration: none} a:hover {font-size: 16px; color:#e3097f; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav.yello li.yellow',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetLeft: 3,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#000000; text-decoration: none} a:hover {font-size: 16px; color:#000000;text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav.yello li.normayello',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetLeft: 3,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#707070; text-decoration: none} a:hover {font-size: 16px; color:#000000; text-decoration: none}'
 ]
});

sIFR.replace(dinmed, {
 selector: '#header_nav.cya li.cyan',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#00c0ff; text-decoration: none} a:hover {font-size: 16px; color:#00c0ff; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav.home li.red',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#e00000; text-decoration: none} a:hover {font-size: 16px; color:#e00000; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav li.normal',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#707070; text-decoration: none} a:hover {font-size: 16px; color:#e00000; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav li.normagenta',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 16px; color:#707070; text-decoration: none} a:hover {font-size: 16px; color:#e3097f; text-decoration: none}'
 ]
});

sIFR.replace(dinreg, {
 selector: '#header_nav li.language',
 wmode: 'transparent',
 selectable: true,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 12px; color:#707070; text-decoration: none} a:hover {font-size: 12px; color:#ff0000; text-decoration: none}'
 ]
});
// Main_nav end

sIFR.replace(dinreg, {
 selector: '#footer_nav',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#959595; text-decoration: none;margin:12px !important} a:hover {font-size: 14px; color:#000000;text-decoration: underline}'
 ]
});

sIFR.replace(dinbol, {
 selector: '.test',
  wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 tuneHeight: -5,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 'a {font-size: 14px; color:#707070; text-decoration: none} a:hover {font-size: 14px; color:#ff0000; text-decoration: none}'
 ]
});

sIFR.replace(dinlig, {
 selector: '.news-block p',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#878787; letter-spacing: -0.9; text-decoration: none}  a {font-size: 30px; color:#878787; text-decoration: none}  a:hover {font-size: 30px; color:#878787; text-decoration: none}'
 ]
});

sIFR.replace(dinlig, {
 selector: '.news-block .lightwindow',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 offsetRight: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#878787; text-decoration: none;letter-spacing: -0.9;} a:hover {font-size: 14px; color:#ff0000; text-decoration: none}'
 ]
});

sIFR.replace(dinlig, {
 selector: '.details-right h4',
 wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#E3E3E3; letter-spacing: -0.5}'
 ]
});

sIFR.replace(dinlig, {
 selector: '.stimmen-right h4',
  wmode: 'transparent',
 selectable: true,
 offsetTop: 2,
 sharpness: 0,
 antiAliasType: 'advanced',
 pixelFont: false,
 gridFitType: 'pixel',
 css: [
 '.sIFR-root {font-size: 30px; color:#E3E3E3; letter-spacing: -0.5}'
 ]
});

