		function wt_sort(i) {
			f = document.forms.wt_form;
			f.wt_order.value = i;
			f.submit();
		}
		function wt_scroll(direction) {
			f = document.wt_form;
			if (!f) {
				f = frames.listframe.document.wt_form;
			}
			p = f.wt_page;
			if (direction=='p') {
				if (p.value == "1") return;
				p.value = 1*p.value - 1;
			}
			if (direction=='n') {
				if (1*p.value == wt_pagecount) return;
				p.value = 1*p.value + 1;
			}
			document.forms.wt_form.submit();
		}
		function wt_changepage(size) {
			f = document.wt_form;
			if (!f) f = frames.listframe.document.wt_form;
			f.wt_pagelength.value = size;
			f.submit();
		}
		function wt_onloader() {
			document.wt_form.reset();
			if (wt_view == "lstProduct_catalog") {
				parent.document.all.wlpn.innerHTML = "<%=wt_page%>";
				parent.document.all.wlpc.innerHTML = "<%=wt_pagecount%>";
			}
		}
