//Prepend the sifr folder with the absolute URL
var sifrPath = window.jsRootPath + 'sifr/';

var adobeCaslonPro = { 
	src: sifrPath + 'Adobe-Caslon-pro.swf'
	,wmode: 'transparent' 
};

var lucidaSansBold = { 
	src: sifrPath + 'Lucida-sans-bold.swf'
	,wmode: 'transparent' 
};

sIFR.useStyleCheck = true;
sIFR.activate(adobeCaslonPro);
sIFR.activate(lucidaSansBold);

/*
* Replacement for all headers in the righter div
*/

sIFR.replace(adobeCaslonPro, {
  selector: 'h1',
  css: [
  		'.sIFR-root { color: #b4a400; leading: -15; font-style: italic; }'
  	   ]
});

sIFR.replace(lucidaSansBold, {
  selector: 'div.routebeschrijving h2.green',
  css: [
  		'.sIFR-root { color: #ffffff; font-weight: bold; }',
  		'a { color: #ffffff; text-decoration: none; }',
  		'a:hover { color: #333333; text-decoration: none; }'
  	   ]
});

sIFR.replace(lucidaSansBold, {
  selector: 'h2.green',
  css: [
  		'.sIFR-root { color: #ffffff; font-weight: bold; }',
  		'a { color: #004582; text-decoration: none; }',
  		'a:hover { color: #ffffff; text-decoration: none; }'
  	   ]
});

sIFR.replace(lucidaSansBold, {
  selector: 'h2.blue',
  css: [
  		'.sIFR-root { color: #ffffff; font-weight: bold; }',
  		'a { color: #b4a400; text-decoration: none; }',
  		'a:hover { color: #ffffff; text-decoration: none; }'
  	   ]
});

sIFR.replace(lucidaSansBold, {
  selector: 'h2',
  css: [
  		'.sIFR-root { color: #004582; font-weight: bold; }',
  		'a { color: #004582; text-decoration: none; }',
  		'a:hover { color: #b4a400; text-decoration: none; }'
  	   ]
});