Exactly what I was looking for, thanks a lot! :)
Just one final thing now and I'm done: I need to add attributes to the oNewTable element object (like class="someClass"). I guess there is a function for that aswell?
PS: I tried 'oNewTable.class = "punkt";' , but 'class' seems to be some kind of special property, so IE reported an error. Any other parameter translated successfully into a parameter in the HTML tag.