I'm looking around, and it seems that there is a problem with this code:
var arg=top.dialogArguments;
var element=arg.element;
if(element)
{
p_table=element;
}
That is in Insert_Table.asp. Even after I've created a table, the variable "element" remains null. It never gets into that if statement, so it always does the the else case, which creates a new table with the default values..