/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/
/*
  var is_chrome = false;
  
  if (navigator.userAgent.toLowerCase().indexOf('chrome') != -1) {
    is_chrome = true;
  }

  // do not apply sifr for chrome
  if (!is_chrome) {
    var PFBeuSans = { src: '/sites/all/themes/thebrits/media/flash/PFBeuSans.swf' };
    sIFR.activate(PFBeuSans);
    
    sIFR.replace(PFBeuSans, {
      selector: 'h1',
      css: '.sIFR-root { color: #2d2d35; letter-spacing: -1; }',
      wmode: 'transparent'
    });
    
    sIFR.replace(PFBeuSans, {
      selector: 'div.vault-content h2',
      css: '.sIFR-root { color: #ffffff; letter-spacing: -1; }',
      forceSingleLine: 'true',
      wmode: 'transparent'
    });
    
      sIFR.replace(PFBeuSans, {
        selector: 'h2.add-link',
        css: '.sIFR-root { color: #2d2d35; letter-spacing: -1; }',
        wmode: 'transparent'
      });
    
    sIFR.replace(PFBeuSans, {
      selector: 'div.block-head h2',
      css: '.sIFR-root { color: #2d2d35; letter-spacing: -0.5; }',
      forceSingleLine: true,
      wmode: 'transparent'
    });
    
    sIFR.replace(PFBeuSans, {
      selector: '#right-col h2',
      css: '.sIFR-root { color: #2d2d35; letter-spacing: -1; }',
      forceSingleLine: 'true',
      wmode: 'transparent'
    });
    
    sIFR.replace(PFBeuSans, {
      selector: 'p.footer-head',
      css: '.sIFR-root { color: #2d2d35; letter-spacing: -1; }',
      forceSingleLine: 'true'
    });
  }
*/
