/*****************************************************************************
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 Giza = { src: '/inc/swf/Giza.swf' };
sIFR.activate(Giza);

/*

REMEMBER
* to invert the cascade!
* 6 digits for all hexi values

*/

/* ------------------------------------------------------
   H1                                                  */

sIFR.replace(Giza, {
  selector: 'h1',
  css: [
    '.sIFR-root {color:#F1EEE4;}',
    'a {text-decoration: none; color: #B0D3DD; }',
    'a:hover {color: #6BB3CD; }'
  ],
  wmode: 'transparent'
});


/* ------------------------------------------------------
   H2                                                  */



sIFR.replace(Giza, {
  selector: 'body.default #subscribeform h2',
  css: [
    '.sIFR-root {color:#d4281c; text-transform: uppercase;}',
    'a {text-decoration: none; color: #d4281c; }',
    'a:hover {color: #444444;}'
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.default #news .boxout h2',
  css: [
    '.sIFR-root {color:#aaaaaa; text-transform: uppercase;}',
    'a {text-decoration: none; color: #EBE8D9; }',
    'a:hover {color: #ffffff;}'
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.default #news .boxout p',
  css: [
    '.sIFR-root {color:#aaaaaa; text-transform: uppercase;cursor:pointer;}',
    'a {text-decoration: none; color: #EBE8D9;}',
    'a:hover {color: #ffffff;}',
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.default #secondary .RSS h2',
  css: [
    '.sIFR-root {color:#3c3d42; text-transform: uppercase;}',
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.default #secondary #elsewhere h2',
  css: [
    '.sIFR-root {color:#ffffff; text-transform: uppercase;}',
  ],
  wmode: 'transparent'
});

sIFR.replace(Giza, {
  selector: 'h2',
  css: [
    '.sIFR-root {color:#4e4d53; text-transform: uppercase;}',
    'a {text-decoration: none; color: #4e4d53; }',
    'a:hover {color: #333333;}'
  ],
  wmode: 'transparent'
});


/* ------------------------------------------------------
   H3                                                  */

sIFR.replace(Giza, {
  selector: 'body.subscribe #podcasts h3',
  css: [
    '.sIFR-root {color:#F1EEE4; }',
  ],
  wmode: 'transparent'
});

sIFR.replace(Giza, {
  selector: 'body.audio #secondary .boxout h3',
  css: [
    '.sIFR-root {color:#444444; text-transform: uppercase;}',
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.default #secondary #downloads h3, body.audio #secondary .boxout h3, body.releases #secondary h3, body.artists #secondary h3, body.gigs #secondary h3, body.video h3, body.video-archive h3, body.links h3, body.search h3',
  css: [
    '.sIFR-root {color:#4E4D53; }',
    'a {text-decoration: none; color: #96830b;}',
    'a:hover {color: #4E4D53;}'
  ],
  wmode: 'transparent'
});
sIFR.replace(Giza, {
  selector: 'body.search h3, body.artists #submenu h3, body.news #submenu h3, body.news-archive #submenu h3, body.releases #submenu h3, #bottom h3, .gigsHome #primary h3, .gigs #submenu h3, body.audio.article h3, body.video.article h3, body.about h3, body.links h3, body.subscribe h3 ',
  css: [
    '.sIFR-root {color:#4e4d53; }',
    'a {text-decoration: none; color: #4e4d53;}',
    'a:hover {color: #333333;}'
  ],
  wmode: 'transparent'
});


