//<[CDATA[
/* check if SIFR is an object and is supported */
if(typeof sIFR == "object" && sIFR.ua.supported == true && sIFR.ua.ieMac != true){
if(window.console && console.log && sIFR.debugMode==true){
 //console.group('SIFR UA Test');
 sIFR.debug.ua();
 //console.groupEnd();
}
sIFR.ua.supported = sIFR.ua.supported && sIFR.ua.flashVersion >= 8;

var franklingothic_m = {
    src: 'fileadmin/templates/mabthera/swf/franklingothic_m.swf'
    ,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
  };
 var frutiger55roman = {
    src: 'fileadmin/templates/mabthera/swf/frutiger55roman.swf'
    ,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
  };
 
   // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
   // sIFR.useStyleCheck = true;
   sIFR.delayCSS = true;
   sIFR.repaintOnResize = true;
   sIFR.preserveSingleWhitespace = false;
   //sIFR.useStyleCheck = true; // unstable right now!
   //sIFR.domains = ['mittval.se'] // Don't check for domains
   //sIFR.prefetch(); //Not workin from v372

  sIFR.activate(franklingothic_m,frutiger55roman);
  
  sIFR.replace(franklingothic_m, {
    selector: 'h1'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: bold;color: #000000;font-size: 38px;  }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ], wmode: 'transparent'  
  });
  
    sIFR.replace(frutiger55roman, {
    selector: 'h2'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal;color: #000000;font-size: 22px;  }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #000000;text-decoration: underline; }'
    ], wmode: 'transparent'  
  });
  
    sIFR.replace(frutiger55roman, {
    selector: 'h3'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal;color: #000000;font-size: 14px;  }'
      ,'a { text-decoration: none; color: #000000; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #000000; text-decoration: underline;}'
    ], wmode: 'transparent'  
  });
  
    sIFR.replace(franklingothic_m, {
    selector: 'h4'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: bold;color: #000000;font-size: 16px;  }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ], wmode: 'transparent'  
  });
  
     sIFR.replace(frutiger55roman, {
    selector: 'li'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal;color: #ffffff;font-size: 12px;  }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; text-decoration: underline; }'
    ], wmode: 'transparent'  
  });
 if(sIFR.registerEvents == false) {
 sIFR.initialize();
 if(window.console && console.log && sIFR.debugMode==true){
 console.info('initialize, registerEvents is false');
 }
 }
 //if(sIFR.ua.supported == true && sIFR.isActive == false){
 // sIFR.rollback();//redraw()
 //}

}
//]]>
