$(document).ready(function() {
	// MENU ITEM
	var top = $("#head .menuitem").css("top");
	$("#head .menuitem").css("top",0);
	$("#head .menuitem").animate({ top: top },1500);
	
	// SILHOUETTE
	$("#head .silhouette").css("left",-200);
	$("#head .silhouette").animate({ left: 0 },1500);
	
	// ENTETE
	$("#head .title").css("left",1500);
	$("#head .title").animate({ left: 25 },1500);
});


sIFR.replace(futura, {
	selector: 'h1.title',
	thickness: -50,
	sharpness: 50,
	css: [
		'.sIFR-root { font-size: 25px; color: #003668; text-transform: uppercase; text-align: right; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

sIFR.replace(futura, {
	selector: 'h2.subtitle',
	thickness: -50,
	sharpness: 50,
	fitExactly: true,
	css: [
		'.sIFR-root { font-size: 15px; color: #007f9f; text-transform: uppercase; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

sIFR.replace(futura, {
	selector: 'h3',
	thickness: -50,
	sharpness: 50,
	fitExactly: true,
	css: [
		'.sIFR-root { font-size: 18px; color: #002795; text-transform: uppercase; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

sIFR.replace(futura, {
	selector: 'h4',
	thickness: -50,
	sharpness: 50,
	fitExactly: true,
	css: [
		'.sIFR-root { font-size: 16px; color: #007f9f; text-transform: uppercase; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

function FlvPlayer(src,title) {
	Shadowbox.open({
        player: "flv",
        title: "Vidéo - "+title,
        content: "../../../content/media/"+src,
        width: 480,
        height: 320
    });
}
