
// pour un flash en background
function RunFooBack(swf, hauteur, largeur, couleur, nom) {
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('WIDTH="'+largeur+'" HEIGHT="'+hauteur+'"');
	document.write('CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">');
	document.write('<PARAM NAME="MOVIE" VALUE="'+swf+'">');
	document.write('<PARAM NAME="PLAY" VALUE="true">');
	document.write('<PARAM NAME="LOOP" VALUE="true">');
	document.write('<PARAM NAME="WMODE" VALUE="transparent">');
	document.write('<PARAM NAME="QUALITY" VALUE="high">');
	document.write('<EMBED SRC="'+swf+'" WIDTH="'+largeur+'" HEIGHT="'+hauteur+'" PLAY="true" LOOP="true" WMODE="transparent" QUALITY="high"');
	document.write('PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}

$(document).ready(function ()
{
	$('.lire_p2 a').hide();
	
	$('.lire_p1 a').click(function() {
		var a = this;
		$(this).parents('div.texte_accueil').find('.texte').css('float','left').slideDown();
		
		$(a).hide();
		$('.lire_p2 a').show();
		return false;
	});
	
	$('.lire_p2 a').click(function() {
		var a = this;
		$(this).parents('div.texte_accueil').find('.texte').slideUp();
		
		$(a).hide();
		$('.lire_p1 a').show();
		
		return false;
	});
	
	$('ul.liste_produits_exemples').innerfade({ speed: 1000, timeout: 4000, type: 'random',animationtype:'fade' }); 



});

