var poplar = {
  src: '/sifr/poplar.swf'
};

var myriad = {
  src: '/sifr/myriad.swf'
};

//sIFR.debug.ratios({ src: '/sifr/proxima.swf', selector: 'h2' });

sIFR.replace(poplar, {
  selector: '#content.cat_other #content_body h2'
    ,css: [
      '.sIFR-root { color: #004694; text-transform: uppercase; }']
    ,tuneHeight: '-8'
    ,wmode: 'transparent'
});

sIFR.replace(poplar, {
    selector: '#content.cat_about_becel #content_body h2'
    , css: [
      '.sIFR-root { color: #e59d13; text-transform: uppercase; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '#content.cat_about_becel #content_body h3'
    , css: [
      '.sIFR-root { color: #e59d13; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});

/* Products */
sIFR.replace(poplar, {
    selector: '.cat_products #content_body h2'
    , css: [
      '.sIFR-root { color: #49794b; text-transform: uppercase; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(poplar, {
    selector: '.cat_products #content_body h5'
    , css: [
      '.sIFR-root { color: #49794b; text-transform: uppercase; font-size:32px }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(poplar, {
    selector: '.cat_products #content_body h6'
    , css: [
      '.sIFR-root { color: #49794b; text-transform: uppercase; font-size:25px }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '.cat_products #content_body h3'
    , css: [
      '.sIFR-root { color: #49794b; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});

/* End*/

sIFR.replace(poplar, {
  selector: '#content.cat_know_your_heart #content_body h2'
    ,css: [
      '.sIFR-root { color: #6ea2d9; text-transform: uppercase; leading: -4px; }']
    ,tuneHeight: '-8'
    ,wmode: 'transparent'
});

sIFR.replace(myriad, {
  selector: '#content.cat_know_your_heart #content_body h3'
    ,css: [
      '.sIFR-root { color: #6ea2d9; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

sIFR.replace(poplar, {
    selector: '#content.cat_manage_your_heart_health #content_body h2'
    ,css: [
      '.sIFR-root { color: #e27329; text-transform: uppercase; }']
    ,tuneHeight: '-8'
    ,wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '#content.cat_manage_your_heart_health #content_body h3'
    ,css: [
      '.sIFR-root { color: #e27329; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});


sIFR.replace(myriad, {
    selector: '#content.cat_manage_your_heart_health #holidayCookingContent h4'
    ,css: [
      '.sIFR-root { color: #810404; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

sIFR.replace(myriad, {
  selector: '#recipe_body h3'
    ,css: [
      '.sIFR-root { color: #e27329; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

sIFR.replace(myriad, {
  selector: '#becel-recipe-listings h3'
    ,css: [
      '.sIFR-root { color: #e27329; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

sIFR.replace(poplar, {
  selector: '#content.cat_tools_and_resources #content_body h2'
    ,css: [
      '.sIFR-root { color: #98b055; text-transform: uppercase; }']
    ,tuneHeight: '-8'
    ,wmode: 'transparent'
});

/* women and heart disease */
sIFR.replace(poplar, {
    selector: '.cat_women_and_heart_disease #content_body h2'
    , css: [
      '.sIFR-root { color: #3184be; text-transform: uppercase; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '.cat_women_and_heart_disease #content_body h3'
    , css: [
      '.sIFR-root { color: #3184be; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '#content_body h4.grey'
    , css: [
      '.sIFR-root { color: #6e6e6c; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});
/* End */

/* cholesterol advice */
sIFR.replace(poplar, {
selector: '.cat_cholesterol_advice #content_body h2'
    , css: [
      '.sIFR-root { color: #3184be; text-transform: uppercase; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
selector: '.cat_cholesterol_advice #content_body h3'
    , css: [
      '.sIFR-root { color: #3184be; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '#content_body h4.grey'
    , css: [
      '.sIFR-root { color: #6e6e6c; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});
/* End */

/* Recipes */
sIFR.replace(poplar, {
    selector: '.cat_recipes #content_body h2'
    , css: [
      '.sIFR-root { color: #449cb0; text-transform: uppercase; }']
    , tuneHeight: '-8'
    , wmode: 'transparent'
});

sIFR.replace(myriad, {
    selector: '.cat_recipes #content_body h3'
    , css: [
      '.sIFR-root { color: #449cb0; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
/* End */

sIFR.replace(myriad, {
  selector: '#content.cat_tools_and_resources #content_body h3'
    ,css: [
      '.sIFR-root { color: #98b055; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

sIFR.replace(myriad, {
  selector: '#holidayCookingContent h3'
    ,css: [
      '.sIFR-root { color: black; }']
    ,tuneHeight: '-5'
    ,wmode: 'transparent'
});

/* Special colours */

sIFR.replace(myriad, {
    selector: '#content.cat_heart_healthy_living #content_body h3#red'
    , css: [
      '.sIFR-root { color: #d80000; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
/*sIFR.replace(myriad, {
    selector: 'form#aspnetForm #container #content.cat_heart_healthy_living #content_body h3#orange'
    , css: [
      '.sIFR-root { color: #f47e00; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
sIFR.replace(myriad, {
    selector: 'form#aspnetForm #container #content.cat_heart_healthy_living #content_body h3#yellow'
    , css: [
      '.sIFR-root { color: #f1c83b; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
sIFR.replace(myriad, {
    selector: 'form#aspnetForm #container #content.cat_heart_healthy_living #content_body h3#green'
    , css: [
      '.sIFR-root { color: #007828; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
sIFR.replace(myriad, {
    selector: 'form#aspnetForm #container #content.cat_heart_healthy_living #content_body h3#blue'
    , css: [
      '.sIFR-root { color: #5b19f1; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});
sIFR.replace(myriad, {
    selector: 'form#aspnetForm #container #content.cat_heart_healthy_living #content_body h3#white'
    , css: [
      '.sIFR-root { color: #686868; }']
    , tuneHeight: '-5'
    , wmode: 'transparent'
});*/



sIFR.activate(poplar); // From revision 209 and onwards
sIFR.activate(myriad);