/*---------------------------------
COLOURS:		PRIMARY		LIGHT
home:	pink	#FF009D		#FFCCEB
who:	orange	#FF8700		#FFE7CC
what:	blue	#009AD8		#CCEBF7
where:	green	#00DC29		#CCF8D4
---------------------------------*/


//Define the Flash file to use:
var TheSerifB5Plain = {
  src: 'swf/TheSerifB5Plain.swf'
    //,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var TheSerifB7Bold = {
  src: 'swf/TheSerifB7Bold.swf'
    //,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
//sIFR.useStyleCheck = true;
//Tell sIFR to activate + load movie file:
sIFR.activate(TheSerifB5Plain, TheSerifB7Bold);

//Begin replacing elements:

/* HOW TO WORK OUT RATIOS 
sIFR.debug.ratios(TheSerifB5Plain, { 
	selector: '.supporting_content h2' 
	});
*/

if(typeof sIFR == "function"){
    sIFR.bHideBrowserText = true;
    sIFR.setup();
    
};


/*  W H E R E   C O L O U R S  */

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h2.where_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#00DC29; font-size:16px; leading:0;; }'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #00DC29; }'
      	,'a:hover { color: #666666; }'
		]
	});

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h1.where_h1'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#00DC29; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #00DC29; }'
      	,'a:hover { color: #666666; }'
		]
	});

/*  W H A T   C O L O U R S  */

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h2.what_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#009AD8; font-size:16px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #009AD8; }'
      	,'a:hover { color: #666666; }'
		]
	});

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h1.what_h1'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#009AD8; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #009AD8; }'
      	,'a:hover { color: #666666; }'
		]
	});

/*  W H O   C O L O U R S  */

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h2.who_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#FF8700; font-size:16px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #FF8700; }'
      	,'a:hover { color: #666666; }'
		]
	});


sIFR.replace(TheSerifB5Plain, {
  	selector: 'h1.who_h1'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#FF8700; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #FF8700; }'
      	,'a:hover { color: #666666; }'
		]
	});
	
/*  G E N E R A L   C O L O U R S  */

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h2.general_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#FF009D; font-size:16px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #FF009D; }'
      	,'a:hover { color: #666666; }'
		]
	});


sIFR.replace(TheSerifB5Plain, {
  	selector: 'h1.general_h1'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#FF009D; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #FF009D; }'
      	,'a:hover { color: #666666; }'
		]
	});	


/*  H O M E   C O L O U R S  */

sIFR.replace(TheSerifB7Bold, {
  	selector: '.main_content h1.home_h1'
	,ratios: [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]
	,wmode:'transparent'
	,fitExactly: true
	,css: [
		'.sIFR-root { color:#FF009D; font-size:26px; leading:0;}'
		,'a { text-decoration: none; }'
      	,'a:link { color: #FF009D; }'
      	,'a:hover { color: #666666; }'
		]
	});

sIFR.replace(TheSerifB5Plain, {
  	selector: '.main_content h2.home_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#000000; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #FF009D; }'
      	,'a:hover { color: #666666; }'
		]
	});

sIFR.replace(TheSerifB5Plain, {
  	selector: 'h2.generic_h2'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#000000; font-size:16px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #666666; }'
		]});

sIFR.replace(TheSerifB5Plain, {
    selector: 'h2.generic_h2_maincol'
	, wmode: 'transparent'
	, fitExactly: true
	, css: [
 		'.sIFR-root { color:#000000; font-size:26px; leading:0;}'
     	, 'a { text-decoration: none; }'
      	, 'a:link { color: #000000; }'
      	, 'a:hover { color: #666666; }'
		]
});	

sIFR.replace(TheSerifB7Bold, {
    selector: 'h2.generic_h2_sidecol'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
 		'.sIFR-root { color:#000000; font-size:26px; leading:0;}'
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #666666; }'
		]
	});

/**/
/*  W H O   C O L O U R S  


/*  N A V I G A T I O N  */

sIFR.replace(TheSerifB7Bold, {
  	selector: '.headernav li '
	,wmode:'transparent'
	,fitExactly: true
	,css: [
		'.sIFR-root { color:#000000; leading:3; font-size:20px; font-style:italic; height:35px; }',
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #00DC29; }'
		]
	});

sIFR.replace(TheSerifB7Bold, {
  	selector: '.headernav li.where'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
		'.sIFR-root { color:#000000; leading:3; font-size:20px; font-style:italic; height:35px; }',
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #009AD8; }'
		]
	});

sIFR.replace(TheSerifB7Bold, {
  	selector: '.headernav li.what'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
		'.sIFR-root { color:#000000; leading:3; font-size:20px; font-style:italic; height:35px; }',
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #009AD8; }'
		]
	});


sIFR.replace(TheSerifB7Bold, {
  	selector: '.headernav li.who'
	,wmode:'transparent'
	,fitExactly: true
	,css: [
		'.sIFR-root { color:#000000; leading:3; font-size:20px; font-style:italic; height:35px; }',
     	,'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #FF8700; }'
		]
	});



/*  S T R A P L I N E  */

sIFR.replace(TheSerifB7Bold, {
  	selector: '.strapline'
    ,wmode: 'transparent'
    ,fitExactly: true
	,css: [
		'.sIFR-root { color:#000000; leading:3; font-size:12px; font-style:italic; height:35px;}',
		]
	,wmode:'transparent'
	});

/* I N T R O   T E X T  */

sIFR.replace(TheSerifB5Plain, {
  	selector: '.intro'
    ,wmode: 'window'
    ,fitExactly: true
	,css: [
		'.sIFR-root { text-align: left; color:#000000; font-size:16px; }',
		,'a { text-decoration: none; }'
      	,'a:link { color: #000000; text-decoration: underline; }'
      	,'a:hover { color: #999999; }'
		]
	,wmode:'transparent'
	});


