 function sendANote(toID,domain,node,type,subj) {
  if ('x'+domain != 'x') {
    domain = domain+'.';
  }
  if ('x'+node != 'x') {
    node = node+'.';
  }
  switch (type) {
   case 'c' :
     type = 'com' ;
   break ;
   case 'e' :
     type = 'edu' ;
   break ;
   case 'g' :
     type = 'gov' ;
   break ;
   case 'n' :
     type = 'net' ;
   break ;
   case 'o' :
     type = 'org' ;
   break ;
   }
  domain = domain+node+type;
  var toAddr='mail'+'to:'+toID+'@'+domain+'?subject='+subj+'&body=This e-mail was generated from: '+location.href;
  parent.location=toAddr;
  return false;
 }