/* Please do NOT change the order and ensure if adding a style you do it at the right place */
var nwRegular = { src: '/_flash/sifr.swf' };

sIFR.activate(nwRegular);
sIFR.fixHover = false;
sIFR.fitExactly = true;

/* Tabs */


sIFR.replace(nwRegular, {
  selector: '.contentStyle02 ul.tabs li.active a',  
  css: [ '.sIFR-root {color:#FFFFFF; font-size:12px;line-height:18px; cursor:pointer; text-align: center; }' ],
  tuneHeight: '-5',
  offsetTop: '0',
  wmode: 'transparent',
  onRelease:function(fi){fi.getAncestor().click();}
});
sIFR.replace(nwRegular, {
  selector: '.contentStyle02 ul.tabs li a',
  css: ['.sIFR-root {color: #69317e; font-size:12px;line-height:18px; cursor:pointer; text-align: center; }' ],
  tuneHeight: '-5',
  offsetTop: '0',
  wmode: 'transparent',
  onRelease:function(fi){fi.getAncestor().click();}
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle04b ul.tabs li.active a',
  css: '.sIFR-root {color: #ffffff; font-size:15px;line-height:18px; cursor:pointer; text-align: center; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent',
  onRelease:function(fi){fi.getAncestor().click();}
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle04b ul.tabs li a',
  css: '.sIFR-root {color: #69317e; font-size:15px;line-height:18px; cursor:pointer; text-align: center; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent',
  onRelease:function(fi){fi.getAncestor().click();}
});

/* H1 */

sIFR.replace(nwRegular, {
  selector: '.homePageWrapper h1',
  css: '.sIFR-root {color: #ffffff; font-size:32px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '-3',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle00 h1',
  css: '.sIFR-root {color: #ffffff; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '-3',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle02 h1',
  css: '.sIFR-root {color: #ffffff; font-size:20px;line-height:25px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle08 h1',
  css: '.sIFR-root {color: #ffffff; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});


sIFR.replace(nwRegular, {
  selector: '.contentStyle12 h1',
  css: '.sIFR-root {color: #ffffff; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle16 h1',
  css: '.sIFR-root {color: #ffffff; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle21 h1',
  css: '.sIFR-root {color: #000033; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});


/* H2 */

sIFR.replace(nwRegular, {
  selector: '.homePageWrapper h2',
  css: '.sIFR-root {color: #ffffff; font-size:22px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '-3',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle00 h2',
  css: '.sIFR-root {color: #ffffff; font-size:18px;line-height:50px; background-colour:#f00; }',
  tuneHeight: '-6',
  offsetTop: '-3',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle08 h2',
  css: '.sIFR-root {color: #ffffff; font-size:17px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle12 h2',
  css: '.sIFR-root {color: #ffffff; font-size:18px;line-height:50px; }',
  tuneHeight: '-4',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle16 h2',
  css: '.sIFR-root {color: #ffffff; font-size:16px;line-height:50px; }',
  //tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle20 h2',
  css: '.sIFR-root {color: #ffffff; font-size:20px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

/* H3 */

sIFR.replace(nwRegular, {
  selector: '.contentStyle02 div.selector h3',
  css: [
		'.sIFR-root {color: #000033; font-size:18px; line-height:22px; height:22px; text-decoration:none; }',
		'a { color: #000033; text-decoration:none; }',
		'a:hover { color:#000033; text-decoration:underline; }'
		],
  tuneHeight: '0',
  offsetTop: '0',
  wmode: 'transparent'
})


/* P */

sIFR.replace(nwRegular, {
  selector: '.homePageWrapper p',
  css: '.sIFR-root {color: #ffffff; font-size:16px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle02 p.nw',
  css: '.sIFR-root {color: #000033; font-size:15px;line-height:20px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: 'p.strapline1',
  css: '.sIFR-root {color: #000033; font-size:16px;line-height:20px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: 'p.strapline',
  css: '.sIFR-root {color: #000033; font-size:14px;line-height:20px; }',
  tuneHeight: '-4',
  offsetTop: '0',
  wmode: 'transparent'
});

/* Other */

sIFR.replace(nwRegular, {
  selector: '.contentStyle04 ol li span.left span',
  css: '.sIFR-root {color: #ffffff; font-size:13px;line-height:18px; }',
  tuneHeight: '-6',
  offsetTop: '-2',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.tableStyle01 th',
  css: '.sIFR-root {color: #1d1e49; font-size:16px;line-height:18px; }',
  tuneHeight: '-6',
  offsetTop: '0',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.contentStyle04b ul.control li.center',
  css: '.sIFR-root {color: #69317E; font-size:16px;line-height:18px; text-align:center; }',
  tuneHeight: '-6',
  offsetTop: '-2',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.blog h1',
  css: '.sIFR-root {color: #69317E; font-size:30px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '-2',
  wmode: 'transparent'
});

sIFR.replace(nwRegular, {
  selector: '.blog h2',
  css: '.sIFR-root {color: #69317E; font-size:18px;line-height:50px; }',
  tuneHeight: '-6',
  offsetTop: '-2',
  wmode: 'transparent'
});
