<script type="mz/tpl" id="tpl_search">
<div class="search_plan" id="search_plan_div">
	<!--h1>请选择您的搜索方案</h1-->
	<div class="search_category">
		<h2>请选择搜索类型</h2>
		<ul class="typeul">
			<li data-val="key" data-key="type" data-only="true"<%if(type=='key'){%> class="active"<%}%>>关键词</li>
			<li data-val="author" data-key="type" data-only="true"<%if(type=='author'){%> class="active"<%}%>>作者</li>
		</ul>
		<div class="clear"></div>
	</div>
	<div class="search_category">
		<h2>
			请选择搜索站点(不选则搜索所有网站) <A href="javascript:void 0" id="cancel_btn">取消选中</a>
			<div class="search_opt">
				<input type="text" id="search_filter" data-default="输入关键词过滤，支持拼音" />
			</div>
		</h2>
		<ul class="siteul">
			<%for(var i=0 ,l = site.length; i < l; i++){%>
				<li data-val="<%=site[i]['name']%>" index="<%=site[i]['pinyin']%><%=site[i]['title']%><%=site[i]['domain']%>" <%if(site[i]['selected']){%> class="active autohidden"<%}%>><font color="blue"><%=site[i]['pinyin'].substr(0, 1).toUpperCase()%></font> <%=site[i]['title']%></li>
				<%if((i+1)%5==0){%><div class="clear"></div><%}%>
			<%}%>
		</ul>
		<div class="clear"></div>
	</div>
</div>
</script>
<script type="text/javascript" src="mz://lib/inc.searchbox.js"></script>