if(name = getCookie("name")) document.contact.name.value = name;
In addition, if you place an unobfuscated email address in your webpage, the bots will quickly find it and inundate you in spam.
Modern browsers no longer accept mailto: as a form action - they simply open the email program (if any) and ignore the form. If you are going to use a form then use a server-side CGI formmail script as the action - there are several good free ones out there.
"...there are indications that the severest phase of the recession is over..."
- Harvard Economic Society (HES) Jan 18, 1930
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.