var href = String(document.location.href); if (href.match("/ru/")) { selectedLanguage = "ru"; } else if (href.match("/ro/")) { selectedLanguage = "ro"; } else { selectedLanguage = "pl"; } if (selectedLanguage == "ru") { var futura = { src: '/swf/sifr_arial.swf' }; } else if (selectedLanguage == "ro") { var futura = { src: '/swf/sifr_arial.swf' }; } else { var futura = { src: '/swf/sifr.swf' }; } /*var futura = { src: '/swf/sifr.swf' };*/ sIFR.useStyleCheck = true; sIFR.activate(futura); sIFR.replace(futura, { selector: 'h1.sifr' ,css: ['.sIFR-root {color:#12316f; font-size:18px;text-transform:uppercase;}' ,'a{ color: #12316f; text-decoration:none; }' ,'a:hover { color: #5486c1; }'] ,wmode: 'transparent' }); sIFR.replace(futura, { selector: 'h2.sifr' ,css: ['.sIFR-root {color:#12316f; font-size:17px;text-transform:uppercase;}' ,'a{ color: #12316f; text-decoration:none; }' ,'a:hover { color: #5486c1; }'] ,wmode: 'transparent' }); sIFR.replace(futura, { selector: 'h3.sifr' ,css: ['.sIFR-root {color:#5486c1; font-size:11px;text-transform:uppercase;}' ,'a{ color: #5486c1; text-decoration:none; }' ,'a:hover { color: #12316f; }'] ,wmode: 'transparent' }); sIFR.replace(futura, { selector: 'h2.sifr2' ,css: ['.sIFR-root {color:#5486c1; font-size:18px;text-transform:uppercase;}'] ,wmode: 'transparent' }); sIFR.replace(futura, { selector: 'h3.sifr' ,css: ['.sIFR-root {color:#5486c1; font-size:11px;text-transform:uppercase;}' ,'a{ color: #5486c1; text-decoration:none; }' ,'a:hover { color: #61a0eb; }'] ,wmode: 'transparent' }); sIFR.replace(futura, { selector: '.sifr' ,css: ['.sIFR-root {color:#12316f; font-size:18px;line-height:34px;}'] ,wmode: 'transparent' });