//Set the font
var BrieLight_shadow = { src: '/fonts/BrieLight_shadow.swf' };
var BrieLight_bold = { src: '/fonts/BrieLight_bold.swf' };

sIFR.useStyleCheck = true;

//Activate the flash replacement for standards compliant browsers
if(!($.browser.msie && $.browser.version.substr(0,1)<9))
{
	sIFR.activate(BrieLight_shadow);
	sIFR.activate(BrieLight_bold);
}

//Set the replacement rules
sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'h3.member_sign_up span',
  css: [
    '.sIFR-root {color:#ffffff; font-size:14px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.navigation > ul > li > span',
  css: [
    '.sIFR-root {color:#ffffff; font-size:15px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
  selector: 'div.content h2.page_title',
  css: '.sIFR-root {color:#01a0fb; font-size:29px;}',
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
  selector: 'div.content h3.subheader',
  css: '.sIFR-root {color:#004a80; font-size:22px;}',
  transparent: true
});

sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h4.arrow_small_left span.text',
  css: [
    '.sIFR-root {color:#ffffff; font-size:14px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h4.arrow_small_right span.text',
  css: [
    '.sIFR-root {color:#ffffff; font-size:14px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h4.arrow_large_left span.text',
  css: [
    '.sIFR-root {color:#ffffff; font-size:19px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_shadow, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h4.arrow_large_right span.text',
  css: [
    '.sIFR-root {color:#ffffff; font-size:19px; cursor:pointer;}',
    'a {color: #ffffff; text-decoration: none;}',
    'a:link {color: #ffffff; text-decoration: none;}',
    'a:hover {color: #dddddd; text-decoration: none;}',
    'a:active {color: #ffffff; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h3.sub_title',
  css: [
    '.sIFR-root {color:#01a0fb; font-size:18px;}',
    'a {color: #01a0fb; text-decoration: none; cursor:pointer;}',
    'a:link {color: #01a0fb; text-decoration: none;}',
    'a:hover {color: #01528c; text-decoration: none;}',
    'a:active {color: #01a0fb; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.content h3.sub_title_large',
  css: [
    '.sIFR-root {color:#01a0fb; font-size:30px;}',
    'a {color: #01a0fb; text-decoration: none; cursor:pointer;}',
    'a:link {color: #01a0fb; text-decoration: none;}',
    'a:hover {color: #01528c; text-decoration: none;}',
    'a:active {color: #01a0fb; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'div.page_editor_content h3, div.text_content h3',
  css: [
    '.sIFR-root {color:#01a0fb; font-size:18px;}'
  ],
  transparent: true
});

sIFR.replace(BrieLight_bold, {
	wmode : 'transparent',
	forceSingleLine: true,
	offsetLeft: 1,
	tuneWidth: 2,
  selector: 'ul.search_results h3',
  css: [
    '.sIFR-root {color:#01a0fb; font-size:18px;}',
    'a {color: #01a0fb; text-decoration: none; cursor:pointer;}',
    'a:link {color: #01a0fb; text-decoration: none;}',
    'a:hover {color: #01528c; text-decoration: none;}',
    'a:active {color: #01a0fb; text-decoration: none;}'
  ],
  transparent: true
});
