function fonction_type_eps() {
	window.document.add_anime_file.nombre.disabled = false;
	window.document.add_anime_file.version.disabled = false;
	window.document.add_anime_file.autre.disabled = true;
}

function fonction_type_autre() {
	window.document.add_anime_file.nombre.disabled = true;
	window.document.add_anime_file.version.disabled = true;
	window.document.add_anime_file.autre.disabled = false;
}

function functionddl_active() {
	var ddl_actif = window.document.add_anime_file.ddl_active;
	if (ddl_actif.checked  == true) {
		window.document.add_anime_file.ddl_lien.disabled = false;
		window.document.add_anime_file.ddl_lien.value = "http://";
	}
	if (ddl_actif.checked == false) {
		window.document.add_anime_file.ddl_lien.disabled = true;
		window.document.add_anime_file.ddl_lien.value = "";
	}
}

function functioncoprod_active() {
	var coprod_actif = window.document.add_anime_file.coprod_active;
	if (coprod_actif.checked  == true) {
		window.document.add_anime_file.coprod.disabled = false;
	}
	if (coprod_actif.checked == false) {
		window.document.add_anime_file.coprod.disabled = true;
	}
}


function function_critique_why() {
	window.document.admincritique.reason.value = window.document.admincritique.why_select.value;
}


function function_reload_filtre() {
	
	window.location.reload('&amp;');	
}


function check(){ 
   var taille = document.selectsortie.elements.length; 
   var element = null; 
   for(i=0; i < taille; i++){ 
      element = document.selectsortie.elements[i]; 
      if(element.type == "checkbox") 
         element.checked = true; 
   } 
       
} 



