displayError("Please enter a date between " + g_arrMonth[datMin.getMonth()] + " " + datMin.getDate() + ", " + datMin.getFullYear() + " and " + g_arrMonth[datMax.getMonth()] + " " + datMax.getDate() + ", " + datMax.getFullYear() + ".", i_objInput, "Date");
else if (objMin != null && blnMinErr)
displayError("Please enter a date on, or later than, " + g_arrMonth[datMin.getMonth()] + " " + datMin.getDate() + ", " + datMin.getFullYear() + ".", i_objInput, "Date");
else if (objMax != null && blnMaxErr)
displayError("Please enter a date on, or earlier than, " + g_arrMonth[datMax.getMonth()] + " " + datMax.getDate() + ", " + datMax.getFullYear() + ".", i_objInput, "Date");