var frutigerlight = {
    src: '/_shared/sifr3/frutiger_light.swf'
};

var frutigerroman = {
    src: '/_shared/sifr3/frutiger_roman.swf'
};

sIFR.activate(frutigerlight);
sIFR.activate(frutigerroman);

/* STYLING */
/*----------------- H1 -----------------*/
sIFR.replace(frutigerlight, {
    selector: 'h1.black, #banner_title h1'
  , css: {
      '.sIFR-root': { 'color': '#363636', 'letter-spacing': 3, 'text-transform': 'uppercase' }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerroman, {
    selector: '#home_content h1'
  , css: {
      '.sIFR-root': { 'color': '#252525', 'text-transform': 'none' }
  }
  , wmode: 'transparent'
});

/* About us */
sIFR.replace(frutigerroman, {
    selector: '#theme_about #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#8F103F', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* News */
sIFR.replace(frutigerroman, {
    selector: '#theme_news #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#dc2823', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* Locations */
sIFR.replace(frutigerroman, {
    selector: '#theme_locations #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#467f67', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* Careers */
sIFR.replace(frutigerroman, {
    selector: '#theme_careers #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#42998f', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* People */
sIFR.replace(frutigerroman, {
selector: '#theme_people #copy_column h1, #theme_people #content_wide h1'
  , css: {
        '.sIFR-root': { 'color': '#0B325B', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* Practices */
sIFR.replace(frutigerroman, {
    selector: '#theme_practices #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#696b38', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* Industries */
sIFR.replace(frutigerroman, {
    selector: '#theme_industries #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#378ea0', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

/* Publications */
sIFR.replace(frutigerroman, {
    selector: '#theme_publications #copy_column h1'
  , css: {
      '.sIFR-root': { 'color': '#b4435a', 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerlight, {
    selector: 'h1'
  , css: {
      '.sIFR-root': { 'color': '#193e68', 'letter-spacing': 3, 'text-transform': 'capitalize' }
  }
  , wmode: 'transparent'
});


/*----------------- H2 -----------------*/
/* About us */
sIFR.replace(frutigerroman, {
    selector: '#theme_about h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#8F103F' }
  }
  , wmode: 'transparent'
});
/* News */
sIFR.replace(frutigerroman, {
    selector: '#theme_news h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#dc2823' }
  }
  , wmode: 'transparent'
});
/* Locations */
sIFR.replace(frutigerroman, {
    selector: '#theme_locations h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#467f67' }
  }
  , wmode: 'transparent'
});
/* Careers */
sIFR.replace(frutigerroman, {
    selector: '#theme_careers h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#42998f' }
  }
  , wmode: 'transparent'
});
/* People */
sIFR.replace(frutigerroman, {
    selector: '#theme_people #banner_title h2'
  , css: {
    '.sIFR-root': { 'color': '#0B325B', 'letter-spacing': 3 }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerroman, {
    selector: '#theme_people h2.themed'
  , css: {
    '.sIFR-root': { 'color': '#0B325B' }
  }
  , wmode: 'transparent'
});
/* Practices */
sIFR.replace(frutigerroman, {
    selector: '#theme_practices h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#696b38' }
  }
  , wmode: 'transparent'
});
/* Industries */
sIFR.replace(frutigerroman, {
    selector: '#theme_industries h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#378ea0' }
  }
  , wmode: 'transparent'
});
/* Publications */
sIFR.replace(frutigerroman, {
    selector: '#theme_publications h2.themed'
  , css: {
      '.sIFR-root': { 'color': '#b4435a' }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerroman, {
    selector: '#home_content h2'
  , css: {
      '.sIFR-root': { 'color': '#252525', 'text-transform': 'none' }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerroman, {
    selector: '#banner_title h2'
  , css: {
      '.sIFR-root': { 'color': '#363638', 'text-transform': 'uppercase', 'letter-spacing': 1 }
  }
  , wmode: 'transparent'
});

sIFR.replace(frutigerroman, {
    selector: 'h2'
  , css: {
      '.sIFR-root': { 'color': '#193e68' }
  }
  , wmode: 'transparent'
});
