OK, now we're getting somewhere. Was that so hard? OK... two things... 1) Could you PLEASE repost your code, this time with [code][/code] tags around it so that it preserves the indenting? I am having trouble following your code and seeing where things start and end. Secondly, can you remove (or comment out) the Try/catch? That way when it errors out, it should go into debug mode and show you what line is causing the error. You have so much code in the try at the moment, I'm not sure where to begin to look for the error. Once you know what line the error happens on, either post the line, or mark it in the code with a comment or highlight or change it's color somehow.

Thanks,
-tg