// Global library Philips Internet
// Check www.crsc.philips.com/crsc/scripts/sifr-config.js for latest version
// Version: 4.3
// Date: September 30 2008

/* Overriding SIFR function which replaces inline document.write statements within sifr replacements */
sIFR.util.normalize = function(str)
{
 var SINGLE_WHITESPACE = ' ';
 str = (str.indexOf("document.write") > -1?'':str);
if(sIFR.preserveSingleWhitespace) return str.replace(/\s/g, SINGLE_WHITESPACE);
 // Normalize to the first whitespace, and then make sure no nbsp characters are preserved as Flash doesn't seem to support these.
 
 return str.replace(/(\s)\s+/g, '$1').replace(/\xA0/, SINGLE_WHITESPACE);
}

// Replace the SIFR H1
var header = {
//src: _page.crsc_server+'/crsc/images/sifr_gillsanslight.swf'
src: 'swf/gillsans.swf'
};

sIFR.activate(header);

sIFR.replace(header, {
 selector: 'h1.h1-black'
 ,css: '.sIFR-root {color:#000000; text-align: left;}'
 ,wmode: 'transparent'
});

sIFR.replace(header, {
 selector: 'h1'
 ,css: '.sIFR-root {color:#ffffff; font-size: 36px}'
 ,wmode: 'transparent'
});

sIFR.replace(header, {
 selector: 'h2'
 ,css: '.sIFR-root {color:#ffffff; line-height: 22px; leading: 4px}'
 ,wmode: 'transparent'
});

sIFR.replace(header, {
 selector: 'h3.black'
 ,css: '.sIFR-root {color:#000000;}'
 ,wmode: 'transparent'
});