<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- 建議<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->

<div id="main">
		<table>
		<caption>目錄查詢</caption>
			<tr>
				<th>字母開頭</th>
				<th>建議</th>
				<th>使用 X 次</th>
			</tr>
		<!-- TMPL_LOOP NAME="loop" -->
			<tr>
				<td><!-- TMPL_VAR NAME="word" --></td>
				<td><a href="javascript:Import('<!-- TMPL_VAR NAME="word" -->','<!-- TMPL_VAR NAME="suggestion" -->')">
						<!-- TMPL_VAR NAME="suggestion" -->
					</a></td>
				<td><!-- TMPL_VAR NAME="count" --></td>
			</tr>
		<!-- /TMPL_LOOP -->
		</table>
	</div>
</div>
<script language="javascript" type="text/javascript">
	function Import(Replaced,ReplaceBy) {
		for (i=0 ; i<opener.document.f.value.length ; i++) {
				opener.document.forms['f'].value[i].value = opener.document.forms['f'].value[i].value.replace(Replaced,ReplaceBy);
//			if (document.forms['f'].kohafield[i].value == "biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
//				strQuery += "&isbn="+document.forms['f'].field_value[i].value;
//			}
//			opener.document.location= "../acqui.simple/addbiblio.pl?z3950=1&oldbiblionumber=<!-- TMPL_VAR NAME="oldbiblionumber" -->&breedingid="+GetThisOne;
			self.close();
//			return false;
		}
	}
</script>

<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->


