removed unused function showHideOTDatepicker()