/*****************************************************************************
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 gotham = {
  src: '/sIFR/gotham.swf'
};

sIFR.activate(gotham);

sIFR.replace(gotham, {
  selector: '#home-intro h3',
  css: [ '.sIFR-root {font-size: 24; letter-spacing: -1; color: #31578a; display: block; text-align: center; }' ],
  wmode: 'transparent',
  offsetTop: '2'
});

sIFR.replace(gotham, {
  selector: '#movie h2',
  css: [ '.sIFR-root {font-size: 20; letter-spacing: -1; color: #31578a; display: block; }' ],
  wmode: 'transparent',
  offsetTop: '2'
});

sIFR.replace(gotham, {
  selector: '#home-blocks h1',
  css: [ '.sIFR-root {font-size: 15; letter-spacing: -1; color: #31578a; display: block; }','a { color: #31578a; }', 'a:hover { color: #31578a; }' ],
  wmode: 'transparent',
  offsetTop: '2'
});


sIFR.replace(gotham, {
  selector: '#sidebar h1',
  css: [ '.sIFR-root {font-size: 11; font-weight: normal; color: #ffffff; display: block; text-transform: uppercase; letter-spacing: 1; }' ],
  wmode: 'transparent',
  offsetTop: '3'
});

sIFR.replace(gotham, {
  selector: '.page-intro h1, #default h1, #cart-container h1',
  css: [ '.sIFR-root {font-size: 21; font-weight: normal; color: #46444f; display: block; }' ],
  wmode: 'transparent',
  offsetTop: '3'
});

sIFR.replace(gotham, {
  selector: '.prod-desc h3',
  css: [ '.sIFR-root {font-size: 16; font-weight: normal; color: #46444f; display: block; }' ],
  wmode: 'transparent',
  offsetTop: '3'
});

sIFR.replace(gotham, {
  selector: '.level h1, #default h2, #cart-container h2',
  css: [ '.sIFR-root {font-size: 14; letter-spacing: 3; text-transform: uppercase; font-weight: normal; color: #ffffff; display: block; }', 'strong { color: #8fb5ea; font-weight: normal; font-size: 17; }', 'a { color: #80ace9; text-decoration: none; }', 'a:hover { color: #72a0e1; text-decoration: underline; }' ],
  wmode: 'transparent',
  offsetTop: '2'
});

sIFR.replace(gotham, {
  selector: '.img-title h3',
  css: [ '.sIFR-root {font-size: 24; color: #2b2b2b; display: block; height: 38px; width: 400px;  letter-spacing: -1; }','strong { color: #cf1a22; font-weight: normal;}' ],
  wmode: 'transparent',
  offsetTop: '3' 
});

sIFR.replace(gotham, {
  selector: '.img-title-small h3',
  css: [ '.sIFR-root {font-size: 22; color: #2b2b2b; display: block; height: 38px; width: 200px; letter-spacing: -1; }','strong { color: #cf1a22; font-weight: normal;}' ],
  wmode: 'transparent'
});

sIFR.replace(gotham, {
  selector: 'th#view-grandtotal',
  css: [ '.sIFR-root {font-size: 24; color: #ffffff; display: block; height: 38px; width: 400px; letter-spacing: -1; }' ],
  wmode: 'transparent',
  offsetTop: '3' 
});

sIFR.replace(gotham, {
  selector: 'span.price',
  css: [ '.sIFR-root {font-size: 21; color: #4a75b0; display: block; letter-spacing: 0; }','small {font-size: 13px;}' ],
  wmode: 'transparent',
  offsetTop: '6' 
});

sIFR.replace(gotham, {
  selector: '.grid-price',
  css: [ '.sIFR-root {font-size: 18; color: #355b90; letter-spacing: 0; }', 'small { font-size: 12; }' ],
  wmode: 'transparent'
});

sIFR.replace(gotham, {
  selector: '.contactform-right h4, .contactform-left h4',
  css: [ '.sIFR-root {font-size: 18; color: #201f24; letter-spacing: 0; }', 'small { font-size: 12; }' ],
  wmode: 'transparent',
  offsetTop: '4' 
});

sIFR.replace(gotham, {
  selector: '.contactform-right h5',
  css: [ '.sIFR-root {font-size: 24; color: #2c578f; letter-spacing: -1; }', 'small { font-size: 12; }' ],
  wmode: 'transparent',
  offsetTop: '4' 
});

sIFR.replace(gotham, {
  selector: '.associated h4',
  css: [ '.sIFR-root {font-size: 15; color: #2c2b33; }' ],
  wmode: 'transparent',
  offsetTop: '4' 
});
