<html>
<script language="JavaScript">
<!---
function check()
{
	ok = 0;
	for (var i=0;i<document.loginform.user.value.length;i++) {
		if (document.loginform.user.value[i] == '@')
			ok = 1;
	}

	if (ok == 1) 
		document.loginform.submit();
	else
		confirm("You need to enter your username as 'username@domain'");
}
// -->
</script>

<head>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="cache-control" CONTENT="no-cache">

<title>||product|| - Web Mail Client</title>
</head>

||ifdef||background||
<body background="||nwimg||/||background||" onLoad="document.loginform.user.focus();">
||else||
<body onLoad="document.loginform.user.focus();">
||endif||

||ifdef||error||
	<center>
	<table border="1">		
		<tr>	<td><img src="||nwimg||/attention.gif">
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||


<table><tr>
<td> <img src="||nwimg||/logo.gif"> </td>
<td><h2>||product|| - <em>Web Mail Client</em></h2></td>
</table>

<form action="||action||" method="post" name="loginform" >
    <input type="hidden" name="cmd" value="login">
    <input type="hidden" name="tcode" value="||tcode||">
    <input type="hidden" name="email" value="||email||">

    <table>
    <tr><td><table border="0"><tr>
            <td>Enter Username:</td>
            <td><input type="text" size="30" maxlength="256" name="user" tabindex="1"></td>
            <td>&nbsp;</td>
            <td align="center" rowspan="3">
		<input type=image border="0" src="||nwimg||/login.gif" alt="Login" name="login" tabindex="3">
            </td>
        </tr>
        <tr>
            <td>Enter Password:</td>
            <td><input type="password" size="30" maxlength="256" name="pass" tabindex="2"></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Enter Host: (optional) </td>
            <td><input type="text" size="30" maxlength="256" name="host" tabindex="4"></td>
            <td>&nbsp;</td>
        </tr>
	<tr>
	    <td align="right"><input type="checkbox" name="frames" value="ON" checked tabindex="5"></td>
	    <td>Use Frames</td>
	</tr>
||ifdef||authent_cookie||
       	<tr>
	    <td align="right"><input type="checkbox" name="set_cookie" value="ON" ></td>
	    <td>Auto-login (cookie)</td>
	</tr>
	<tr>
	    <td align="center" colspan="2">Note: Auto login should not be used on shared or public machines.</td>
	</tr>
||endif||

||ifdef||multiple_tpl||
<!--- If you wish multiple template set to be user selected then remove the following --->
<!--- The uses then can select their template sets on the configuration page. --->
	<tr>
	    <td align="right">Select Template Set:</td>
		<td> <select name="selected_tpl" size=1>
			<option value="">(Default)</option>
		||begin_tpl||
			<option value="||tpl_number||">||tpl_text||</option>
		||end_tpl||
		</select>
	    </td>
	</tr>
||endif||
    </table></td>

    <td><noscript>
	<i> Your browser either does not understand javascript or has javascript disabled. ||product|| can work without javascript but not all functions will be available.</i>
	</noscript></td></tr>
    </table>

</form>

||ifdef||netauth_url||
To create a new mail account click on the following link:
<a href="||netauth_url||">Add User</a>
||endif||

<hr>

<h2>General Help</h2>

<p>||product|| is a web based email system, it lets you read / delete / forward / file the 
new mail that is waiting on your local ISP, attachments can be viewed or downloaded, 
and new messages can be sent, including attachments.
</p>


<ul>
    <li><a href="||action||?page=help">||product|| Users Guide</a></li>
    <li><a href="http://netwinsite.com/top_mail.htm">Other NetWin
        Products</a></li>
</ul>

||ifdef||register||

<p>If you are the system administrator of this site and you wish 
to register this copy of ||product|| then you should click here 
||register|| to enter order details.</p>

||endif||


||copyright||
</body>
</html>
