/**
  * Gets html to display an email address given a public an private key.
  * to get a key, go to:
  *
  * http://www.google.com/recaptcha/mailhide/apikey
  */
 public static function recaptcha_mailhide_html($pubkey, $privkey, $email)
 {
     $emailparts = RecaptchaForDekoBoko::_recaptcha_mailhide_email_parts($email);
     $url = RecaptchaForDekoBoko::recaptcha_mailhide_url($pubkey, $privkey, $email);
     return htmlentities($emailparts[0]) . "<a href='" . htmlentities($url) . "' onclick=\"window.open('" . htmlentities($url) . "', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">...</a>@" . htmlentities($emailparts[1]);
 }