/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var url = document.location.toString();

if (url.search("plasma") > 0) {
	flashSrc = "/TEM801/www/flash/corbel.swf";
} else if (url.search("staging2") > 0) {
	flashSrc = "/~staging2/flash/corbel.swf";
} else if (url.search("64.140.216.200") > 0) {
	flashSrc = "http://www.teamstudio.com/new/flash/corbel.swf";
} else {
	flashSrc = "/new/flash/corbel.swf";
}

var corbel = { src: flashSrc };

sIFR.useStyleCheck = true;

sIFR.activate(corbel);

sIFR.replace(corbel, {
  selector: 'h1.subHeader',
  css: '.sIFR-root { background-color: #ffffff; color: #1d770b; text-transform: uppercase; }',
  opaque: true
});
