working on the window load function

decided to use jquery.