<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="vz.js" type="text/javascript"></script>
<script src="vz.com.ajax.js" type="text/javascript"></script>
<script src="vision.js" type="text/javascript"></script>
<title>Vision test</title>
</head>
<body>
<vs:form>
<div>
<table>
<tr>
<td>
Login:
</td>
<td>
<vs:textbox name="login" onblur="blur_login" value="$login" />
</td>
<td>
<vs:if test="!is_null ($err_login)">
<vs:if test="$err_login == 1">
<vs:label caption="error_login_too_short" />
</vs:if>
<vs:if test="$err_login == 2">
<vs:label caption="error_default" />
</vs:if>
</vs:if>
</td>
</tr>
<tr>
<td>
Pass:
</td>
<td>
<vs:textbox name="pass" onblur="blur_pass" type="password" value="$pass" />
</td>
<td>
<vs:if test="!is_null ($err_pass)">
<vs:if test="$err_pass == 1">
<vs:label caption="error_pass_too_short" />
</vs:if>
<vs:if test="$err_pass == 2">
<vs:label caption="error_default" />
</vs:if>
</vs:if>
</td>
</tr>
<tr>
<td colspan="3">
<vs:submit caption="submit" onclick="submit" type="button" />
</td>
</tr>
</table>
</div>
</vs:form>
</body>
</html>