function isrchForm() {
	// The fields.
	var flds = ['nom', 'eml', 'phn', 'bom', 'ind', 'inv', 'rvn', 'zip'];
	// The button.
	var btn = document.getElementById('isrch-form-btn');

	// Check/get the values.
	var poststr = 'dowhat=isrch';
	for (i = 0; i < flds.length; i++) {
		var box = document.getElementById('isrch-form-' + flds[i]);
		if (box.value == '') {box.value = 'Information needed!'; box.select(); return false;}
		else {poststr = poststr + '&' + flds[i] + '=' + encodeURIComponent(box.value);}
	}

	// Disable the button.
	var btnval = btn.value;
	btn.setAttribute('disabled', 'disabled');
	btn.value = 'sending...';

	// Send it.
	if (htob = newhtob()) {
		htob.open('POST', 'investor-search-form.php', true);
		htob.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		htob.onreadystatechange = function() {
			if ((htob.readyState == 4) && (htob.status == 200)) {
				if (htob.responseText == 'ok') {
					// Clear the fields.
					for (i = 0; i < flds.length; i++) {
						document.getElementById('isrch-form-' + flds[i]).value = '';
					}
					// Re-enable the button.
					btn.value = btnval;
					btn.removeAttribute('disabled');
					// And swap the messages.
					document.getElementById('isrch-form-lim').style.display = 'none';
					document.getElementById('isrch-form-ret').style.display = 'inline';
				}
				else {alert('Error sending the query!');}
			}
		}
		htob.send(poststr);
	}
	else {alert('Your browser does not support Ajax. Please upgrade!');}
}
