var frutiger = {
  src: '/media/js/frutiger.swf'
};

sIFR.prefetch(frutiger);
sIFR.activate();

sIFR.replace(frutiger, {
  selector: '#homepage h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '#landing-page h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlightb h1.category',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 300,
  css: {
      '.sIFR-root' : { 'color': '#669B09', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '16px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlightb h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#669B09', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlighta h1.category',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 300,
  css: {
      '.sIFR-root' : { 'color': '#63758D', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '16px' }
    }
});
sIFR.replace(frutiger, {
  selector: '.highlighta h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#1C2F3E', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlightc h1.category',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 300,
  css: {
      '.sIFR-root' : { 'color': '#3A0525', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '16px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlightc h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlighta  h2.title',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#1C2F3E', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});
sIFR.replace(frutiger, {
  selector: '.highlightb  h2.title',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#093B0B', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.highlightc  h2.title',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#780149', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});
sIFR.replace(frutiger, {
  selector: '#editorial h2.title',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.pullquote p',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#ffffff', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '15px' }
    }
});

sIFR.replace(frutiger, {
  selector: '.callout-quote p',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 1,
  css: {
      '.sIFR-root' : { 'color': '#ffffff', 'text-align': 'left', 'font-size': '19px', 'font-weight': 'normal', 'letter-spacing': '0.5', 'leading':'4' }
    }
});

sIFR.replace(frutiger, {
  selector: '#editorial h2.sub-heading',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '20px' }
    }
});

sIFR.replace(frutiger, {
  selector: '#editorial h1',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 50,
  css: {
      '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '30px' }
    }
});

sIFR.replace(frutiger, {
  selector: '#editorial h2.results',
  wmode: 'transparent',
  fitExactly: true,
  thickness: 160,
  css: {
	  '.sIFR-root' : { 'color': '#71085f', 'text-align': 'left', 'font-weight': 'bold', 'font-size': '17px' },
	  'strong' : { 'color': '#2C2B50' }
}
});
