<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<div id='main'>
<s:form action="search" method="get" styleId="searchForm">
	<table>
		<tbody>
			<tr>
				<td><img id="mainLogo" src="${f:url('/images/logo.gif')}" alt="<bean:message key="labels.search_top_logo_alt"/>" /></td>
			</tr>
			<tr>
				<td><div class="input" id="inputArea">
					<html:text styleClass="query" property="query" title="Search" size="50" maxlength="1000" styleId="query"/>
					<c:if test="${displayLabelTypeItems}">
						<html:select property="labelTypeValue" styleId="labelType">
							<option value=""><bean:message key="labels.search_result_select_label" arg0="${f:h(execTime)}"/></option>
							<c:forEach var="item" items="${labelTypeItems}">
								<html:option value="${f:u(item.value)}">${f:h(item.label)}</html:option>
							</c:forEach>
						</html:select>
					</c:if>
					<input class="btn" type="submit" value="<bean:message key="labels.top.search"/>" name="search" id="searchButton"/>
				</div></td>
			</tr>
			<c:if test="${fe:hswsize(null) != 0}">
			<tr>
				<td>
					<table class="hotSearchWord" id="hotSearchWord">
						<tbody>
							<tr>
								<td>
									<div class="hotSearchWordTitle"><span><bean:message key="labels.search_hot_search_word"/></span></div>
								</td>
								<td>
									<div class="hotSearchWordBody"><c:forEach var="item" items="${fe:hsw(null, 5)}">
										<html:link href="search?query=${f:u(item)}">${f:h(item)}</html:link>
									</c:forEach></div>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
			</c:if>
		</tbody>
	</table>
</s:form></div>
