
function write_email(section, lg, nbr) {


info_data = new Array ();
	section_title = "xxx";


	// To add a section, copy all the lines
	// starting at "if (section == "xxx")" 
	// ending at the first " } "
	
	if (section == "avc") {
		if (lg == "fr") section_title = "Avocats" ;
		if (lg == "en") section_title = "Lawyers" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
		info_data [info_data.length] = ["R&eacute;mi Authier" , "LL.B." , "LL.B." , "r.authier"];
		info_data [info_data.length] = ["Annie Charron" , "LL.B." , "LL.B." , "A.Charron"];
		info_data [info_data.length] = ["Patrick Choquette" , "LL.B." , "LL.B." , "P.Choquette"];
		info_data [info_data.length] = ["Am&eacute;lie Chouinard" , "LL.B." , "LL.B." , "A.Chouinard"];
		info_data [info_data.length] = ["Suzy Chouinard" , "LL.L., D.E.SP. (LABOUR LAW)" , "LL.L., D.E.SP.<br>(DROIT DU TRAVAIL)" , "S.Chouinard"];
		info_data [info_data.length] = ["Pascal Comeau" , "LL.B." , "LL.B." , "P.Comeau"];
		info_data [info_data.length] = ["Joanne C&ocirc;t&eacute;" , "LL.B., D.E.SP. (ADMINISTRATIVE LAW)" , "LL.B., D.E.SP.<br>(DROIT ADMINISTRATIF)" , "J.Cote"];
		info_data [info_data.length] = ["Marc D&#146;Aoust" , "LL.L., D.E.SP. (COMMERCIAL LAW)" , "LL.L., D.E.SP. (DROIT COMMERCIAL)" , "M.Daoust"];
		info_data [info_data.length] = ["Marie-&Egrave;ve Dufort" , "LL.B." , "LL.B" , "M.Dufort"];
		info_data [info_data.length] = ["Robert Faguy" , "LL.B., B.A. (HON.), B.C.L." , "LL.B., B.A. (HON.), B.C.L." , "R.Faguy"];
		info_data [info_data.length] = ["Genevieve Forget" , "LL.L." , "LL.L." , "G.Forget"];
		info_data [info_data.length] = ["Suzanne Fortin" , "LL.L." , "LL.L." , "S.Fortin"];
		info_data [info_data.length] = ["Richard Gendron" , "LL.B. (CIVIL AND COMMERCIAL MEDIATOR), Dipl. de PRD (2nd cycle)" , "LL.B.<br>(M&Eacute;DIATEUR CIVIL ET COMMERCIAL),<br>Dipl. de PRD (2e cycle)" , "R.Gendron"];
		info_data [info_data.length] = ["Isabelle Gingras" , "LL.B." , "LL.B." , "I.Gingras"];
		info_data [info_data.length] = ["Daniel Goupil" , "B.A., LL.B." , "B.A.,LL.B." , "D.Goupil"];
		info_data [info_data.length] = ["Sylvain Lallier" , "LL.B., B. Sc. Pol." , "LL.B., B. Sc. Pol." , "S.Lallier"];
		info_data [info_data.length] = ["Martin Laurendeau" , "LL.B., D.E.S.S. (COMMERCIAL LAW)" , "LL.B., D.E.S.S.<br>(JURISTE D&#146;AFFAIRES)" , "M.Laurendeau"];
		info_data [info_data.length] = ["Julie Lavoie" , "LL.B." , "LL.B." , "J.Lavoie"];
		info_data [info_data.length] = ["Alexandre Lebeau" , "LL.B., B.C.L." , "LL.B., B.C.L." , "A.Lebeau"];
		info_data [info_data.length] = ["Alexandre McCormack" , "LL.B." , "LL.B." , "A.McCormack"];
		info_data [info_data.length] = ["Jean-Fran&ccedil;ois Mallette" , "LL.B." , "LL.B." , "J.Mallette"];
		info_data [info_data.length] = ["Annie-Claude M&eacute;nard" , "LL.B." , "LL.B." , "A.Menard"];
		info_data [info_data.length] = ["Louis Morency" , "LL.B., M.Sc." , "LL.B., M.Sc." , "L.Morency"];
		info_data [info_data.length] = ["Andr&eacute; Morin" , "LL.B., D.E.S.S. (COMMERCIAL LAW)" , "LL.B., D.E.S.S. (DROIT COMMERCIAL)" , "A.Morin"];
		info_data [info_data.length] = ["&Eacute;tienne Morin" , "LL.B." , "LL.B." , "E.Morin"];
		info_data [info_data.length] = ["&Eacute;tienne-Louis Morin" , "" , "LL.B." , "EL.Morin"];
		info_data [info_data.length] = ["Albert Pr&eacute;vost" , "LL.L." , "LL.L." , "A.Prevost"];
		info_data [info_data.length] = ["Andr&eacute; Ramier" , "B.A., LL.B." , "B.A., LL.B." , "A.Ramier"];
		info_data [info_data.length] = ["&Eacute;tienne Ruel" , "LL.B." , "LL.B." , "E.Ruel"];
		info_data [info_data.length] = ["F&eacute;lix Rochon" , "LL.B." , "LL.B." , "F.Rochon"];
		info_data [info_data.length] = ["St&eacute;phane Sansfa&ccedil;on" , "B.A., LL.B." , "B.A., LL.B." , "S.Sansfacon"];
		info_data [info_data.length] = ["Fr&eacute;d&eacute;ric Savard-Scott" , "LL.B." , "LL.B." , "F.Savard"];
		info_data [info_data.length] = ["Jos&eacute;e Tourangeau" , "LL.B." , "LL.B." , "J.Tourangeau"];		
	}

	if (section == "stg") {
		if (lg == "fr") section_title = "Stagiaire" ;
		if (lg == "en") section_title = "Trainee" ; ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
		// Please leave "" even if there is no information to enter (i.e. no title/function)		
				
	}

	 
	if (section == "etd") {
		if (lg == "fr") section_title = "&Eacute;tudiants" ;
		if (lg == "en") section_title = "Students" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		info_data [info_data.length] = ["Jean-Philippe Desabrais" , "" , "" , "J.Desabrais"];
		info_data [info_data.length] = ["Audrey Anne Bitton" , "" , "" , "a.bitton"];
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
	}
 

	if (section == "brv") {
		if (lg == "fr") section_title = "Agents de brevets" ;
		if (lg == "en") section_title = "Patent Agents" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];				// info_data [info_data.length] = ["ynom1" , "titre_anglais1" , "titre_francais1" , "yadresse1"];
		info_data [info_data.length] = ["Louis Tessier" , "m.d., ing. (PATENT AGENT)" , "m.d., ing.<br>(AGENT DE BREVETS)" , "L.Tessier"];
		info_data [info_data.length] = ["Manuel Fortin" , "(PATENT AGENT)" , "(AGENT DE BREVETS)" , "M.Fortin"];
	}

	if (section == "tech") {
		if (lg == "fr") section_title = "Techniciennes en droit" ;
		if (lg == "en") section_title = "Paralegal" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
		info_data [info_data.length] = ["Chantal Dagenais" , "Paralegal" , "Technicienne en droit" , "C.Dagenais"];
		info_data [info_data.length] = ["Elo&iuml;se Pion" , "Paralegal" , "Technicienne en droit" , "e.pion"];
		info_data [info_data.length] = ["Caroline Robert" , "Paralegal" , "Technicienne en droit" , "C.Robert"];
		info_data [info_data.length] = ["Nancy Perrault" , "Paralegal" , "Technicienne en droit" , "N.Perrault"];

		
	}

	if (section == "rh") {
		if (lg == "fr") section_title = "Conseiller en gestion des ressources humaines" ;
		if (lg == "en") section_title = "Human ressources consultant" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
		info_data [info_data.length] = ["Marcel M&eacute;nard" , "CRIA" , "CRIA" , "M.Menard"];
	}

	if (section == "adm") {
		if (lg == "fr") section_title = "Administration" ;
		if (lg == "en") section_title = "Administration" ;

		// To add a new name, copy ALL the line, and information in the following order:
		// name , english title , titre francais , email
		// info_data [info_data.length] = ["nom" , "titre_anglais" , "titre_francais" , "adresse"];
		info_data [info_data.length] = ["Claude Le Bourdais" , "M.B.A. General Manager" , "M.B.A. Directeur g&eacute;n&eacute;ral" , "C.Lebourdais"];
	}
	// DO NOT MODIFY LINES BELOW !!!
	// ---------------------------------------------------


	// Following Lines define page layout
	// -------------------------------------------------

	var style_nom = "noms";
	var style_titre = "texte";

	var width_col_1 = 160;
	var width_col_2 = 240;
	var width_col_3 = 170;


	// Following Lines define domain and extension (domaine.com)
	// ----------------------------------------------------------------------------------------------

	var first = 'ma';
	var second = 'il';
	var third = 'to:';
	var domain = 'pfdlex';
	var ext = 'com';
	
	var mail_alt;
	if (lg == "fr") mail_alt = "&Eacute;crivez-moi" ;
	if (lg == "en") mail_alt = "Write to me" ;


	// Following lines write data. STOP READING HERE !
	// --------------------------------------------------------------------------

	document.write('<p class="leftL" style="margin:0px 5px 4px 0"><img src="../img/btn_closed.jpg" width="25" height="29" id="img'+nbr+'"></p>');
	document.write('<P  class="leftL intertitre2" style="margin:3px 0 0 0"><a href="javascript:deroul(\'obj'+nbr+'\',7)" class="lien">' + section_title + "</a></P>");

	document.write("<DIV class='masquageHide' id='obj"+nbr+"'> ");
	document.write('<P  class="spacerL"></P>');

	document.write("<TABLE class='employes'>");
	document.write('<TR VALIGN=TOP>');
	for (var i = 0 ; i < info_data.length ; i++) {

		le_courriel = info_data[i][3] + '&#64;' + domain + '.' + ext

		// Imprimer le nom
		document.write ('<TD WIDTH=' + width_col_1 + ' VALIGN=TOP CLASS="' + style_nom + '">' + info_data[i][0] + "</TD>");

		// Imprimer le titre, dans la bonne langue
		if (lg == "fr")
			document.write ('<TD WIDTH=' + width_col_2 + ' VALIGN=TOP CLASS="' + style_titre + '">' + info_data[i][2] + "</TD>");
		if (lg == "en")
			document.write ('<TD WIDTH=' + width_col_2 + 'VALIGN=TOP CLASS="' + style_titre + '">' + info_data[i][1] + "</TD>");


		// Imprimer le lien
		document.write ('<TD WIDTH=' + width_col_3 + ' VALIGN=TOP>');
		document.write('<a class="lien" title="' + mail_alt + '" href="' + first+second+third + le_courriel + '">');

//		Code original sans mouseover
//		-----------------------------
 //		document.write('<a href="' + first+second+third + le_courriel + '">');


//		document.write(info_data[i][0] + '</a>');	// Imprime le nom souligne
		document.write(le_courriel + '</a>'); 	// Imprime le courriel souligne

		document.write('</TD>');


		document.write ('</TR>');
	}

	document.write("</TABLE>");
	document.write("</DIV >");
	


}

