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 swissBT = {
    src: '/sifr/swissBT.swf',
    //src: '/new/sifr/swissBT.swf',
	wmode:'transparent'
};

sIFR.activate(swissBT);
//sIFR.debug.ratios({ src: '/sifr/swissBT.swf', selector: '#siteCategories li a strong' });

sIFR.replace(swissBT, {
    selector: '#siteCategories li a strong',
    css: {
        '.sIFR-root': {
			'display': 'block',
			'height': '43px',
			'font-size' : '18px',
			'text-transform': 'uppercase',
			'color': '#ffffff'
        }
    },
    filters: {
        DropShadow: {
            knockout: false,
            distance: 2,
            color: '#000000',
            strength: .6
        }
    },
	onRelease: function(fi){
		window.location.href = fi.getAncestor().parentNode.href;
	},
	forceSingleLine : true,
	offsetTop : 8,
	tuneWidth : 10
});

sIFR.replace(swissBT, {
    selector: '#leftSide dt:not(.exclude) a',
    css: {
        '.sIFR-root': {
			'display': 'block',
			'font-size' : '18px',
			'text-transform': 'uppercase',
			'color': '#2b2b2b'
        }
    },
	onRelease: function(fi){
		window.location.href = fi.getAncestor().href;
	},
	forceSingleLine : true,
	offsetTop : 15,
	tuneHeight: 10
});

/*
sIFR.replace(swissBT, {
    selector: '#leftSide ul li a',
    css: {
        '.sIFR-root': {
			'display': 'block',
			'font-size' : '14px',
			'color': '#3e3e3e'
        },
        'strong': {
			'color': '#e3a400'
        }
    },
	onRelease: function(fi){
		window.location.href = fi.getAncestor().href;
	},
	offsetTop : 3
});
*/

sIFR.replace(swissBT, {
    selector: 'h2:not(.reviews), h2.reviews b',
    css: {
        '.sIFR-root': {
			'font-size' : '24px',
			'color': '#2b2b2b'
        },
        'strong': {
			'font-weight': 'normal',
			'color': '#e3a400'
        },
        'cite': {
			'display': 'inline',
			'font-weight': 'normal',
			'font-style': 'normal',
			'color': '#d0cfc6'
        },
        'em': {
			'font-style': 'normal',
			'color': '#edd598'
        },
        'a': {
			'text-decoration': 'none',
			'color': '#e3a400'
        },
        'a:hover': {
			'text-decoration': 'underline',
			'color': '#e3a400'
        }
    },
	forceSingleLine : true,
	offsetTop : 10,
	tuneHeight: 10
});

sIFR.replace(swissBT, {
    selector: '.product h3',
    css: {
        '.sIFR-root': {
			'font-size' : '18px',
			'font-weight': 'normal',
			'color': '#2b2b2b'
        },
        'strong': {
			'display': 'block',
			'font-size' : '24px'
        },
        'a': {
			'text-decoration': 'none',
			'color': '#e3a400'
        },
        'a:hover': {
			'text-decoration': 'underline',
			'color': '#e3a400'
        }
    },
	forceSingleLine : true,
	offsetTop : 10,
	tuneHeight: 10
});

sIFR.replace(swissBT, {
    selector: '#prodHeading strong',
    css: {
        '.sIFR-root': {
			'font-size' : '36px',
			'font-weight': 'normal',
			'color': '#E3A400'
        }
    },
	forceSingleLine : true
});
