var themixnormal = { src: '/flash/themixnormal.swf' };
var themixbold = { src: '/flash/themixbold.swf' };

sIFR.activate(themixnormal,themixbold);

var themixratios = [7, 1.32, 8, 1.31, 12, 1.27, 20, 1.22, 28, 1.19, 30, 1.17, 31, 1.18, 45, 1.17, 61, 1.16, 66, 1.15, 67, 1.16, 108, 1.15, 111, 1.14, 114, 1.15, 118, 1.14, 120, 1.15, 1.14];
sIFR.replace(themixbold, {
  selector: '.drop-fade-title .h1',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixnormal, {
  selector: '.hero .h1.alt',
  css: ['.sIFR-root {color: #ffffff;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixnormal, {
  selector: '.hero .h1',
  css: ['.sIFR-root {color: #ffffff;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.ee-header h3',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.ee-header h1',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixnormal, {
  selector: '.hero .content p',
  css: ['.sIFR-root {color: #ffffff;kerning:true;leading:-1}'],
  wmode:'transparent',
  ratios: themixratios
});

sIFR.replace(themixbold, {
  selector: '.m-panel-additional .m-header h2',
  css: ['.sIFR-root {color: #ffffff;kerning:true;leading:-5}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.m-header h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-1}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.c-box-title h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.m-header-big h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.c-content h2',
  css: ['.sIFR-root {color: #00195d;}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.sidebar-box.large h2',
  css: ['.sIFR-root {color: #00195d;}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});


//HOMEPAGE
sIFR.replace(themixnormal, {
  selector: '.feature-container h2',
  css: ['.sIFR-root {color:#D2006D;kerning:true;leading:-3}'
  ,'strong { color:#560865;font-weight:bold; }'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixnormal, {
  selector: '.feature-container p',
  css: ['.sIFR-root {color: #FFFFFF;kerning:true;leading:-3}'],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.home-mini-col h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ,'a { text-decoration: none;color:#011A5E; }'
  ,'a:hover {text-decoration:underline;color:#011A5E; }'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '.ad-content h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixnormal, {
  selector: '.acc-content h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

//Help & Advice
sIFR.replace(themixbold, {
  selector: '.callout span.emergency',
  css: ['.sIFR-root {color: #d2006d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.m-your-question h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

sIFR.replace(themixbold, {
  selector: '#primary-content .white h3',
  css: ['.sIFR-root {color:  #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '#primary-content .span-2 .m-panel .billing-query-category h3',
  css: ['.sIFR-root {color:  #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.help-advice-your-search h3',
  css: ['.sIFR-root {color:  #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.direct-debit h3',
  css: ['.sIFR-root {color:  #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.number h3',
  css: ['.sIFR-root {color:  #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});
sIFR.replace(themixbold, {
  selector: '.carousel h2',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});

//Products and services
sIFR.replace(themixbold, {
  selector: '.products-services h3',
  css: ['.sIFR-root {color: #00195d;kerning:true;leading:-5}'
  ],
  wmode:'transparent',
  ratios: themixratios,
  tuneHeight:-3
});