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;
  }
}

var helvetica = {
      src: '/colourcentre/flash/helvetica3.swf'
};


var arial = {
      src: '/colourcentre/flash/arial3.swf'
};
 
sIFR.activate(helvetica);

sIFR.activate(arial);
 /*
sIFR.replace(helvetica, {
      selector: 'ul.nav>li>a>div',
      css: [
      '.sIFR-root { font-size:12px; font-weight:bold; color:#FFFFFF;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
     selectable: 'false',
    	//ul#my-menu>li>span
      tuneHeight: '-7',
      offsetTop: '-2'
}); 
*/

sIFR.replace(helvetica, {
      selector: 'h1.home',
      css: [
      '.sIFR-root { font-size:26px; font-weight:bold; color:#000000;text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-12',
      offsetTop: '-4'	
     
}); 

sIFR.replace(helvetica, {
      selector: 'h2.home',
      css: [
      '.sIFR-root { font-size:26px; font-weight:bold; color:#FF6633; text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-12',
      offsetTop: '-4'
     
});

sIFR.replace(helvetica, {
      selector: 'h1.sifr',
      css: [
      '.sIFR-root { font-size:21px; font-weight:bold; color:#000000;text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-10',
      offsetTop: '-4'	
     
}); 


sIFR.replace(helvetica, {
      selector: 'div.result-wrap>h1',
      css: [
      '.sIFR-root { font-size:15px; font-weight:normal; color:#404040;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-10',
      offsetTop: '-4',
     	ratios:[8,1.3,12,1.27,16,1.21,19,1.17,24,1.18,26,1.16,27,1.17,35,1.16,44,1.15,63,1.14,64,1.13,67,1.14,68,1.13,70,1.14,76,1.13,77,1.14,1.13]
}); 

sIFR.replace(helvetica, {
      selector: 'h1',
      css: [
      '.sIFR-root { font-size:21px; font-weight:bold; color:#000000;text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-10',
      offsetTop: '-4'	
     
}); 

sIFR.replace(helvetica, {
      selector: 'h2.sifr',
      css: [
      '.sIFR-root { font-size:21px; font-weight:bold; color:#FF6633; text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true',
    	tuneHeight: '-10',
      offsetTop: '-4'
     
});


sIFR.replace(helvetica, {
      selector: 'h3.sifr',
      css: [
      '.sIFR-root { font-size:11px; font-weight:bold; color:#959D9D; text-transform:uppercase;}'
      ],
      wmode: 'transparent',
     fitExactly: 'true'
    	
     
});


 sIFR.replace(helvetica, {
      selector: 'h4.sifr, h5.sifr',
      css: [
      '.sIFR-root { font-size:13px; font-weight:bold; color:#FF6633; }'
      ],
      wmode: 'transparent',
     fitExactly: 'true'
    	
     
});


 sIFR.replace(arial, {
      selector: 'div.featurebox h6.sifr',
      css: [
      '.sIFR-root { font-size:10px; font-weight:bold; color:#FFFFFF; text-transform:uppercase; background-color: #acacac;}'
      ],
      wmode: 'opaque',
     fitExactly: 'true'
    	
     
});



 sIFR.replace(arial, {
      selector: 'div#breadcrumb-wrap',
      css: [
      '.sIFR-root { font-size:12px; font-weight:bold; color: #999999; text-transform:lowercase;}',
      'a {color: #999999; text-decoration: none;}',
      'a:hover {color: #000000;}',
      'p { color: #333333; }'
      ],
      wmode: 'transparent',
    	tuneWidth: '8',
    	fitExactly: 'true'
    
     
});
