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 SheratonGraphExtraLight = { src: './assets/flash/SheratonGraphExtraLight.swf' };

sIFR.activate(SheratonGraphExtraLight);

sIFR.replace(SheratonGraphExtraLight, {
  selector: 'h1#sifr',
  forceSingleLine: true,
  fitExactly :true,
  offsetTop :0,
  offsetLeft : 1,
  transparent: true,
  forceWidth:true,
  tuneWidth: 1,
  css: '.sIFR-root { color: #EFEFE4;font-size:26px;}'
});


var SheratonGraphMedium = { src: './assets/flash/sifr-v3.swf' };
sIFR.activate(SheratonGraphMedium);
sIFR.replace(SheratonGraphMedium, {
    selector: 'li.sifr-menu',
    forceSingleLine: true,
    fitExactly :true,
    offsetTop :0,
    offsetLeft : 1,
    transparent: true,
    forceWidth:true,
    tuneWidth: 1,
    repaintOnResize : true,
    css: ['.sIFR-root { color: #77392A; }, a {color: #77392A;text-decoration: none;font-size:14px;}, a:hover{color: #3D8A87;}'],
    ratios: [8, 1.43, 11, 1.38, 16, 1.33, 23, 1.32, 24, 1.29, 28, 1.3, 36, 1.29, 41, 1.28, 44, 1.27, 45, 1.28, 69, 1.27, 72, 1.26, 73, 1.27, 1.26]
});

sIFR.replace(SheratonGraphExtraLight, {
	  selector: 'li.sifr-list',
	  forceSingleLine: true,
	  fitExactly :true,
	  offsetTop :0,
	  offsetLeft : 1,
	  transparent: true,
	  forceWidth:true,
	  tuneWidth: 1,
	  css: '.sIFR-root { color: #77392A;font-size:36px;font-weight:700;}'
	});