var aargh = { src: '/swf/aargh.swf' };
var boomeran = { src: '/swf/boomeran.swf' };
var quorum = { src: '/swf/quorum.swf' };

// sIFR.useStyleCheck = true;

sIFR.activate(aargh, boomeran, quorum);

// The first argument to `sIFR.replace` is the `futura` object we created earlier.
// The second argument is another object, on which you can specify a number of
// parameters or "keyword arguemnts". For the full list, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// 
// 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>.

//home page WELCOME text
sIFR.replace(boomeran, {
  selector: '.homeintro h1',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:55px; background-color:transparent;}'
});

//home page Pet of the Week feature box header, also inner page section header (left column)
sIFR.replace(quorum, {
  selector: '.promo-heading h3 span',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:15px; color:#ffffff; background-color:transparent;}'
});

//home page Pet of the Week feature box animal's name
sIFR.replace(quorum, {
  selector: '.name-box h4',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:16px; color:#000000; background-color:transparent;}'
});

//home page content area, column 1
sIFR.replace(quorum, {
  selector: '.column-01 h2',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:15px; color:#ffffff; text-transform:uppercase; background-color:transparent;}'
});

//home page content area, column 2
sIFR.replace(quorum, {
  selector: '.column-02 h2',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:15px; color:#ffffff; text-transform:uppercase; background-color:transparent;}'
});

//inner page title
sIFR.replace(boomeran, {
  selector: '.inform-bar h1',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root {margin-left:0px; font-size:50px; color:#000000; background-color:transparent;}'
});

//inner page Click Here to see all Adoptable Pets bottom button
sIFR.replace(quorum, {
  selector: '.btn span',
  wmode: 'transparent',
  transparent: true,
  css: '.sIFR-root, .sIFR-root a {margin-left:0px; font-size:22spx; color:#000000; background-color:transparent; text-decoration:none;}  .sIFR-root a:hover {color:#000099; text-decoration:underline;}'
});

