/*****************************************************************************
    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.
    *****************************************************************************/
  
    var pecita = {
      src: '/pecita.swf'
      ,ratios: [7, 1.47, 10, 1.43, 15, 1.36, 22, 1.34, 26, 1.32, 33, 1.31, 34, 1.29, 42, 1.3, 57, 1.29, 60, 1.28, 61, 1.29, 97, 1.28, 98, 1.27, 101, 1.28, 102, 1.27, 108, 1.28, 109, 1.27, 110, 1.28, 113, 1.27, 114, 1.28, 117, 1.27, 118, 1.28, 120, 1.27, 121, 1.28, 124, 1.27, 1.28]
    };
    
    var merge = {
      src: '/merge.swf'
      ,ratios: [6, 1.24, 7, 1.21, 8, 1.18, 10, 1.16, 11, 1.13, 12, 1.12, 13, 1.11, 15, 1.1, 17, 1.09, 19, 1.08, 22, 1.07, 26, 1.06, 32, 1.05, 41, 1.04, 58, 1.03, 97, 1.02, 1.01]
    };    
    

    //sIFR.debug.ratios({ src: '/pecita.swf', selector: 'h3' });
    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    //sIFR.useStyleCheck = true;
    sIFR.activate(merge,pecita);


    sIFR.replace(merge, {
      selector: 'h1'
      , wmode: 'transparent'
      ,css: [
        '.sIFR-root { text-align: left;font-weight: normal;color:#a34b3d; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #CCCCCC; }'
      ]
    });
    
    sIFR.replace(merge, {
      selector: 'h1 .bis'
      , wmode: 'transparent'
      ,css: [
        '.sIFR-root { text-align: left;font-weight: normal;color:#6f9521; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #CCCCCC; }'
      ]
    });
    
    sIFR.replace(merge, {
      selector: 'h2'
      , wmode: 'transparent'      
      ,css: [
        '.sIFR-root { text-align: left;font-weight: normal;color:#6f9521; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #04c4f5; }'
      ]
    });
    
    sIFR.replace(pecita, {
      selector: 'h3' 
      ,css: [
        '.sIFR-root { text-align: left; font-weight: normal;font-size:22px;color:#86898d;background-color:#a34b3d}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffffff; }'
        ,'a:hover { color: #04c4f5; }'
      ]
    });
    
    sIFR.replace(merge, {
      selector: 'h4'
      , wmode: 'transparent'
      , antiAliasType: 'normal'
      , pixelFont  : true
      , offsetLeft: '1px'
      ,css: [
        '.sIFR-root { text-align: left; font-weight: normal;font-size:8px;color:#6b777e;}'
        ,'a { text-decoration: underline; }'
        ,'a:link { color: #6b777e; }'
        ,'a:hover { color: #04c4f5; }'
      ]
    });
    
    sIFR.replace(merge, {
      selector: 'h5'
      , wmode: 'transparent'
      ,css: [
        '.sIFR-root { text-align: left; font-weight: normal;font-size:12px;color:#ffc801;text-transform:uppercase}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffc801; }'
        ,'a:hover { color: #04c4f5; }'
      ]
    });
    
     sIFR.replace(merge, {
      selector: 'h6'
      , wmode: 'transparent'
      ,css: [
        '.sIFR-root { text-align: left; font-weight: normal;font-size:16px;color:#04c4f5;text-transform:uppercase}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #04c4f5; }'
        ,'a:hover { color: #ffc801; }'
      ]
    });
    
    sIFR.replace(merge, {
      selector: 'h7'
      , wmode: 'transparent'
      ,css: [
        '.sIFR-root { text-align: left; font-weight: normal;font-size:13px;color:#ffc801;text-transform:uppercase}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #04c4f5; }'
        ,'a:hover { color: #ffc801; }'
      ]
    });
    
