/*****************************************************************************
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 Univers45Light = { src: '/js/Univers45Light.swf' };
var Univers65Bold = { src: '/js/Univers65Bold.swf' };

sIFR.activate(Univers45Light, Univers65Bold);

function load_sifr(){
	sIFR.replace(Univers45Light, {
	  selector: '.pc h1',
	  css: '.sIFR-root { color: #95042E; text-transform: uppercase; } .sIFR-root a { text-decoration: underline; color: #95042E; } .sIFR-root a:hover { color: #95042E; }',
	  sCase: 'upper', 
	  transparent: true, // This is important to prevent dropdown menus from being overlayed by the sifr text.
	  tuneHeight: 0
	});
	sIFR.replace(Univers65Bold, {
	  selector: 'blockquote p',
	  css: '.sIFR-root { leading: -2; color: #2a1a14; } .sIFR-root a { text-decoration: none; color: #89031E; } .sIFR-root a:hover { color: #C66F6F; }',
	  transparent: true, // This is important to prevent dropdown menus from being overlayed by the sifr text.
	  tuneHeight: 0
	});	
}
load_sifr();

// Required to make sIFR work with managed pages and partial postbacks
if ((typeof Sys !== "undefined") && (typeof Sys.WebForms !== "undefined")) {
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(load_sifr);
}
