function openMail(op) {
 var ref = self.location.href
 var sitename = 'TurtleChick.Com Site'
 mailWindow = window.open("","smallwin","width=500,height=500,status=yes,resizable=yes");
 mailWindow.document.write('<HTML><HEAD>\n<TITLE>Mail a Friend<\/TITLE>\n')
 mailWindow.document.write('<Script language=javascript>')
 mailWindow.document.write('function changeMail() {\n')
 mailWindow.document.write(' var temp = document.forms.maillink.elements.email.value\n')
 mailWindow.document.write(' document.forms.maillink.action = "mailto:"+temp+"?subject=Interesting_Link"\n')
 mailWindow.document.write(' document.forms.maillink.submit()\n')
 mailWindow.document.write(' window.close()\n')
 mailWindow.document.write('}\n')
 mailWindow.document.write('<\/script>')
 mailWindow.document.write('<\/HEAD>')
 mailWindow.document.write('<BODY BGCOLOR="white"><h3>Mail a Friend</h3>\n')
 mailWindow.document.write('<P>Thanks for choosing to tell your friend about our site. To do this, we need you to fill out the form below:\n')
 mailWindow.document.write('<FORM name=maillink enctype="text/plain" action="mailto:dev/null" method="post">\n')
 mailWindow.document.write('<table border=0 width=90% align=center>\n')
 mailWindow.document.write('<tr valign=top><td nowrap align=right>Friend&#146;s Email:<\/td><td><input type="text" name="email" size=30><\/td><\/tr>\n')
 mailWindow.document.write('<tr valign=top><td nowrap align=right>Comments:<\/td><td><textarea name=comments cols=30 rows=4 wrap=virtual>I found this information on ' +document.title+' while visiting the '+sitename+' and I thought you might be interested.<\/textarea><\/td><\/tr>\n')
 mailWindow.document.write('<tr valign=top><td nowrap align=right>Link:<\/td><td><input type="text" name="link" size=30 readonly notab value="'+ref+'"><\/td><\/tr>\n')
 mailWindow.document.write('<\/table>\n')
 mailWindow.document.write('<p align=right><input type=button value="Send" onClick="changeMail()"><\/p>\n')
 mailWindow.document.write('<\/form>')
 mailWindow.document.write('<P>Please note that this form will be sent using your email - this is being done to prevent abuse of this tool. Your browser may warn you that the message is being sent using email and that the recipient will learn your email. You should answer <strong>YES<\/strong> and allow the message to be sent.</p>')
 mailWindow.document.write('<\/body><\/html>')
}
document.write('<FORM NAME="reflink">');
document.write('<INPUT TYPE="BUTTON" VALUE="Tell a Friend" onClick="openMail()">');
document.write('</FORM>');

