//Set the font
var humanst521LtBT = { src: '/fonts/Humanst521LtBT.swf' };

sIFR.useStyleCheck = true;

//Activate the flash replacement
sIFR.activate(humanst521LtBT);

//Set the replacement rules
/*sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: 'ul.main_navigation li span',
  css: [
    '.sIFR-root {color:#f7941d; font-size:12px; letter-spacing:1; cursor:pointer; text-transform:uppercase;}',
    'a {color: #f7941d; text-decoration: none;}',
    'a:link {color: #f7941d; text-decoration: none;}',
    'a:hover {color: #f7941d; text-decoration: none;}'
  ],
  transparent: true
});*/

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: '.stage h1',//.welcome_title h1
  css: '.sIFR-root {color:#f7941d; font-size:30px; text-transform:uppercase;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: '.production_core_middle_pane h1',//.welcome_title h1
  css: '.sIFR-root {color:#f7941d; font-size:30px; text-transform:uppercase;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: 'div.page_title h2',
  css: '.sIFR-root {color:#f7941d; font-size:36px; text-transform:uppercase;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: 'div.address_container h2',
  css: '.sIFR-root {color:#f7941d; font-size:24px; text-transform:uppercase;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'h2.page_title',
  css: '.sIFR-root {color:#000000; font-size:26px; text-transform:uppercase;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'h4.page_subtitle',
  css: '.sIFR-root {color:#000000; font-size:17px; font-style:italic;}',
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.page_editor_content h2',
  css: [
    '.sIFR-root {color:#000000; font-size:26px; text-transform:uppercase;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.page_editor_content h3',
  css: [
    '.sIFR-root {color:#000000; font-size:20px;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.page_editor_content h4',
  css: [
    '.sIFR-root {color:#000000; font-size:17px; font-style:italic;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.article h2',
  css: [
    '.sIFR-root {color:#000000; font-size:26px; text-transform:uppercase;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.article h3',
  css: [
    '.sIFR-root {color:#000000; font-size:20px;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.contact_us_text h3',
  css: [
    '.sIFR-root {color:#000000; font-size:20px;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});

sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: 'div.article h4',
  css: [
    '.sIFR-root {color:#000000; font-size:17px; font-style:italic;}',
    'a {color: #000000; text-decoration: none;}',
    'a:link {color: #000000; text-decoration: none;}',
    'a:hover {color: #000000; text-decoration: none;}'
  ],
  transparent: true
});
/*
sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
  selector: '.funding_core_right_pane .links',// a
  css: [
    '.sIFR-root {color:#FFFFFF; font-size:24px;}',
    'a {color: #FFFFFF; text-decoration: none;}',
    'a:link {color: #FFFFFF; text-decoration: none;}',
    'a:hover {color: #FFFFFF; text-decoration: none;}'
  ],
  transparent: true
});*/

/*sIFR.replace(humanst521LtBT, {
	wmode : 'transparent',
	forceSingleLine: true,
  selector: 'span.article_preview span.title',
  css: '.sIFR-root {color:#f7941d; font-size:24px; text-transform:uppercase;}',
  transparent: true
});*/
