<script type="text/javascript">
<!--
	function Validate(){
		// Check for Empty fields
		if (document.REG.uid.value == "" || document.REG.aid.value == ""){
			alert ("{$this->ipsclass->lang['js_blanks']}");
			return false;
		}
	}
-->
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="REG" onsubmit="return Validate()">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="type" value="$type" />
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['dumb_header']}</div>
	<div class="tablepad">{$this->ipsclass->lang['dumb_text']}</div>
	<div class="subtitle">{$this->ipsclass->lang['complete_form']}</div>
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td class="pformleft">{$this->ipsclass->lang['user_id']}</td>
				<td class="pformright"><input type="text" size="32" maxlength="32" name="uid" /></td>
			</tr>
			<tr>
				<td class="pformleft">{$this->ipsclass->lang['val_key']}</td>
				<td class="pformright"><input type="text" size="32" maxlength="50" name="aid" /></td>
			</tr>
		</table>
	<div class="formbuttonrow" align="center"><input class='button' type="submit" value="{$this->ipsclass->lang['dumb_submit']}" /></div>
</div>
</form>