function showgeneric ( elt, displayValue ) {
	if ( typeof elt == "string" )
		elt = document.getElementById( elt );
	if ( elt == null ) return;

	//if ( is.dom ) {
	if ( document.getElementById ) {
		// OTW table formatting will be lost:
		if ( displayValue == "block" && elt.tagName == "TR" )
			displayValue = "table-row";
		else if ( displayValue == "inline" && elt.tagName == "TR" )
			displayValue = "table-cell";
	}
	elt.style.display = displayValue;
	//alert(elt.style.display);
	//alert(thischeckboxvalue);
}

// for blanking out one search form when the other gets content added
function blank_it(boxname) {
	if (boxname=='locpattern') document.search_form.bizpattern.value = '';
	if (boxname=='bizpattern') document.search_form.locpattern.value = '';
}

