Using objects and functions with javascript.
File jspractice.jsp added.