// forms helper functions

function submitDivHideWait() {
    return hideShow("submitDiv", "pleaseWait");
}

function hideShow(toHide, toShow) {
// New LayerToggle function - Works in IE, Netscape and Firefox
	if (document.getElementById) { // universal
        document.getElementById(toHide).style.visibility = "hidden";
        document.getElementById(toShow).style.visibility = "visible";
	}
	else if (document.all) { // IE specific
        document.all.item(toHide).style.visibility = "hidden";
        document.all.item(toShow).style.visibility = "visible";
	}

    return true;
}

function shrinkNonDigits(x) {
  x.value = x.value.replace(/\D/g, '');
  return true;
}


