/*****************************************************************************
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.
*****************************************************************************/

//do not use sIfr on japanese pages  we detect this from the request url 
//and skip the activation if it is a jp page
var regex = new RegExp('((\.jp)|(\/jp))($|\/)')
var results = regex.exec(window.location.href)
if(results == null)
{
	//var Helv45 = { src: '/Style%20Library/ReSound/Flash/Helv45Light_sIFR436.swf' };
	//var Helv45 = { src: '/Style%20Library/ReSound/Flash/Helv45Light_sIFR436_RU_New.swf' };
	var Helv45 = { src: '/Style%20Library/ReSound/Flash/Helv45Light_sIFR436_RU_DE.swf' };
	sIFR.activate(Helv45);
	sIFR.replace(Helv45, {
	  selector: 'h1',
	  css: '.sIFR-root { background-color: #F9F9F9; color: #d71920; font-size: 30px;}',
	  wmode: 'transparent'
	});
}
