A program to vaidate login form using javascript