function ecrire(desc) 
{
mail = desc.toLowerCase();
mail= mail.replace(" ", "");
mail = mail.replace("+dir+","");
mail = mail.replace("+adj+","");
mail = mail.replace("+cv+","");
mail = mail.replace("-as-","");
mail = mail.replace("-as2-","");
if (mail != ""){
document.write('<a href="mailto:' + mail + '"><img src="IMG/env.gif" height="12" width="17" alt="" border="0">  Ecrire    </a>');
}
}


function ecrire2(desc) 
{
mail = desc.toLowerCase();
mail= mail.replace(" ", "");
mail = mail.replace("+cv+","");
mail = mail.replace("+dir+","");
mail = mail.replace("+adj+","");
mail = mail.replace("-as-","");
mail = mail.replace("-as2-","");
if (mail != ""){
document.write('<table width = "250"><tr><td nowrap align="right"><font size="2">' + mail + '   </font></td><td width="30"><a href="mailto:' + mail + '"><img src="IMG/env.gif" height="12" width="17" alt="" border="0"></a></td></tr></table>');
}}

function cur(desc,cv) 
{
assertion = desc.toLowerCase();
resultat = assertion.search(/\+cv\+/);
if (resultat != -1){
cv = cv.replace(" ", "")
cv = cv.replace("ë", "e")
cv = cv.replace("é", "e")
cv = cv.replace("è", "e")
cv = cv.replace("à", "a")
cv = cv.replace("ù", "u")
cv = cv.replace("î", "i")
cv = cv.replace("ê", "e")
cv = cv.replace("â", "a")
cv = cv.replace("û", "u")
cv = cv.replace("ô", "o")
cv = cv.replace("ä", "a")
cv = cv.replace("ï", "i")
cv = cv.replace("ö", "o")
cv = cv.replace("ü", "u")
cv = cv.replace("ç", "c")
cv = cv.toLowerCase();
document.write('<a href="documents/' + cv + '/cv.pdf"><img src="IMG/pdf.gif" height="14" width="14" alt="" border="0">Télécharger le CV</a>');
}}
