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 donnyshand = {
  src: '/Flash/donnyshand.swf'
};

var houschka = {
  src: '/Flash/houschka.swf'
};

sIFR.activate(donnyshand); // From revision 209 and onwards
sIFR.activate(houschka); // From revision 209 and onwards



sIFR.replace(donnyshand, {
    selector: 'h2.CompetitionTitle:not(.sifr-none)',
	css: '.sIFR-root {color: #FFFFFF; font-size:35px; font-weight:bold;} .sIFR-root strong {color:#FFFFFF; font-size:100px; font-weight:bold;}',
	wmode: 'transparent'
  });

sIFR.replace(donnyshand, {
    selector: 'h1.jbheadtext:not(.sifr-none)',
	css: '.sIFR-root {color: #7bafdf; font-size:35px; font-weight:bold;} .sIFR-root strong {color:#7bafdf;font-size:110px; font-weight:bold;}',
	wmode: 'transparent'
  });

sIFR.replace(donnyshand, {
    selector: '.sifr-categoryname:not(.sifr-none)',
    css: '.sIFR-root {font-style: normal; color: #267835; font-size:24px; font-weight:bold; margin:0px; padding:0px;} .sIFR-root strong {color:#ffffff;font-size:110px; font-weight:bold;} .sIFR-root p {color:#7fc41b;font-size:110px; font-weight:bold;} .sIFR-root a {color:#267835; text-decoration:none;} .sIFR-root a:hover {color:#267835;}',
    wmode: 'transparent'
});

sIFR.replace(donnyshand, {
    selector: 'h1:not(.sifr-none)',
	css: '.sIFR-root {color: #267835; font-size:40px; font-weight:bold;} .sIFR-root strong {color:#7fc41b;font-size:110px; font-weight:bold;}',
	wmode: 'transparent'
  });
  
sIFR.replace(donnyshand, {
    selector: '.sifr-shopheader:not(.sifr-none)',
	css: '.sIFR-root {color: #267835; font-size:40px; font-weight:bold;} .sIFR-root strong {color:#7fc41b;font-size:110px; font-weight:bold;}',
	wmode: 'transparent'
});

sIFR.replace(donnyshand, {
    selector: '.orange:not(.sifr-none)',
	css: '.sIFR-root {font-style: normal; color: #facf4b; font-size:24px; font-weight:bold; margin:0px; padding:0px; display: inline;} .sIFR-root strong {color:#ffffff;font-size:110px; font-weight:bold;} .sIFR-root p {color:#7fc41b;font-size:110px; font-weight:bold;} .sIFR-root a {color:#267835; text-decoration:none;} .sIFR-root a:hover {color:#267835;}',
	wmode: 'transparent'
  });
  
sIFR.replace(donnyshand, {
    selector: 'h2:not(.sifr-none)',
	css: '.sIFR-root {font-style: normal; color: #267835; font-size:24px; font-weight:bold; margin:0px; padding:0px;} .sIFR-root strong {color:#ffffff;font-size:110px; font-weight:bold;} .sIFR-root p {color:#7fc41b;font-size:110px; font-weight:bold;} .sIFR-root a {color:#267835; text-decoration:none;} .sIFR-root a:hover {color:#267835;}',
	wmode: 'transparent'
});

sIFR.replace(donnyshand, {
    selector: 'h3:not(.sifr-none)',
    css: '.sIFR-root {color: #ffffff; font-size:18px;} .sIFR-root a {color: #ffffff; text-decoration:none;} .sIFR-root a:hover {color:#ffffff;} .sIFR-root strong {color:#267835;font-size:110px; font-weight:bold;}',
    wmode: 'transparent'
});

sIFR.replace(donnyshand, {
    selector: 'h4.smaller:not(.sifr-none)',
    css: '.sIFR-root {color: #ffffff; font-size:16px; } .sIFR-root a {color: #ffffff; text-decoration:none;} .sIFR-root a:hover {color:#ffffff;} .sIFR-root strong {color:#267835;font-size:110px; font-weight:bold;}',
    wmode: 'transparent',
    offsetTop: -3
});
  
sIFR.replace(houschka, {
    selector: 'h5:not(.sifr-none)',
	css: '.sIFR-root {color: #ffffff; font-size:12px;} .sIFR-root a {color: #ffffff; text-decoration:none;} .sIFR-root a:hover {color:#ffffff;}',
	wmode: 'transparent'
  });
