change the onlcik attribute