/*
        The showEM() function displays a link to the user's
        email address.
        The text of the user and e-mail server names are entered in
        reverse order to thwart e-mail harvesters.

*/





     function showEM(userName, emServer) {

   var revString1='';
   var revString2='';
   var emLink='';
   
   // reverse the text of the userName parameter
      for (i = userName.length-1; i>=0; i--)
       revString1+=userName.charAt(i);

  // reverse the text of the emServer parameter
      for (i = emServer.length-1; i>=0; i--)
       revString2+=emServer.charAt(i);

  // combine the two reversed strings into an email address string
     emLink = "<a href='mailto:" + revString1 + "@" + revString2 + "'>Email</a>"; 

     return emLink;
    }
