How to select and click an element without the ID

Hi
This solution is good. I was just looking for a solution where creation of one object is enough as per the requirement of charliar.

There was a solution given for this. We have to try it out.
Anyways thanks for your solution. It helps.

Regards
kavya