/*****************************************************************************
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.
*****************************************************************************/

//---------------------------------------------------------------------------------------------------------
//	Load the font files
//---------------------------------------------------------------------------------------------------------
var imagoLI = { src: '/sifr/flash/imago-li.swf' };
var imagoBO = { src: '/sifr/flash/imago-bo.swf' };
var imagoME = { src: '/sifr/flash/imago-me.swf' };

//---------------------------------------------------------------------------------------------------------
//	Activate the font files
//---------------------------------------------------------------------------------------------------------
sIFR.activate(imagoLI);
sIFR.activate(imagoBO);
sIFR.activate(imagoME);

//---------------------------------------------------------------------------------------------------------
//	Replace the banner H1 titles (on top level pages only)
//---------------------------------------------------------------------------------------------------------
sIFR.replace(imagoLI, {
	selector:	'#banner h1',
//    css:        '.sIFR-root { color: #221f73; height: 69px; line-height: 69px; }',
    css:        '.sIFR-root { color: #a5a5a5; height: 69px; line-height: 69px; }',
	wmode:		'transparent'
/*
	filters:	{ GlowFilter: {  distance:	1,
								 color:		'#90afb9',
								 strength:	1,
								 quality:   5} }
*/
});

//---------------------------------------------------------------------------------------------------------
//	Replace the banner title (on all the other subpages)
//---------------------------------------------------------------------------------------------------------
sIFR.replace(imagoLI, {
	selector:	'#banner-title',
//    css:        '.sIFR-root { color: #221f73; height: 69px; line-height: 69px; }',
    css:        '.sIFR-root { color: #a5a5a5; height: 69px; line-height: 69px; }',
	wmode:		'transparent'
/*
	filters:	{ GlowFilter: {  distance:	1,
								 color:		'#90afb9',
								 strength:	1,
								 quality:   5} }
*/
});

//---------------------------------------------------------------------------------------------------------
//	Replace the main body title (on toplevel pages only)
//---------------------------------------------------------------------------------------------------------
/*
sIFR.replace(imagoBO, {
  selector: '#toppage-title, #toppage-title a',
  wmode:	'transparent',
  css:		'.sIFR-root { background-color: #FFFFFF; color: #221f73!important; text-decoration:none!important ;}'
});
*/
//---------------------------------------------------------------------------------------------------------
//	Replace the main body h1 (on all other pages)
//---------------------------------------------------------------------------------------------------------
/*
sIFR.replace(imagoME, {
  selector: 'h1',
  wmode:	'transparent',
  css:		'.sIFR-root { background-color: #FFFFFF; color: #221f73; }'
});
*/
//---------------------------------------------------------------------------------------------------------
//	Replace the homepage h3, sitewide h2
//---------------------------------------------------------------------------------------------------------
sIFR.replace(imagoBO, {
  selector: '.home-box h3, .bodytext h2',
  wmode:	'transparent',
  css: [	'.sIFR-root { color:#f58026;}',
			'a {color: #f58026; text-decoration: none;}',
			'a:hover {color: #f58026;}' ]
});


