function display_all(){
//alert("haha");
	var table=["filleul","gamertag","psn", "steam", "xfire", "facebook", "twitter", "myspace", "deviantart", "flickr", "youtube", "dailymotion"] 
	
	for(var i=0; i<table.length; i++){

	if(document.getElementById("ajout_link_"+table[i]))
	document.getElementById("ajout_link_"+table[i]).removeAttribute("style", "");
	
	if(document.getElementById("modif_link_"+table[i]))
	document.getElementById("modif_link_"+table[i]).removeAttribute("style", "");
	}
}

function display(section){
if(document.getElementById(section).getAttribute("style")=="" || document.getElementById(section).getAttribute("style") == null)
document.getElementById(section).setAttribute("style", "display:none;");
else
document.getElementById(section).removeAttribute("style");
}


function modif(option){
	document.getElementById("modif_"+option).removeAttribute("style");
	document.getElementById("modif_link_"+option).setAttribute("style", "display:none");
}

function ajout(option){
	document.getElementById("ajout_"+option).removeAttribute("style");
	document.getElementById("ajout_link_"+option).setAttribute("style", "display:none");
}

function annule_modif(option){
	document.getElementById("modif_link_"+option).removeAttribute("style");
	document.getElementById("modif_"+option).setAttribute("style", "display:none");
}

function annule_ajout(option){
	document.getElementById("ajout_link_"+option).removeAttribute("style");
	document.getElementById("ajout_"+option).setAttribute("style", "display:none");

}
