Why oh why don't people check out existing posts on the forums or use the search option any more?
I seem to have answered this question so many times recently...
Too many new users just log onto the forums, ignore the stickies and just post the same questions over and over again!
If you read a few of the other posts, you would also see that adding source code in the way that you did, on this forum DOES NOT WORK!!
Sorry for being ratty about it - I don't mean to be nasty, but you are just one in a long line of posters who do this, so this is not just aimed at you.
Anyway, rant over!
Your problem is covered here:
http://forum.thegamecreators.com/?m=forum_view&t=58333&b=7
http://forum.thegamecreators.com/?m=forum_view&t=44117&b=7
http://forum.thegamecreators.com/?m=forum_view&t=40091&b=7
http://forum.thegamecreators.com/?m=forum_view&t=22330&b=7
http://forum.thegamecreators.com/?m=forum_view&t=14946&b=7
There are more, but that's enough for now.
At the bottom of the newcomers board (as well as all the others) there's a search box. All you do is enter 'Nesting error' in that box (or anything else you are looking for) and you will find all the threads on that topic.
It's easy - and you won't have me whinging on at you lol!
TDK_Man