/* mailto en javascript */ 
function nospam( n , d , tld ) {
	window.location = "mail" + "to" + ":" + n + "%40" + d + "%2e" + tld;
}
 
function nospam2( n , d , tld ) {
	document.write(n + "@" + d + "." + tld);
}
 
function openimage( img , width , height , titre , auteur) { 
  // Compatible IE5+ / NN6+ / Mozilla
  oFenetre = window.open('','Image','width='+width+',height='+height+',toolbar=no,scrollbars=no,resizable=yes');
  oFenetre.document.write("<html><head><title>"+titre+"</title><style type=\"text/css\"><!-- body { background-color:#fff; margin:0; } //--></style></head>"); 
  oFenetre.document.write("<script type=\"text/javascript\">function twAjustePopUp() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+60); window.focus();} else { setTimeout('twAjustePopUp()',1000) } }</"+"script>");
  oFenetre.document.write("<body onload='twAjustePopUp()' onblur='window.close()' onclick='window.close()'>"); 
  oFenetre.document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td valign='middle' align='center'>"); 
  oFenetre.document.write("<img src='"+img+"' border='0' alt='"+titre+"' title='"+auteur+"'>");
  oFenetre.document.write("</td></tr></table></body></html>"); 
  oFenetre.document.close(); 
}
 
function show(id) {
	var element = document.getElementById('list_' + id);
	if (element) {
		element.style.display = '';
	}
}
 
function hide(id) {
	var element = document.getElementById('list_' + id);
	if (element) {
		element.style.display = 'none';
	}
}
