function Field($properties = array())
 {
     $attributes = array('type' => 'text', 'class' => 'text' . ($this->extraClass() ? $this->extraClass() : ''), 'id' => $this->id(), 'name' => $this->getName(), 'value' => $this->Value(), 'title' => $this->Title(), 'tabindex' => $this->getAttribute('tabindex'), 'maxlength' => $this->maxLength ? $this->maxLength : null, 'size' => $this->maxLength ? min($this->maxLength, 30) : null);
     $html = $this->createTag('input', $attributes);
     if ($this->showCaptcha()) {
         $mollom_session_id = Session::get("mollom_session_id");
         $imageCaptcha = MollomServer::getImageCaptcha($mollom_session_id);
         $audioCaptcha = MollomServer::getAudioCaptcha($mollom_session_id);
         Session::set("mollom_session_id", $imageCaptcha['session_id']);
         $captchaHtml = '<div class="mollom-captcha">';
         $captchaHtml .= '<span class="mollom-image-captcha">' . $imageCaptcha['html'] . '</span>';
         $captchaHtml .= '<span class="mollom-audio-captcha">' . $audioCaptcha['html'] . '</span>';
         $captchaHtml .= '</div>';
         return $html . $captchaHtml;
     }
 }