Client Scripts only work on edit, if you want some...
# suitescript
j
Client Scripts only work on edit, if you want something to work on view it has to be a user event I'm afraid.