Hi Nirmalaya da
I tested it and your change is working greate. Thanks a lot. But doing these kinds of changes in code may create problem in future, if we wanted to upgrade to a new joomla version. What I am thinging is writing these changes as a joomla module or Components, I shall try to learn the joomla api when ever I get time.
-- Masjid dha de, mandir dha de, dha de jo kucch dainda Par kisi da dil na dhain, Rab dilan vich rehnda..
English Tear down the mosque and the temple; break everything in sight But do not break a person's heart, it is there that God resides