if (languageCode == 'ru') {
	var sifr = { src: flashPath+'ArialRegular.swf' };
} else {
	var sifr = { src: flashPath+'FolioStdLight.swf' };
}

sIFR.useStyleCheck = true;
sIFR.activate(sifr);

sIFR.replace(sifr, {
	    selector: '#projectHeader h4'
	    ,css: ['.sIFR-root {leading:-5px; color: #7fa633; font-size: 26px; line-height: 26px; height: 26px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
	});

	
sIFR.replace(sifr, {
	    selector: '#projectsOverview h4'
	    ,css: ['.sIFR-root {color: #7fa633; font-size: 21px; line-height: 21px; height: 21px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
		,forceSingleLine: true
	});
	
sIFR.replace(sifr, {
	    selector: 'h3'
	    ,css: ['.sIFR-root {color: #7fa633; font-size: 261x; line-height: 21px; height: 21px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
		,forceSingleLine: true
	});

sIFR.replace(sifr, {
	    selector: '.home h1'
	    ,css: ['.sIFR-root {color: #7fa633; font-size: 26px; line-height: 26px; height: 26px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
		,forceSingleLine: true
	});
	
sIFR.replace(sifr, {
	    selector: 'h1, h5'
	    ,css: ['.sIFR-root {color: #7fa633; font-size: 26px; line-height: 26px; height: 26px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
	});
	
	
function sifrProjectHeaderTitle(){
	// Remove sifrReplaced class
	$('h4#projectHeaderTitle').removeClass('sIFR-replaced');	

	sIFR.replace(sifr, {
	    selector: 'h4#projectHeaderTitle'
	    ,css: ['.sIFR-root {color: #7fa633; font-size: 26px; line-height: 26px; height: 26px; margin: 0px; padding: 0px; background-color:#ffffff;}']
	    ,wmode: 'transparent'
		,selectable: true
	});
}
