// collection of JS work functions

function sendTo(toAdd,toRef)
{
  var tas="mailto:";
 
  tal=toAdd.length;
  for (i=0; i<tal; i++) {
    tac=toAdd.charCodeAt(i);
    if (tac==32) tac=126;
    else tac=tac-1;
    tas=tas.concat(String.fromCharCode(tac));
  }
  toRef.href=tas;
}

