No spaces in file names
Fixed Indentation
Made JavaScript unobtrusive

javascript should not be written inline in html.  It also makes it
really hard to separate out your js in a different file.  js delivered
in a separate file can be cached.
Load script at bottom

As soon as a synchronous browser reads a script tag it needs to download
and parse the entire file before continuing on with other html.  In
order to have your page load quickest, delay js parsing till the file
has already been read.
Remove unnecessary else blocks
Remove global variables

method calls relied on there existing a global variable that it could
pull information from.  Instead, pass along the information so the
method can stay self contained.
Standard incrementers go i, j, k

Standardized incrementers
Removed unnecessary else
Simplified for loop
Separate different functions

printArray did two different things with different arrays.  It declared
variables like container twice, so splitting it up also solved that.
add comments for clarity

also visually separate new elements versus those that represent DOM
elements on the page.  ideally those should be decoupled.
Separate DOM access and array manipulation

Now the method buildPrintMyArray does not rely on the names of HTML
elements
Converted table to list

A table didn't really seem appropriate here.  We just need to display a
list of items, so an unordered list seems preferable.  If we don't want
it to look like bullets, we can just style it differently
Separate build table

added comments and dom manipulation is split up
Finished arrays and moved to separate file
removed test paragraph
Decouple array position with number

We were really shoving extra data into the array index which required
the +1 / -1 operations to get to the index position.  Arrays are zero
based, but we started the numbers at 1, so we originally had to subtract
1 so that the start of the array represented the first item in the
index.  But if the min value was two, we'd start to run into trouble.
Then we'd try to push an item to the first position of an array that
does not yet have a value there yet.

Instead, the array is just a set of objects that each expose two
properties:
{ number : "", instances: ""}

Then when we get an array item, we can check the value for each.
Dynamically find min max values

You can find the min and max array values programmaticallyinstead off
hard coding them.
Refactor min max into method

Always reduce scope when possible.  If everybody in the entire
marshalling call doesn't need to know about it, then nest it somewhere
else.  It prevents potentially un-needed dependencies and makes obvious
the dependencies that do exist.  Plus passing fewer parameters is always
a good thing.