$(document).ready(function() {
	$('a.preload').preload();
});

$(document).ready(function() {
	$("rollover img").each(function() {
		rollsrc = $(this).attr("src");
		rollON = rollsrc.replace(/.gif$/ig,"_over.gif");
		$("<img>").attr("src", rollON);
	});
	$(".rollover").mouseover(function(){
		imgsrc = $(this).children("img").attr("src");
		matches = imgsrc.match(/_active/);
		if (!matches) {
		imgsrcON = imgsrc.replace(/.gif$/ig,"_active.gif");
		$(this).children("img").attr("src", imgsrcON);
		}
	});
	$(".rollover").mouseout(function(){
		$(this).children("img").attr("src", imgsrc);
	});
});

sIFR.replace(helvetica, {
	selector: 'h1.title',
	css: [
		'.sIFR-root { font-size: 33px; color: #593018; text-align: right; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: 'h2.title',
	css: [
		'.sIFR-root { font-size: 22px; color: #196c5f; font-style: italic; text-align: right; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: 'h3.title',
	css: [
		'.sIFR-root { font-size: 20px; color: #593018; text-align: right; }',
		'em { font-style: italic; color: #196c5f; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.content h4.title',
	css: [
		'.sIFR-root { font-size: 14px; color: #593018; font-style: italic; }',
		'em { font-style: italic; color: #196c5f; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.top h1.float_right',
	css: [
		'.sIFR-root { font-size: 16px; color: #ffffff; text-align: right; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.top h1',
	css: [
		'.sIFR-root { font-size: 16px; color: #ffffff; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.bloc h1',
	css: [
		'.sIFR-root { font-size: 18px; color: #196c5f; font-style: italic; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.pied h1',
	css: [
		'.sIFR-root { font-size: 18px; color: #ffffff; font-style: italic; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.pied h2',
	css: [
		'.sIFR-root { font-size: 15px; color: #ffffff; font-style: italic; text-transform: uppercase; }',
		'em { font-style: bold; color: #29a592; }'
		],
		wmode: 'transparent'
	});
sIFR.replace(helvetica, {
	selector: '.phrase h1',
	css: [
		'.sIFR-root { font-size: 30px; color: #ffffff; font-style: italic; font-style: bold; text-align: center; }',
		'em { font-style: bold; color: #29a592; }'
		],
		wmode: 'transparent'
	});