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;
  }
}


/*
sIFR.domains = ['t-boy'];
sIFR.fromLocal = true;
*/
var sifr = { src: './swf/sifr.swf' };

sIFR.activate(sifr);

// H1 - font alb
sIFR.replace(sifr, {
    selector: 'h1',
	wmode: 'transparent',
    selectable : true,
	css: [
      '.sIFR-root { font-size: normal; color: #FFFFFF; font-size: 23px; background-color: transparent; }'
    ],
	forceSingleLine: true,
	fitExactly: true
	
});

// H2 - font rosu
sIFR.replace(sifr, {
    selector: 'h2',
	wmode: 'transparent',
    selectable : true,
	
	css: [
      '.sIFR-root { color: #71001a; font-size: 24px; background-color: transparent; width: 100%; }'
    ],
	forceSingleLine: true,
	fitExactly: true
	
});

// Menu
/*
sIFR.replace(sifr, {
    selector: '#menu li',
	wmode: 'transparent',
    selectable : true,
	
	css: [
      '.sIFR-root { color: #FFFFFF; font-size: 14px; background-color: transparent; text-align: right; font-weight: normal; }',
	  '#menu li a { color: #FFFFFF; text-decoration: none; font-weight: normal; }',
	  '#menu li a:hover { color: #78aedd; text-decoration: none; font-weight: normal; }'
    ],
	forceSingleLine: true,
	fitExactly: true
	
});
*/

sIFR.replace(sifr, {
    selector: '#left-content .sifr-apply',
	wmode: 'transparent',
    selectable : true,
	
	css: [
      '.sIFR-root { color: #FFFFFF; font-size: 14px; background-color: transparent; text-align: right; font-weight: normal; }',
	  '#left-content .sifr-apply a { color: #FFFFFF; text-decoration: none; font-weight: normal; }',
	  '#left-content .sifr-apply a:hover { color: #78aedd; text-decoration: none; font-weight: normal; }'
    ]
	
});
  

  

