var swiss = {
  src: '/assets/swf/swiss.swf',
  ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 46, 1.23, 67, 1.22, 70, 1.21, 71, 1.22, 75, 1.21, 76, 1.22, 80, 1.21, 81, 1.22, 1.21]
};

sIFR.useStyleCheck = true;
sIFR.activate(swiss);

// The first argument you see here is `selector`, which is a normal CSS selector.
// That means you can also do things like '#content h1' or 'h1.title'.
//
// The second argument determines what the Flash text looks like. The main text
// is styled via the `.sIFR-root` class. Here we've specified `background-color`
// of the entire Flash movie to be a light grey, and the `color` of the text to
// be red. Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.

/*
sIFR.debug.ratios(swiss, {
  selector: 'h2.homeHeading',
  css: '.sIFR-root { font-weight: bold; letter-spacing: 1; }'
});
*/

sIFR.replace(swiss, {
  selector: 'h2.homeHeading, h1.homeHeading',
  css: '.sIFR-root { font-weight: bold; letter-spacing: 1; }',
  wmode: 'transparent',
  thickness: '-50',
  tuneHeight: -5
});

sIFR.replace(swiss, {
  selector: 'h1.mainHeading',
  css: {
  	'.sIFR-root': { 'font-weight': 'bold', 'letter-spacing': '1' },
  	'.sold': { 'color': '#E01212' },
  },
  wmode: 'transparent',
  thickness: '-50',
  tuneHeight: -5
});

sIFR.replace(swiss, {
  selector: 'h1.homeSubheading, h2.subHeading',
  css: '.sIFR-root { letter-spacing: 1; }',
  wmode: 'transparent'
});