Hi Priya,
I really don't see any harm in what you are doing.
Also you might have known that Selemnium RC (also known as Selenium 1) is supported only for backward compatibility.
So if there is a possibility then I would suggest you to think about migrating your code to Selenium 2.
You would not come across such issues in Selenium. At least not so often.
~ seleniumtests.com