/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/
sIFR.domains = ['*'];


var vag = {  
	src: REMOTE_BASE + 'swf/fonts/cochin.swf'  
}; 


var tempest = {  
	src: REMOTE_BASE + 'swf/fonts/tempest.swf'
}; 


sIFR.activate( vag );
sIFR.activate( tempest );


sIFR.replace( vag, {  
	selector: 'h2.ftext',
	css: '.sIFR-root { color: #ADADA0; }',
	wmode: "transparent"
}); 


sIFR.replace( vag, {  
	selector: '#serviceColShell h3',
	css: '.sIFR-root { color:#6d6d61; background-color:#eae9e4; leading:-4 }',
	wmode: "transparent"
}); 





sIFR.replace( vag, {  
	selector: 'h2.ftextadmin.deact',
	css: '.sIFR-root { color: #ADADA0; leading:-4 }',
	wmode: "transparent"
}); 


sIFR.replace( vag, {  
	selector: '#presH1',
	css: '.sIFR-root { color: #ADADA0; leading:0; }'
}); 
sIFR.replace( vag, {  
	selector: '#presH2',
	css: '.sIFR-root { color: #52237e; leading:-2; }'
});






sIFR.replace( vag, {  
	selector: '#awardAcc h4',
	css: '.sIFR-root { color: #808076; background-color:#F4F4F4; font-size:18px; }',
	wmode: "transparent"
}); 


sIFR.replace( vag, {  
	selector: 'h5.ftext',
	css: '.sIFR-root { color: #ADADA0; font-size:15px; color:#7f7e72; margin-top:0px;}'
});


sIFR.replace( vag, {  
	selector: '#awardsProlog h2',
	css: '.sIFR-root { color: #909085; font-size:17px; margin-top:0px;}'
});



(function() {
	sIFR.replace( vag, {
	selector: 'div.tBox .boxLeft .labelTitle .t1',
	css: '.sIFR-root { font-size:30px; color: #808076; leading:-10;background-color:#EAE9E4;  }',
	wmode: "transparent"
	});
	sIFR.replace( vag, {
		selector: 'div.tBox .boxLeft .labelTitle .t2',
		css: '.sIFR-root { font-size:30px; leading:-10; color: #ADADA0;background-color:#EAE9E4; }',
		wmode: "transparent",
		onReplacement: ofT2Replaced
	});
}).delay(10);


sIFR.replace( vag, {
	selector: '#whatProlog, #whatCol2 p',
	css: '.sIFR-root { font-size:18px; leading:0; color: #7A796E; }'
});

function ofT2Replaced( arg )
{
	var coords = $("ofT2").getCoordinates( $("titleOurFilms") );
	$("ofT1").setStyle( "bottom", (coords.height - 12) + "px" );
}


sIFR.replace( tempest, {
	selector: 'h2.tempest.purp.h60',
	css: '.sIFR-root { color: #531A7F; letter-spacing:-2; font-size:60px; background-color:#ffffff; leading:-15 }',
	wmode: "transparent",
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});
sIFR.replace( tempest, {  
	selector: 'h2.tempest.grey.h60',
	wmode: "transparent",
	css: '.sIFR-root { color: #BCBBA9; font-size:60px; background-color:#ffffff; leading:-15 }',
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});
sIFR.replace( tempest, {  
	selector: 'h2.tempest.purp.h70',
	css: '.sIFR-root { color: #531A7F; letter-spacing:-2; font-size:70px; background-color:#ffffff; leading:-15 }',
	wmode: "transparent",
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});
sIFR.replace( tempest, {  
	selector: 'h2.tempest.grey.h70',
	wmode: "transparent",
	css: '.sIFR-root { color: #BCBBA9; font-size:70px; background-color:#ffffff; leading:-15 }',
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});


/*
sIFR.replace( tempest, {  
	selector: 'div.tBox .boxLeft .labelMajor .t1',
	css: '.sIFR-root { color: #000000; font-size:30px; color: #ADADA0; background-color:#EAE9E4; leading:-10 }',
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});

sIFR.replace( tempest, {  
	selector: 'div.tBox .boxLeft .labelMajor .t2',
	css: '.sIFR-root { color: #000000; font-size:30px; color: #ADADA0; background-color:#EAE9E4; leading:-10 }',
	ratios: [8, 1.3, 10, 1.27, 15, 1.22, 24, 1.18, 26, 1.16, 27, 1.17, 35, 1.16, 44, 1.15, 63, 1.14, 64, 1.13, 67, 1.14, 68, 1.13, 70, 1.14, 119, 1.13, 120, 1.12, 124, 1.13, 1.12]
});
*/

//sIFR.debug.ratios({ src: 'swf/fonts/tempest.swf', selector: 'div.tBox .boxLeft .labelMajor' });



