/*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/
  
    /* sIFR.debug.ratios({ src: 'sansa.swf', selector: 'p' }); */

  
    var sansaBold = { src: 'http://www.bigge-energie.de/sansaBold.swf'
      ,ratios: [9, 1.16, 14, 1.09, 15, 1.1, 17, 1.09, 18, 1.05, 19, 1.08, 21, 1.07, 24, 1.04, 26, 1.06, 32, 1.05, 41, 1.04, 58, 1.03, 97, 1.02, 1.01]
    };
    
    var sansa = { src: 'http://www.bigge-energie.de/sansa.swf'
      ,ratios: [9, 1.16, 14, 1.09, 15, 1.1, 17, 1.09, 18, 1.05, 19, 1.08, 21, 1.07, 24, 1.04, 26, 1.06, 32, 1.05, 41, 1.04, 58, 1.03, 97, 1.02, 1.01]
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(sansaBold, sansa);

    sIFR.replace(sansaBold, {
      selector: 'h1'
      ,css: [
        '.sIFR-root { text-align: left; color: #006eb6; text-transform: uppercase; letter-spacing: 1.0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #006eb6; }'
        ,'a:hover { color: #006eb6; }'
      ]
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
  
    
    sIFR.replace(sansaBold, {
      selector: 'h2'
      ,css: [
        '.sIFR-root { text-align: left; color: #69aae6; letter-spacing: 0.8 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #69aae6; }'
        ,'a:hover { color: #69aae6; }'
      ]
      ,selectable: true
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
    
    
    sIFR.replace(sansaBold, {
      selector: 'h3#fixheadline'
      ,css: [
        '.sIFR-root { text-align: left; color: #006eb6; letter-spacing: 1.0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #006eb6; }'
        ,'a:hover { color: #006eb6; }'
      ]
      ,selectable: true
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
    
    sIFR.replace(sansaBold, {
      selector: 'h3#maxiheadline'
      ,css: [
        '.sIFR-root { text-align: left; color: #006eb6; letter-spacing: 1.0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #006eb6; }'
        ,'a:hover { color: #006eb6; }'
      ]
      ,selectable: true
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
    
    sIFR.replace(sansaBold, {
      selector: 'h3#purheadline'
      ,css: [
        '.sIFR-root { text-align: left; color: #006eb6; letter-spacing: 1.0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #006eb6; }'
        ,'a:hover { color: #006eb6; }'
      ]
      ,selectable: true
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
    
     sIFR.replace(sansaBold, {
      selector: 'h3#miniheadline'
      ,css: [
        '.sIFR-root { text-align: left; color: #006eb6; letter-spacing: 1.0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #006eb6; }'
        ,'a:hover { color: #006eb6; }'
      ]
      ,selectable: true
      ,wmode: 'transparent'
      ,offsetTop: 5
    });
    
    
    sIFR.replace(sansa, {
      selector: 'h4'
      ,css: {
        '.sIFR-root': { 'display': 'block', 'letter-spacing': 1.2 }
      }
      ,selectable: true
      ,wmode: 'transparent'
    });
 
  
    sIFR.replace(sansa, {
      selector: 'h3.sidebox'
      ,css: {
        '.sIFR-root': { 'background-color': '#DCDCDC' }
      }
    });
  
    sIFR.replace(sansa, {
      selector: 'h4.subhead'
      ,css: {
        '.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' }
      }
      ,filters: {
        DropShadow: {
          knockout: true
          ,distance: 1
          ,color: '#330000'
          ,strength: 2
        }
      }
    });
