// JavaScript Document
// Noovéo
// http://www.nooveo.fr
function popupCentrer(page,largeur,hauteur) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+", menubar=no,resizable=no,scrollbars=yes,statusbar=no");
}

function runFoo(swf, largeur, hauteur, couleur, alternatif, fondcouleur)
{
 document.write('<object type="application/x-shockwave-flash" data="'+swf+'" width="'+largeur+'" height="'+hauteur+'">');
 document.write('<param name="allowScriptAccess" value="sameDomain" />');
 document.write('<param name="movie" value="'+swf+'" />');
 document.write('<param name="quality" value="high" />');
 if (!fondcouleur){
	 document.write('<param name="wmode" value="transparent" />');                                                  
 }
 document.write('<param name="menu" value="false" />');
 document.write(alternatif);
 document.write('<\/object>');
}

function montre_div(calque) {
	if (document.getElementById(calque).style.display == "none" || document.getElementById(calque).style.display == ""){
		document.getElementById(calque).style.display="block";
	}
	else{
		document.getElementById(calque).style.display="none";		
	}
}


$(document).ready(function(){
	$("#myController").jFlow({
		slides: "#mySlides",
		width: "420px",
		height: "125px",
		duration: 400
	});
});
