/*************************************************************
Specifically Don't Replace Certain Text
 sIFR.replace(cochin, {selector: "h1, div:not(.example) h2"});
- in real words that means: 
Every h2 that is in a div that does not have the class "example" should be replaced, 
i.e. h2s in divs with that class should not be replaced but shown as plain default text.
**************************************************************/
parseSelector.pseudoClasses = {
  'not': function(nodes, selector) {
    var result = [];
    each: for(var i = 0, node; i < nodes.length; i++) {
      node = nodes[i];
      var ignore = parseSelector(selector, node.parentNode);
      for(var j = 0; j < ignore.length; j++) {
        if(ignore[j] == node) continue each;
      }
      result.push(node);
    }
    return result;
  }
}
// JavaScript Document
 /*****************************************************************************
    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 BauhausMedium = {
		  src: 'js/sifr3-r436/font/BauhausMedium.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 CenturyGothic = { src: 'js/sifr3-r436/font/CenturyGothic.swf'};

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(CenturyGothic);
    //sIFR.activate(helveticaNeue, OmniBlack, OmniBook,helveticaInserat,helveticaNeueExt,helveticaNeueLightExt);

	 sIFR.replace(CenturyGothic, {
      selector: '#blocQualite h2, #blocRecherche h2, #blocFaq h2'
      ,css: [
        '.sIFR-root{ color: #FFFFFF; font-style: normal; font-weight: bold; text-transform:uppercase;}'
        ,'a { text-decoration: none; color: #FFFFFF;}'
        ,'a:link { color: #FFFFFF; }'
        ,'a:hover { color: #FFFFFF; }'
      ], wmode:"transparent"
    });

	sIFR.replace(CenturyGothic, {
      selector: '#blocUneQuestion h2'
      ,css: [
        '.sIFR-root{ color: #FF8D00; font-style: normal; font-weight: bold;}'
        ,'a { text-decoration: none; color: #000000;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000; }'
      ], wmode:"transparent"
    });
 


	sIFR.replace(CenturyGothic, {
      selector: '#formulaireDevis h2'
      ,css: [
        '.sIFR-root{ color: #FF8D00; font-style: normal; font-weight: bold;}'
        ,'a { text-decoration: none; color: #000000;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000; }'
      ], wmode:"transparent"
    });


	sIFR.replace(CenturyGothic, {
      selector: 'h6'
      ,css: [
        '.sIFR-root{ font-style: normal; font-weight: normal; text-align:right;}'
        ,'a { text-decoration: none; color: #000000;}'
        ,'a:link { color: #000000; }'
        ,'a:hover { color: #000000; }'
      ], wmode:"transparent"
    });
	
	
	/*
	sIFR.replace(CenturyGothic, {
      selector: '.nom'
      ,css: [
        '.sIFR-root{ font-style: normal; font-weight: bold; color: #FF8D00;}'
        ,'a { text-decoration: none; color: #FF8D00;}'
        ,'a:link { color: #FF8D00; }'
        ,'a:hover { color: #FF8D00; }'
      ], wmode:"transparent"
    });*/
	
	sIFR.replace(CenturyGothic, {
      selector: '.attributProduit h1'
      ,css: [
        '.sIFR-root{ font-style: normal; font-weight: bold; color: #FF8D00; text-align:right;}'
        ,'a { text-decoration: none; color: #FF8D00;}'
        ,'a:link { color: #FF8D00; }'
        ,'a:hover { color: #FF8D00; }'
      ], wmode:"transparent"
    });

	
	
	sIFR.replace(CenturyGothic, {
      selector: '.filAriane h1'
      ,css: [
        '.sIFR-root{ font-size: 16px; font-style: normal; font-weight: normal; color: #000000;}'
        ,'a { text-decoration: none; color: #FF8D00;}'
        ,'a:link { color: #FF8D00; }'
        ,'a:hover { color: #FF8D00; }'
      ], wmode:"transparent"
    });
	
		
	sIFR.replace(CenturyGothic, {
      selector: '#listeProduit h1'
      ,css: [
        '.sIFR-root{ font-size: 16px; font-style: normal; font-weight: normal; color: #000000;}'
        ,'a { text-decoration: none; color: #FF8D00;}'
        ,'a:link { color: #FF8D00; }'
        ,'a:hover { color: #FF8D00; }'
      ], wmode:"transparent"
    });
	
	
	sIFR.replace(CenturyGothic, {
      selector: '.ficherStatique h1'
      ,css: [
        '.sIFR-root{ font-size: 16px; font-style: normal; font-weight: normal; color: #FF8D00;}'
        ,'a { text-decoration: none; color: #FF8D00;}'
        ,'a:link { color: #FF8D00; }'
        ,'a:hover { color: #FF8D00; }'
      ], wmode:"transparent"
    });
	
	
		sIFR.replace(CenturyGothic, {
      selector: '#blocAide h2'
      ,css: [
        '.sIFR-root{ font-size: 16px; font-style: normal; font-weight: bold; cursor:pointer; color: #FFFFFF; text-transform:uppercase;}'
        ,'a { text-decoration: none; color: #FFFFFF;}'
        ,'a:link { color: #FFFFFF; }'
        ,'a:hover { color: #FFFFFF; }'
      ], wmode:"transparent"
    });
