//
// Show help text for current form field
//

function prepareInputsForHints(selector) {
	$(selector).focus(function () {
      $(this).siblings(".spanInfo").css("display", "inline");
    }).blur(function () {
      $(this).siblings(".spanInfo").css("display", "none");
    });
}

function getInputs() {
	prepareInputsForHints("input");
	prepareInputsForHints("select");
	prepareInputsForHints("textarea");
}


jQuery(getInputs);
