
// ========================================================================== //
//           Author : "Thierry Souriot, C.N.R.S. (France), 2008"              //
//          Merci de me prevenir si vous apportez des ameliorations           //
//         significatives (email : T.Souriot@opgc.univ-bpclermont.fr)         //
// ========================================================================== //
//    Ces Javascript permet le codage des liens Emails pour éviter le spam    //
// ========================================================================== //

function c_a_c(nom_dest,serv_dest,sujet_dest,cont_dest){
  document.writeln('<a href="mail'+'to:'+nom_dest+'&#064;'+serv_dest+'?subject='+sujet_dest+'">'+cont_dest+'</a>');
}

function img_adresse(nom_dest,serv_dest,sujet_dest,image){
  document.writeln('<a href="mailto:'+nom_dest+'@'+serv_dest+'?subject='+sujet_dest+'" title="'+sujet_dest+'"><img src="'+image+'" border="0" width="25" height="15" alt="Email"></a>');
}
function code_adresse_comment(nom_dest,serv_dest,sujet_dest,cont_dest){
  document.writeln('<a href="mail'+'to:'+nom_dest+'@'+serv_dest+'?subject='+sujet_dest+'">'+cont_dest+'</a>');
}
