Dynamically creating, populating and inserting a table

Valid HTML 4.01! CSS compliant