add CreateLi function, and show/hide function