I want to do the following in my script:

Declare 3 variables in one function and call this function on window load. After that use values of those 3 variables in my other functions. Any option to...