Hello,
Thanks for taking trouble to write the code. However, before receiving your reply, I made some changes in the forum area. The changes were simple. The forum guidelines were made prominantly visible. Now, if I encounter the problem of inappropriate forum posts, I will have to include the code mentioned by you.