// FONCTIONS UTILISEES PAR LA CLASSE_COMMUNEfunction lets_go_to(newlocation){    self.location = newlocation;}; /// end func lets_go_tofunction confirm_del(newlocation){    if(confirm("Confirmez-vous la suppression ?")) self.location = newlocation;}; /// end func confirm// permet d'inverser la visibilit? d'un div tr ou tdfunction inverse_visibilite(id_balise){  var obj_balise = document.getElementById(id_balise);  if (obj_balise == undefined) {    alert('le balise ' + id_balise + ' n\'existe pas');  } else {    ; // alert('balise ' + id_balise  + ' trouv?');    if (obj_balise.style.display!='none' || obj_balise.style.display=='' || obj_balise.style.display==undefined) {		change_visibilite(id_balise, false)    } else {		change_visibilite(id_balise, true)    }  }}function  change_visibilite(id_balise, afficher){  var obj_balise = document.getElementById(id_balise);  if (obj_balise == undefined) {    alert('le balise ' + id_balise + ' n\'existe pas');  } else {    if (afficher){		if (document.all) {			obj_balise.style.display='block';		} else {			switch(obj_balise.nodeName.toUpperCase()){				case "TR":					obj_balise.style.display='table-row';					break;				case "TD":					obj_balise.style.display='table-cell';					break;				default:					obj_balise.style.display='block';					break;			}		}    } else {    	obj_balise.style.display='none';    }  }}function update_date(evenement,input_text){	var key ;	if (document.all) {key = window.event.keyCode;}	else {key = evenement.which;}	if (key=="8" || key=="47" || key=="0"){return;}//	alert(key);	if (input_text.value.length=="2" || input_text.value.length=="5")		input_text.value=input_text.value+"/";}//ouvre une popup centerer par defaultfunction open_popup(lien,fenetre,width,height,param){	var left=(screen.availWidth-width)/2;	var top=(screen.availHeight-height)/2;	if (top <0) top=0;	if (param!='') param=','+param;	window.open(lien,fenetre,'top='+top+',left='+left+',width='+width+',height='+height+',scrollbars=yes'+param);	return false;}
