
function decrypt_email(email, mailto) {
  temp = email.replace(/\[@\]/,"@");
  email = temp.replace(/\[.\]/g,".");
  
  if (mailto == 0 || mailto == undefined) {
    document.write(email); 
  }else {
    location.href = "mailto:"+email;
  }
}

/* Realisé par Alyvest pour le groupe thaly...
Tout droit réservés*/

  var i = -1;
  chainetext = 'Thaly on line !     ';
function nomstatus() {
  var j = 0;
  ajout = " ";
  tempchaine = "";
  
  if (i >= chainetext.length){
    i = -1;
    window.status = '';
    if (chainetext == 'http://www.thaly.net     '){
      chainetext = 'Thaly on line !     ';
    }
    else{
      chainetext = 'http://www.thaly.net     ';
    }
  }
  else{
    i += 1;
    for (j=0 ; j<i ; j++){
      tempchaine += chainetext.substring(j,j+1);
    }
    tempchaine += chainetext.substring(i,i+1);
    window.status = tempchaine;
  }
setTimeout("nomstatus()",200);
}
nomstatus();


/* script pour effacer des elements de la page */
// Realisé par Alyvest !
function effacer(obj) { 
  if (document.getElementById) { 
    document.getElementById(obj).style.display = "none"; 
  } 
} 
/* affiche un element de la page */
function afficher(obj) { 
  if (document.getElementById) { 
    document.getElementById(obj).style.display="block"; 
  } 
} 
