If you've got all your functions in one block, then just declare the array immediately after the <SCRIPT> tag, and before the first function.
ie.
<SCRIPT LANGUAGE=JavaScript>
globalarray = new Array(5);
function -----
function -----
</SCRIPT>
It'll hold it's values all the time, and they can be changed and accessed from any function.
Hope that helps.