<!--
function popup(url) {   var w=620;

        var h=500;
        var scroll='no';
    var winl = (screen.width-w)/2;
    var wint = ((screen.height-h)/2)-30;
    var settings  ='height='+h+',';
        settings +='width='+w+',';
        settings +='top='+wint+',';
        settings +='left='+winl+',';
        settings +='scrollbars=yes,';
        settings +='resizable=yes,';
        settings +='menubar=0,status=0';
    win=window.open(url,"popup",settings);
    if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
        }
// -->

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function display_bloc(e){
	if(document.getElementById(e).style.display == "none") document.getElementById(e).style.display = "block";
	else document.getElementById(e).style.display = "none";
}

function display_bloc2(e,etat){
	if(etat == 1) document.getElementById(e).style.display = "block";
	else document.getElementById(e).style.display = "none";
}

function splashScreenauto(img) {
	titre="Image";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE>");
	w.document.write("<SC"+"RIPT language=java"+"script> function checksize()  { if (document.images['img'].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT></HEAD>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><center><IMG src='"+img+"' border=0 name='img'></center>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}