var chalet = { src: '/wp-content/themes/bentley/flash/chalet.swf' };

var modifier = 2;
var browser=navigator.appName;
if(browser == "Microsoft Internet Explorer"){ modifier = 0; }else{ modifier = 2; }

sIFR.useStyleCheck = true;

sIFR.activate(chalet);

sIFR.doReplacement = function(){

sIFR.replace(chalet, {
  selector: 'h1.black',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h1.alt',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #B3A179;}',
  wmode:'transparent'
});

sIFR.replace(chalet, {
  selector: 'h2.black',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h2.white',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #FFFFFF;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h2.alt',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: ['.sIFR-root { color: #B3A179;}',
		'span.offset { margin-left: 60;}'
		],
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h3.black',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h3.white',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #FFFFFF;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h3.alt',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #B3A179;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h4.black',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h4.white',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #FFFFFF;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'h4.alt',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #B3A179;}',
  wmode:'transparent',
  tuneHeight: -5
});

sIFR.replace(chalet, {
  selector: 'label.sifr',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent',
  offsetTop : 3
});

sIFR.replace(chalet, {
  selector: 'label.sifrWhite',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #FFFFFF;}',
  wmode:'transparent',
  offsetTop : 3
});

sIFR.replace(chalet, {
  selector: 'p.futuraParagraph.black',
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 17, 1.24, 18, 1.25, 28, 1.23, 34, 1.22, 41, 1.21, 53, 1.2, 57, 1.19, 58, 1.2, 96, 1.19, 98, 1.18, 99, 1.19, 104, 1.18, 105, 1.19, 1.18],
  css: '.sIFR-root { color: #292929;}',
  wmode:'transparent'
});

}
sIFR.doReplacement();



