/*****************************************************************************
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.
*****************************************************************************/


// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

// Next, activate sIFR:

var sauna = { src: '/themes/anchor/flash/Sauna.swf', wmode: 'transparent' };
var xenophone = { src: '/themes/anchor/flash/Xenophone.swf', wmode: 'transparent' };

sIFR.activate(sauna, xenophone);

/* ---------------------------------------
DEFINED MULTIPLE TIMES FOR THE DIFFERENT COLORS
----------------------------------------*/

/* homepage */
sIFR.replace(sauna, {
      selector: '#b_Home #content h2',
	  css: {
        '.sIFR-root': { 'color': '#05538b', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Home #content h3',
	  css: {
        '.sIFR-root': { 'color': '#008ac9', 'leading':'0' }
      },
	  blendMode: 'multiply'
});

/* Page not found */
sIFR.replace(sauna, {
      selector: '#b_Page_not_found #content h2',
	  css: {
        '.sIFR-root': { 'color': '#05538b', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Page_not_found #content h3',
	  css: {
        '.sIFR-root': { 'color': '#008ac9', 'leading':'0' }
      },
	  blendMode: 'multiply'
});



/* products page */
sIFR.replace(sauna, {
      selector: '#b_Products #content h2',
	  css: {
        '.sIFR-root': { 'color': '#0098d4', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Products #content h3',
	  css: {
        '.sIFR-root': { 'color': '#64c6e4', 'leading':'0' }
      },
	  blendMode: 'multiply'
});

/*
/* product colors /
sIFR.replace(xenophone, { selector: 'li.blue h4', css: {'.sIFR-root': { 'color': '#034d8e', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.lite h4', css: {'.sIFR-root': { 'color': '#12b2e8', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.trim h4', css: {'.sIFR-root': { 'color': '#009b48', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.supertrim h4', css: {'.sIFR-root': { 'color': '#8dd44e', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.calciplus h4', css: {'.sIFR-root': { 'color': '#e4a32a', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.mega h4', css: {'.sIFR-root': { 'color': '#e94d55', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.superblue h4', css: {'.sIFR-root': { 'color': '#034d8e', 'leading':'0' }},blendMode: 'multiply',});
sIFR.replace(xenophone, { selector: 'li.cream h4', css: {'.sIFR-root': { 'color': '#da1e33', 'leading':'0' }},blendMode: 'multiply',});
*/

/* campaign page */
sIFR.replace(sauna, {
      selector: '#b_Campaign #content h2',
	  css: {
        '.sIFR-root': { 'color': '#007945', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Campaign #content h3',
	  css: {
        '.sIFR-root': { 'color': '#aad076', 'leading':'0' }
      },
	  blendMode: 'multiply'
});


/* community page */
sIFR.replace(sauna, {
      selector: '#b_Community #content h2',
	  css: {
        '.sIFR-root': { 'color': '#58ac25', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Community #content h3',
	  css: {
        '.sIFR-root': { 'color': '#aad076', 'leading':'0' }
      },
	  blendMode: 'multiply'
});



/* contact page */
sIFR.replace(sauna, {
      selector: '#b_Contact #content h2',
	  css: {
        '.sIFR-root': { 'color': '#fdb500', 'leading':'0', 'font-weight':'bold' }
      },
	  blendMode: 'multiply'
});
sIFR.replace(sauna, {
      selector: '#b_Contact #content h3',
	  css: {
        '.sIFR-root': { 'color': '#ffd716', 'leading':'0' }
      },
	  blendMode: 'multiply'
});
