
//-- mail
function mail( who, subject )
{
  if( who.indexOf('@')!= -1 )
    parent.location.href='mailto:'+who+'?subject='+subject;
  else
    parent.location.href='mailto:'+who+'@mycompany.com?subject='+subject;
}

//-- twitter 
function twitter( post )
{
  document.write("<a title=\""+post+"\" style=\"padding: 2px; margin-top: 2px; font-size: smaller; font-family: verdana; background-color: lightgrey; color: red; text-decoration: none;\" href=\"http://twitter.com/home?status="+escape(post)+"\">Post To Twitter</a>" );
}

