
var CenturyGothic = { src: '/assets/flash/century-gothic.swf' };

//sIFR.useDomContentLoaded = true;
sIFR.activate(CenturyGothic);

sIFR.replace(CenturyGothic, {
  selector: '.ul-tab li a',
  onRelease: function(element) { jQuery(element.getFlashElement()).parent('a').click(); },
  wmode: 'transparent',
  forceSingleLine: true,
  css: '.sIFR-root { color: #667896; font-weight: bold; font-size: 15px; margin: 0; cursor: pointer; }'
 });

sIFR.replace(CenturyGothic, {
  selector: 'h1',
  wmode: 'transparent',
  css: '.sIFR-root { color: #667896; font-size: 22px; font-weight: bold; }'
});

sIFR.replace(CenturyGothic, {
  selector: '.company-item-inner h2',
  wmode: 'transparent',
  tuneHeight:'-5',
  onRelease: function(element) { jQuery(element.getFlashElement()).parent('H2').click(); },
  css: '.sIFR-root { color: #B61131; font-size: 12px; font-weight: normal; }'
});
sIFR.replace(CenturyGothic, {
  selector: 'h2',
  wmode: 'transparent',
  css: '.sIFR-root { color: #667896; font-size: 19px; font-weight: bold; }'
});

sIFR.replace(CenturyGothic, {
  selector: 'ul.top-nav li.current span',
  wmode: 'transparent',
  forceSingleLine: true,
  preserveSingleWhitespace: true,
  css: [
    '.sIFR-root { color: #6D6D6D; text-align:center; font-weight: bold; font-size: 15px; }',
    'a { color: #6D6D6D; text-decoration: none;}',
    'a:link { color: #6D6D6D;}',
    'a:hover { color: #6D6D6D; text-decoration: underline;}'
  ]
});

sIFR.replace(CenturyGothic, {
  selector: 'ul.top-nav li span',
  wmode: 'transparent',
  forceSingleLine: true,
  preserveSingleWhitespace: true,
  css: [
    '.sIFR-root { color: #ffffff; text-align:center; font-weight: bold; font-size: 15px;}',
    'a { color: #ffffff; text-decoration: none;}',
    'a:link { color: #ffffff;}',
    'a:hover { color: #ffffff; text-decoration: underline;}'
  ]
});

sIFR.replace(CenturyGothic, {
	selector: '.coe-btn',
	wmode: 'transparent',
	css: [
	'.sIFR-root { color: #6c6c6c; font-weight: bold; font-size: 14px;}',
	'a { color: #6c6c6c; text-decoration: none;}',
	'a:link { color: #6c6c6c;}',
	'a:hover { color: #6c6c6c; text-decoration: underline;}'
	]
});

sIFR.replace(CenturyGothic, {
  selector: '#news h3',
  wmode: 'transparent',
  css: '.sIFR-root { color: #a8a8a8; font-weight: bold; font-size: 24px;leading: -5}'
});

sIFR.replace(CenturyGothic, {
  selector: '.secondary-nav li.parent a span',
  wmode: 'transparent',
  css: '.sIFR-root { color: #5c5b5b; font-weight: bold; font-size: 15px;}'
});

sIFR.replace(CenturyGothic, {
  selector: '.hover_block li span span',
  wmode: 'transparent',
  css: [
  	'.sIFR-root { color: #D12450; font-weight: bold; font-size: 15px; text-align:center; cursor:pointer;}',
  	'a { color: #D12450; text-decoration: none; }',
  	'a:link { color: #D12450; text-decoration: none; }',
  	'a:hover { color: #D12450; text-decoration: underline; }'
  ]
});

sIFR.replace(CenturyGothic, {
  selector: '.sign-up strong.title',
  wmode: 'transparent',
  css: '.sIFR-root { color: #667896; font-weight: bold; font-size: 15px; margin: 0; }'
});

sIFR.replace(CenturyGothic, {
  selector: '.sign-up p',
  wmode: 'transparent',
  css: '.sIFR-root { color: #B61131; font-weight: bold; font-size: 12px; }'
});

// snippet title
sIFR.replace(CenturyGothic, {
  selector: '.snippet246 strong.title',
  wmode: 'transparent',
  css: '.sIFR-root { color: #667896; font-weight: bold; font-size: 19px; margin: 0; leading: -5}'
});


