I guess nobody is willing to read 200 lines of code. Can you post a complete example (an archive with the required files) or simplifiy the problem description?


Always learn from history, to be sure you make the same mistakes again...