
var agbook = { src: 'http://softdrinksreport2009.britvic.com/sifr/fonts/agbook.swf'};var mcstone = { src: 'http://softdrinksreport2009.britvic.com/sifr/fonts/mcstone.swf'}; 

sIFR.useStyleCheck = true;

sIFR.activate(agbook, mcstone);
 
sIFR.replace(agbook, {
  selector: '#head #header h1', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#000000; text-transform:uppercase; }', 
  wmode:'transparent'
});

sIFR.replace(agbook, {
  selector: '#y08 #landing-hdrs h2, #opm #landing-hdrs h2', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#ffffff; text-transform:uppercase;  }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#landing-hdrs h2', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#000000; text-transform:uppercase;  }', 
  wmode:'transparent'
});

sIFR.replace(agbook, {
  selector: '#maincontent h2', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#000000; text-transform:uppercase;  }', 
  wmode:'transparent'
});

sIFR.replace(agbook, {
  selector: '#tabcontcol h2', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#000000; text-transform:uppercase; }', 
  wmode:'transparent',
  tuneHeight:-8
});
//media library - secondary header
sIFR.replace(agbook, {
  selector: '#med #tabcontcol h3', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#ff2b4e; text-transform:uppercase; }', 
  wmode:'transparent',
  tuneHeight:-6,
  offsetTop:-4
});
//media library - secondary header
sIFR.replace(agbook, {
  selector: '#dat #tabcontcol h3', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#a149ba; text-transform:uppercase; }', 
  wmode:'transparent',
  tuneHeight:-6,
  offsetTop:-4
});


sIFR.replace(agbook, {
  selector: '#imgbgcol h2', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#000000; text-transform:uppercase;  }', 
  wmode:'transparent'
});

//intro paragraphs
sIFR.replace(agbook, {
  selector: '#int #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#00aab0; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#y08 #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#ec008c; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#thm #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#00baef; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#opm #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#fd7017; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#con #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#901863; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#gts #maincontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#4e9fba; }', 
  wmode:'transparent'
});
sIFR.replace(agbook, {
  selector: '#dat #tabcontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#9e5dd0; }', 
  wmode:'transparent'
});sIFR.replace(agbook, {
  selector: '#med #tabcontent p.intro', 
  ratios: [8, 1.3, 11, 1.21, 12, 1.2, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { color:#ff2b4e; }', 
  wmode:'transparent'
});


//pullout statistics - detail pages
sIFR.replace(mcstone, {
  selector: '#suppcontent .stat-dsc q', 
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 23, 1.27, 30, 1.28, 44, 1.26, 59, 1.25, 62, 1.24, 63, 1.25, 66, 1.24, 67, 1.25, 101, 1.24, 102, 1.23, 114, 1.24, 115, 1.23, 118, 1.24, 119, 1.23, 121, 1.24, 124, 1.23, 1.24],
  css: '.sIFR-root { color:#000000; font-size:90px;}', 
  wmode:'transparent',
  offsetLeft:5,
  offsetRight:5
});
sIFR.replace(mcstone, {
  selector: '#landingbg #landing-tsrs .tsrbox .stat', 
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 23, 1.27, 30, 1.28, 44, 1.26, 59, 1.25, 62, 1.24, 63, 1.25, 66, 1.24, 67, 1.25, 101, 1.24, 102, 1.23, 114, 1.24, 115, 1.23, 118, 1.24, 119, 1.23, 121, 1.24, 124, 1.23, 1.24],
  css: '.sIFR-root { color:#000000; font-size:55px; }', 
  wmode:'transparent',
  offsetTop:-24,
  tuneHeight:-50
});




//sIFR.debug.ratios({ src: '/sifr/fonts/mcstone.swf', selector: '#suppcontent .stat-dsc q' });
