var txdat=document.getElementById('<%=txtCheckIn.ClientID %>'+"_txtDateVal");