<div class="BodyContainer">
	<form action="index.php?ToDo=%%GLOBAL_FormAction%%" onSubmit="return CheckForm(this)" name="frmAddUser" id="frmAddUser" method="post">
	<input type="hidden" name="subscriberid" value="%%GLOBAL_SubscriberId%%">
	<table class="OuterPanel" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="Heading1">%%LNG_SubscriberTitle%%</td>
	</tr>
	<tr>
		<td class="Intro">
			<div>%%LNG_SubscriberIntro%%</div>
			<div>
				<input type="submit" name="SubmitButton1" value="%%LNG_Save%%" class="FormButton">
				<input type="button" name="CancelButton1" value="%%LNG_Cancel%%" class="FormButton" onClick="ConfirmCancel()">
			</div>
		</td>
	</tr>
	<tr>
		<td>
		%%GLOBAL_Message%%
		</td>
	</tr>
	<tr>
		<td>
			<table class="Panel">
			<tr>
				<td class="Heading2" colspan=2>%%LNG_SubscriberDetails%%</td>
			</tr>
			<tr>
				<td class="FieldLabel">
					&nbsp;&nbsp; %%LNG_Email%%:
				</td>
				<td>
					<input type="text" name="email" class="Field250" value="%%GLOBAL_Email%%">
				</td>
			</tr>
			<tr>
				<td class="FieldLabel">
					<span class="Required">*</span>&nbsp;%%LNG_Status%%:
				</td>
				<td>
					<select class="Field250" name="confirmed" %%GLOBAL_restricted%%>
						<option value="0" %%GLOBAL_Active_0%%>%%LNG_NotConfirmed%%</option>
						<option value="1" %%GLOBAL_Active_1%%>%%LNG_Confirmed%%</option>
					</select>
					<img onMouseOut="HideHelp(this)" onMouseOver="ShowHelp(this, '%%LNG_Confirmed%%', '%%LNG_SubscriberConfirmedHelp%%')" src="images/help.gif" width="24" height="16" border="0" alt="">
				</td>
			</tr>
			<tr>
				<td class="FieldLabel">
					&nbsp;&nbsp; %%LNG_QuestionSubscribedTo%%:
				</td>
				<td>
					%%GLOBAL_QuestionLink%%
				</td>
			</tr>
			<tr>
				<td class="FieldLabel">
					&nbsp;&nbsp; %%LNG_SubscribeDate%%:
				</td>
				<td>
					%%GLOBAL_SubscribeDate%%
				</td>
			</tr>
			<tr>
				<td class="Gap"></td>
			</tr>
			<tr>
				<td class="Gap"></td>
			</tr>
			<tr>
				<td class="FieldLabel">&nbsp;</td>
				<td>
					<input type="submit" name="SubmitButton2" value="%%LNG_Save%%" class="FormButton">
					<input type="button" name="CancelButton2" value="%%LNG_Cancel%%" class="FormButton" onClick="ConfirmCancel()">
				</td>
			</tr>
			</table>
		</td>
	</tr>
	</table>
	</form>

	<script defer language="JavaScript" type="text/javascript">

		function ConfirmCancel()
		{
			if(confirm('%%LNG_CancelMessage%%')) {
				document.location.href='index.php?ToDo=viewSubscribers';
			} else {
				return false;
			}
		}

		function CheckForm(f)
		{
			// If no status is selected
			if (f.status.selectedIndex == -1) {
				alert('Invalid status selected');
				return false;
			}
			return true;
		}
	</script>
</div>