function show(nom){x=document.getElementById(nom);if(x!=null){x.style.visibility='visible';}}
function hide(nom){x=document.getElementById(nom);if(x!=null){x.style.visibility='hidden';}}
function show2(nom){x=document.getElementById(nom);if(x!=null){x.style.display='';}}
function hide2(nom){x=document.getElementById(nom);if(x!=null){x.style.display='none';}}
function load(){if(document.images){this.length=load.arguments.length;for(i=0;i<this.length;i++){this[i+1]=new Image();this[i+1].src=load.arguments[i]}}}var imgs;
function goprint(){if(typeof(window.print)!='undefined'){window.print()}}
function clic_droit(){alert("Cliquez ici avec le bouton DROIT pour forcer éventuellement l\'image à s\'afficher !");}
function exit(){if(parent.frames.length>0){window.top.location.href=location.href}}
exit();
// Nouvelles fenêtres (plus simple via target="_blank" sauf qd paramètres même si pas dans DTD ou pour éviter recensement)
function win_open(nom){window.open(nom,'_blank');}
function preview(id,ref){fich="../../tel/img/preview.php?fnom="+ref+id;win_open(fich);}
function aide(nom,id){fich="aides/"+nom+".php"+id;win_open(fich);}
function balade(nom,id){fich="../balade/"+nom+".php"+id;win_open(fich);}
function mathenpoche(s1,s2,s3,s4,s5){fich="mathfram.php?s1="+s1+"&s2="+s2+"&s3="+s3+"&s4="+s4+"&s5="+s5;win_open(fich);}
// Pour les pages mathématiques
function chgimg(nom,file){x=document.getElementById(nom);x.src='img/'+file+'.gif';}
function colorf(nom,coul){x=document.getElementById(nom);x.style.background=coul;}
function colort(nom,coul){x=document.getElementById(nom);x.style.color=coul;}
