
// Define Flash font file
var frucade = {
	src: '/site/inc/flash/frucade.swf'
    ,ratios: [6,1.24,7,1.13,8,1.18,9,1.1,10,1.15,11,1.09,12,1.12,13,1.07,15,1.06,16,1.09,17,1.06,18,1.08,19,1.05,20,1.07,21,1.04,22,1.07,23,1.04,24,1.06,25,1.04,26,1.06,27,1.03,28,1.05,29,1.03,30,1.05,31,1.03,32,1.05,33,1.03,34,1.04,35,1.03,36,1.04,37,1.03,38,1.04,39,1.02,40,1.04,41,1.02,43,1.02,44,1.03,45,1.02,46,1.03,47,1.02,48,1.03,49,1.02,50,1.03,51,1.02,52,1.03,53,1.02,54,1.03,55,1.02,56,1.03,57,1.02,58,1.03,59,1.02,60,1.02,61,1.02,62,1.02,63,1.01,64,1.02,65,1.01,66,1.02,67,1.01,68,1.02,69,1.01,71,1.01,72,1.02,73,1.01,74,1.02,75,1.01,76,1.02,77,1.01,78,1.02,79,1.01,80,1.02,81,1.01,82,1.02,83,1.01,84,1.02,85,1.01,86,1.02,87,1.01,88,1.02,89,1.01,90,1.02,91,1.01,92,1.02,93,1.01,94,1.02,95,1.01,96,1.02,97,1.01,99,1.01,100,1.01,101,1.01,102,1.01,103,1.01,104,1.01,105,1.01,106,1.01,107,1.01,108,1.01,109,1.01,110,1.01,111,1.01,112,1.01,113,1.01,114,1.01,115,1.01,116,1.01,117,1.01,118,1.01,119,1.01,120,1.01,121,1.01,122,1.01,123,1.01,124,1.01,1.01]
};
var semplice = {
	src: '/site/inc/flash/semplice.swf'
    ,ratios: [6,1.82,7,1.8,8,1.81,9,1.75,10,1.75,11,1.72,12,1.73,13,1.73,14,1.71,15,1.71,16,1.72,17,1.69,18,1.7,19,1.68,20,1.69,21,1.69,22,1.68,23,1.68,24,1.69,25,1.67,26,1.67,27,1.66,28,1.67,29,1.67,30,1.66,31,1.66,32,1.67,33,1.66,34,1.66,35,1.66,36,1.66,37,1.66,38,1.66,39,1.66,40,1.66,41,1.65,42,1.66,43,1.65,44,1.65,45,1.65,46,1.65,47,1.65,48,1.66,49,1.65,50,1.65,51,1.65,52,1.65,53,1.65,54,1.65,55,1.65,56,1.65,57,1.65,58,1.65,59,1.64,60,1.65,61,1.65,62,1.64,63,1.64,64,1.65,65,1.64,66,1.64,67,1.64,68,1.64,69,1.64,70,1.64,71,1.64,72,1.65,73,1.64,74,1.64,75,1.64,76,1.64,77,1.64,78,1.64,79,1.64,80,1.64,81,1.64,82,1.64,83,1.64,84,1.64,85,1.64,86,1.64,87,1.64,88,1.64,89,1.64,90,1.64,91,1.64,92,1.64,93,1.64,94,1.64,95,1.64,96,1.64,97,1.64,98,1.64,99,1.64,100,1.64,101,1.64,102,1.64,103,1.64,104,1.64,105,1.64,106,1.64,107,1.63,108,1.64,109,1.64,110,1.64,111,1.64,112,1.64,113,1.64,114,1.64,115,1.63,116,1.64,117,1.64,118,1.64,119,1.64,120,1.64,121,1.63,122,1.64,123,1.63,1.64]
};
var afbattersea = {
	src: '/site/inc/flash/afbattersea.swf'
    ,ratios: [6,1.24,7,1.21,8,1.18,10,1.16,11,1.13,12,1.12,13,1.11,15,1.1,17,1.09,19,1.08,22,1.07,27,1.06,35,1.05,45,1.04,46,1.03,62,1.04,83,1.03,87,1.02,98,1.03,1.02]
//[6,1.24,7,1.21,8,1.18,9,1.16,10,1.15,11,1.13,12,1.12,13,1.11,14,1.1,15,1.1,16,1.09,17,1.09,18,1.08,19,1.08,20,1.07,21,1.07,22,1.07,23,1.06,24,1.06,25,1.06,26,1.06,27,1.06,28,1.05,29,1.05,30,1.05,31,1.05,32,1.05,33,1.05,34,1.05,35,1.05,36,1.04,37,1.04,38,1.04,39,1.04,40,1.04,41,1.04,42,1.04,43,1.04,44,1.04,45,1.04,46,1.03,47,1.04,48,1.04,49,1.04,50,1.04,51,1.04,52,1.03,53,1.03,54,1.03,55,1.03,56,1.03,57,1.03,58,1.03,59,1.03,60,1.03,61,1.03,62,1.03,63,1.03,64,1.03,65,1.03,66,1.03,67,1.03,68,1.03,69,1.03,70,1.03,71,1.03,72,1.03,73,1.03,74,1.03,75,1.03,76,1.03,77,1.03,78,1.02,79,1.02,80,1.02,81,1.02,82,1.02,83,1.02,84,1.02,85,1.02,86,1.02,87,1.02,88,1.03,89,1.03,90,1.03,91,1.03,92,1.03,93,1.03,94,1.03,95,1.03,96,1.03,97,1.03,98,1.03,99,1.02,100,1.02,101,1.02,102,1.02,103,1.02,104,1.02,105,1.02,106,1.02,107,1.02,108,1.02,109,1.02,110,1.02,111,1.02,112,1.02,113,1.02,114,1.02,115,1.02,116,1.02,117,1.02,118,1.02,119,1.02,120,1.02,121,1.02,122,1.02,123,1.02,124,1.02,1.02]
};
  
// Other settings
// sIFR.debugMode = false;
// sIFR.delayCSS  = true;
// sIFR.domains = ['dedece.com'] 
// sIFR.fitExactly = true;
//sIFR.fixHover = true;

sIFR.useDomContentLoaded = true;

// Fetch and activate sIFR
sIFR.activate(frucade, semplice, afbattersea);

// Define Styles to replace
// Frucade
//sIFR.debug.ratios({ src: '/site/inc/flash/frucade.swf', selector: 'h2.embedFrucade8Red' });
sIFR.replace(frucade, {
	selector: 'h2.embedFrucade8Red,h1.embedFrucade8Red'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color: #db0000; text-transform: uppercase; font-size: 8px }'
		,'a { color: #db0000; text-decoration: none; }'
		,'a:hover { color: #db0000; text-decoration: underline; }'
	]
	,pixelFont : true
	,fitExactly : true
	,forceWidth: true
	//,fixHover: true
    ,tuneHeight: -5
    ,offsetTop: 0
    ,wmode: 'transparent'
});
//sIFR.debug.ratios(frucade, { selector: 'h2.embedFrucade8Red' });


// Semplice
//sIFR.debug.ratios({ src: '/site/inc/flash/semplice.swf', selector: 'h2.embedSemplice8Grey' });
sIFR.replace(semplice, {
	selector: 'h2.embedSemplice8Grey, span.embedSemplice8Grey, h1.embedSemplice8Grey'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color: #8a8a8a; text-transform: uppercase; font-size: 8px; }'
		,'a { color: #8a8a8a; text-decoration: none; }'
		,'a:hover { color: #8a8a8a; text-decoration: underline; }'
	]
	,pixelFont : true
	,fitExactly : true
	//,fixHover: true
    ,tuneHeight: -5
    ,offsetTop: 0
    ,wmode: 'transparent'
});
sIFR.replace(semplice, {
	selector: 'h2.embedSemplice8GreyU, span.embedSemplice8GreyU, h1.embedSemplice8GreyU'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color: #8a8a8a; text-transform: uppercase; text-decoration: underline; font-size: 8px; }'
		,'a { color: #8a8a8a; text-decoration: none; }'
		,'a:hover { color: #8a8a8a; text-decoration: underline; }'
	]
	,pixelFont : true
	,fitExactly : true
	//,fixHover: true
    ,tuneHeight: -5
    ,offsetTop: 0
    ,wmode: 'transparent'
});

// AF Battersea
//sIFR.debug.ratios({ src: '/site/inc/flash/afbattersea.swf', selector: 'h2.embedAFBattersea18Red' });
//sIFR.debug.ratios({ src: '/site/inc/flash/afbattersea.swf', selector: 'h2.embedAFBattersea18RedU' });
//sIFR.debug.ratios({ src: '/site/inc/flash/afbattersea.swf', selector: 'h2.embedAFBattersea24Grey' });

sIFR.replace(afbattersea, {
	selector: 'span.embedAFBattersea18Red,h2.embedAFBattersea18Red,h1.embedAFBattersea18Red'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color: #db0000; font-size: 18px;}'
		,'a { color: #db0000; text-decoration: none; }'
		,'a:hover { color: #db0000; text-decoration: underline; }'
	]
	,fitExactly : true
	//,fixHover: true
    ,tuneHeight: -6
    ,offsetTop: 0	
    ,wmode: 'transparent'
});
sIFR.replace(afbattersea, {
	selector: 'span.embedAFBattersea18RedU,h2.embedAFBattersea18RedU,h1.embedAFBattersea18RedU'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color: #db0000; font-size: 18px; text-decoration: underline; }'
		,'a { color: #db0000; text-decoration: underline; }'
		,'a:hover { color: #db0000; text-decoration: none; }'
	]
	,fixHover: true
    ,tuneHeight: -4
    ,offsetTop: 0
    ,wmode: 'transparent'
});
sIFR.replace(afbattersea, {
	selector: 'h2.embedAFBattersea24Grey,h1.embedAFBattersea24Grey'
	,css: [
		'.sIFR-root { text-align: left; font-weight: bold; letter-spacing:-1; color: #8b8b8b; font-size: 24px }'
		,'a { color: #8b8b8b; text-decoration: none; }'
		,'a:hover { color: #8b8b8b; text-decoration: underline; }'
	]
	,fitExactly: true
	//,fixHover: true
    ,tuneHeight: -7
    ,offsetTop: -4
    ,wmode: 'transparent'
});
sIFR.replace(afbattersea, {
	selector: 'h2.embedAFBattersea18White,h1.embedAFBattersea18White'
	,css: [
		'.sIFR-root { text-align: left; font-weight: bold; letter-spacing:-0.5; leading:-4; color: #ffffff; font-size: 18px }'
		,'a { color: #ffffff; text-decoration: none; }'
		,'a:hover { color: #ffffff; text-decoration: underline; }'
	]
	,wmode: 'transparent'
	//,fixHover: true
	,fitExactly: true
    ,tuneHeight: -5
    ,offsetTop: 0
});
sIFR.replace(afbattersea, {
	selector: 'h2.embedAFBattersea18Grey,h1.embedAFBattersea18Grey'
	,css: [
		'.sIFR-root { text-align: left; font-weight: bold; letter-spacing:-0.5; leading:-4; color: #575757; font-size: 18px }'
		,'a { color: #575757; text-decoration: none; }'
		,'a:hover { color: #db0000; text-decoration: underline; }'
	]
	,wmode: 'transparent'
	//,fixHover: true
	,fitExactly: true
    ,tuneHeight: -5
    ,offsetTop: -1
});









