<div class="BodyContainer">

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

		function previewQuestion(questId)
		{
			var l = screen.availWidth / 2 - 250;
			var t = screen.availHeight / 2 - 300;
			var win = window.open('index.php?ToDo=previewFullQuestion&questId='+questId, 'previewQuestion', 'width=500,height=600,left='+l+',top='+t+',scrollbars=1');
		}

	</script>
	<form method="post" action="%%GLOBAL_FormAction%%">
	<input type="hidden" name="bulkaction">
	<table class="OuterPanel" id="outerpanel" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td class="Heading1">%%LNG_ManageQuestions%%</td>
	</tr>
	<tr>
		<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td class="Intro">
					<div>
						%%GLOBAL_ManageQuestMessage%%
					</div>
					%%GLOBAL_Message%%
					<div>
						<div style="float: right; display: inline; margin: 0px; padding: 0px;">
							<table>
							<tr>
								<td nowrap="nowrap">
									<select name="categories[]" class="button">%%GLOBAL_CategoryOptions%%</select>
									<input name="q" type="text" class="button" value="%%GLOBAL_SearchQuery%%">
								</td>
								<td nowrap="nowrap">
									<input type="image" src="images/searchicon.gif" title="%%LNG_ManageQuestionsSearchButtonTitle%%" alt="%%LNG_ManageQuestionsSearchButtonTitle%%">
								</td>
							</tr>
							<tr>
								<td align="right" nowrap="nowrap">
									<a href="index.php?ToDo=advSearch">%%LNG_AdvancedSearch%%</a> |
									<a href='index.php?ToDo=viewQuestions&amp;resetsearch=yes'>%%LNG_ClearSearchResults%%</a>
								</td>
							</tr>
							</table>
						</div>
						<span style="display: %%GLOBAL_ShowCreateButton%%">
						<input type="button" onclick="document.location.href='index.php?ToDo=createQuestion'"
						name="createNewQuestion" value="%%LNG_CreateQuestion%%" class="Button">
						</span>
						<select name="action" id="action" class="bulkselect">
							<option value="">%%LNG_BulkDefaultOption%%</option>
							%%GLOBAL_QuestionBulkOptions%%
						</select>
						<input type="button" value="%%LNG_Go%%" class="gobutton" onclick="javascript: BulkAction(this, FV('action'), '%%LNG_BulkActionQuestionFailure%%', '%%LNG_BulkActionQuestionConfirm%%');">
					</div>
				</td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			%%GLOBAL_AlphaList%%
		</td>
	</tr>
	<tr>
		<td>
			<div id="REMOTE_ShowQuestionsListRemote"></div>

			<script>
				REMOTE_admin_table(
					'REMOTE_ShowQuestionsListRemote',
					'remote/remote_admin_table.php',
					'ShowQuestionsListRemote',
					'd',
					'lastupdated',
					1
				);
			</script>
		</td>
	</tr>
	</table>
	</form>

</div>