/*****************************************************************************
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 bliss	= { src: 'http://resources-ms-ak.visualdna.com/www.adzappa.com/live/20100702112722/sifr/bliss.swf' },
blissbold	= { src: 'http://resources-ms-ak.visualdna.com/www.adzappa.com/live/20100702112722/sifr/blissbold.swf' },
coheadline	= { src: 'http://resources-ms-ak.visualdna.com/www.adzappa.com/live/20100702112722/sifr/coheadline.swf' };

sIFR.activate(bliss);
sIFR.activate(blissbold);
sIFR.activate(coheadline);


sIFR.replace(blissbold, {
  selector: '#homepage h2',
  css: '.sIFR-root { color: #333333; font-size: 34px; }'
});


sIFR.replace(blissbold, {
  selector: '#homepage h4 strong',
  css: '.sIFR-root { color: #1266a2; font-size: 22px; line-height: 3em; }',
  wmode: 'transparent'
});


/* nav items disappear in Safari and Chrome; artefacts appear in Firefox */

/*
sIFR.replace(coheadline, {
  selector: '#nav li span',
  css: [
  		'.sIFR-root { color: #666; text-transform: uppercase; font-size: .75em; cursor: pointer; text-align: center; }',
	  	'a { color: #666; text-decoration: none; }',
  		'a:hover { color: #46b2ff; }'
  	]
});

sIFR.replace(coheadline, {
  selector: '#nav li.active',
  css: [
	  	'.sIFR-root { text-transform: uppercase; font-size: .75em; cursor: pointer; text-align: center;  }',
  		'a { color: #46b2ff; text-decoration: none; }',
	  	'a:hover { color: #46b2ff; }'
  	]
});

*/

sIFR.replace(bliss, {
  selector: '#homepage h3',
  css: '.sIFR-root { color: #ffffff; font-size: 1.25em; }',
  wmode: 'transparent'
});


sIFR.replace(blissbold, {
  selector: '#results #profile-tags h2',
  css: '.sIFR-root { color: #00aeef; font-size: 1.375em; margin-bottom: 15px; margin-left: 0; margin-top: 0; }',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '#results h2',
  css: '.sIFR-root { color: #00aeef; font-size: 1.375em; }',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '#results #profile-tags p.congrat',
  css: '.sIFR-root { font-size: 1.1em; font-weight: normal; color: #333333; line-height: 1.6em; margin: 16px 0 10px 0; }',
  wmode: 'transparent'
});


/* <how-things-work> */

sIFR.replace(blissbold, {
  selector: '.how-things-work .blue-box h3',
  css: '.sIFR-root { color: #ffffff; font-size: 1.75em;}',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '.how-things-work h3 span',
  css: '.sIFR-root { display: block; }',
  wmode: 'transparent'
});


sIFR.replace(blissbold, {
  selector: '.how-things-work h4 strong',
  css: '.sIFR-root { color: #ffffff; font-size: 1.25em; line-height: 3em; }',
  wmode: 'transparent'
});


/* does not work properly with IE - not possible to click on tabs */
/*
sIFR.replace(blissbold, {
  selector: '.how-things-work h2',
  css: '.sIFR-root { color: #ffffff; font-size: 16px; text-transform: uppercase;  text-align: center; }',
  wmode: 'transparent'
});
*/

sIFR.replace(blissbold, {
  selector: '.how-things-work #head4',
  css: '.sIFR-root { color: #ffffff; font-size: 18px; }',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '.how-things-work ol.current-system li span',
  css: '.sIFR-root { width: 180px; color: #ffffff; font-size: 1.125em; display: block; }',
  wmode: 'transparent'
});

/* </how-things-work> */

/* <what-we-learn> */

sIFR.replace(blissbold, {
  selector: '#what-we-learn h2',
  css: '.sIFR-root { font-size: 1.5em; font-weight: normal; color: #333333; margin-bottom: 10px; }',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '#what-we-learn h3',
  css: '.sIFR-root { font-size: 1.25em; font-weight: normal; color: #00a7e9; margin-bottom: 6px; }',
  wmode: 'transparent'
});

sIFR.replace(blissbold, {
  selector: '#what-we-learn h4',
  css: '.sIFR-root { font-size: 1.25em; font-weight: normal; color: #00a7e9; margin-bottom: 6px; }',
  wmode: 'transparent'
});

/* </what-we-learn> */

/*
sIFR.replace(blissbold, {
  selector: '#results #pledge-outer h2',
  css: '.sIFR-root { color: #202020; font-size: 22px; }',
  wmode: 'transparent'
});
*/


