// ---------- script properties ----------
var results_location = deepLevelBackout + "searchresults.html";
// ---------- end of script properties ----------
function search_form(jse_Form, vendor) {
	if (document.jse_Form.d.value.length > 0) {
		//document.cookie = "d=" + escape(document.jse_Form.d.value) + "; path=/";
		document.cookie = "wimsearch=" + escape(document.jse_Form.d.value) + "; path=/";
		if (vendor == '0'){
			//document.write("reg search");
			//document.write(document.cookie);
			window.location = results_location;
			//document.write(document.cookie);
		}
		else {
			//document.write("mfr search");
			window.location = results_location + "?" + vendor;
			vendor = '0'
		}
	}
}
