var eurostile = { src: '/fonts/eurostile.swf' }; var eurostileBold = { src: '/fonts/eurostilebold.swf' }; sIFR.activate(eurostile); // From revision 209 and onwards sIFR.activate(eurostileBold); // From revision 209 and onwards sIFR.replace(eurostileBold, { selector: 'h1' ,css: [ '.sIFR-root { color: #005496; font-size: 20px; font-weight: bold; letter-spacing: 2; text-transform: uppercase;}', 'a { color: #72be1f; text-decoration: none;}', 'a:hover { color: #72be1f; text-decoration: none;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'h2' ,css: [ '.sIFR-root { color: #005496; font-size: 13px; font-weight: bold; letter-spacing: 2; text-transform: uppercase;}', 'a { color: #005496; text-decoration: none;}', 'a:hover {color: #72be1f; text-decoration: none;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'h3' ,css: [ '.sIFR-root { color: #005496; font-size: 13px; font-weight: bold; letter-spacing: 1;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'h4' ,css: [ '.sIFR-root { color: #005496; font-size: 15px; font-weight: bold; letter-spacing: 1;}', 'a { color: #72be1f; text-decoration: none;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'li.mainmenu_button_middle' ,css: [ '.sIFR-root { text-align: center; color: #005496; font-size: 12px; letter-spacing: 1; font-weight: bold; text-transform: lowercase;}', 'a { color: #005496; text-decoration: none;}', 'a:hover { color: #005496; text-decoration: none;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'li.mainmenu_button_middle_ACTIVE' ,css: [ '.sIFR-root { text-align: center; color: #FFFFFF; font-size: 12px; letter-spacing: 1; font-weight: bold; text-transform: lowercase;}', 'a { color: #FFFFFF; text-decoration: none;}', 'a:hover { color: #FFFFFF; text-decoration: none;}'] ,wmode: 'transparent' }); sIFR.replace(eurostile, { selector: 'li.mainmenu_button_middle_INACTIVE' ,css: [ '.sIFR-root { text-align: center; color: #DDDDDD; font-size: 12px; letter-spacing: 1; font-weight: bold; text-transform: lowercase;}', 'a { color: #DDDDDD; text-decoration: none;}', 'a:hover { color: #DDDDDD; text-decoration: none;}'] ,wmode: 'transparent' }); function updatePreview() { var testTitle = tinyMCE.getContent(); var div = document.getElementById('previewTitle'); testTitle = "