summaryrefslogtreecommitdiff
path: root/docs/html/tip_form.js
blob: 567690ceecbf50c5020e34f0d5f59cd1c2770738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Tipue 1.63 (modified for pasdoc)


// ---------- script properties ----------


var results_location = "_tipue_results.html";


// ---------- end of script properties ----------


function search_form(tip_Form) {
	if (tip_Form.d.value.length > 0) {
		document.cookie = 'tid=' + escape(tip_Form.d.value) + '; path=/';
		document.cookie = 'tin=0; path=/';
		parent.content.location.href = results_location;
	}
}