<script type="text/javascript">
    function validateSearchTicketForm(form)
    {
        var strAlertMessageArr = getFormErrors(form);

        if (strAlertMessageArr.length > 0) {
            alert(strAlertMessageArr.join("\n"));
            return false;
        }

        return true;
    }

 var RecaptchaOptions = {
    theme : 'clean'
 };

</script>

<p class="pagedesc"><?php echo $this->lang("You can view the status of your ticket by entering your email and any ticket ID in the fields below. Once logged in you can add a reply.");?></p>

<form action="index.php?fuse=support&amp;view=ViewTicketDetails&amp;public=1" method="post">

<table class="ts2" cellspacing="0">
	<tr>
    	<td class="label"><?php echo $this->lang("E-mail");?>:</td>
        <td><input type="text" id="email" name="email" />
   	 	<input type="hidden" name="r_email" value="<?php echo $this->lang("E-mail");?>" /></td>
    </tr>
    <tr>
    	<td class="label"><?php echo $this->lang("Ticket ID");?>:</td>
        <td><input type="text" id="ticketID" name="ticketID" />
    	<input type="hidden" name="r_ticketID" value="<?php echo $this->lang("Ticket ID");?>" /></td>
    </tr>
</table>
<?php if ($this->showCaptcha) { ?>
<table class="ts2" cellspacing="0">
    <tr>
    	<td class="label"><?php echo $this->lang("Enter the code");?>:</td>
        <td><?php echo recaptcha_get_html($this->publickey); ?></td>
    </tr>
</table>
<?php }//end if show captcha  ?>
<input type="submit" class="submit" name="button" onclick="return validateSearchTicketForm(form);" value='<?php echo $this->lang("Submit");?>' />

</form>

