var gillsans = {
  src: '/wp-content/themes/gruppe/js/sifr/gillsans.swf'
};

//sIFR.useStyleCheck = true;
sIFR.activate(gillsans);

sIFR.replace(gillsans, {
  selector: 'h1',
  wmode: 'transparent',
  css: [
    '.sIFR-root { color:#414853; text-align: left; font-weight:normal; font-size:24px; line-height:28px; text-transform:uppercase }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #ffffff; }'
    ,'a:hover { color: #ffffff; }'
  ] 
});

sIFR.replace(gillsans, {
  selector: '#carousel h2',
  wmode: 'transparent',
  css: [
    '.sIFR-root { color: #ffffff; text-align: left; font-weight:normal; font-size:20px; line-height:24px; text-transform:uppercase; letter-spacing:2; }'
  ] 
});

sIFR.replace(gillsans, {
  selector: 'h2',
  wmode: 'transparent',
  css: [
    '.sIFR-root { color: #414853; text-align: left; font-weight:normal; font-size:20px; line-height:24px; text-transform:uppercase; letter-spacing:2; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #000000; }'
  ] 
});

sIFR.replace(gillsans, {
  selector: 'h3,h4,h5',
  wmode: 'transparent',
  css: [
    '.sIFR-root { color: #414853; text-align: left; font-weight:normal; font-size:18px; line-height:22px; text-transform:uppercase; letter-spacing:1; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #000000; }'
  ] 
});

