﻿// function for showing and hiding default texts in inputs
function inputDefaultShowHide(inputId, defaultText, isBlurAction) {
	var obj = document.getElementById(inputId);

	if (isBlurAction) {
		if (obj.value == "")
			obj.value = defaultText;
	}
	else {
		if (obj.value == defaultText)
			obj.value = "";
	}
}