hello fellow earthlings!!

I have a slight problem .I have a control array with indexes 0 to 15 . now once u click on one of them , it must return the index value of that control and into a variable

Please help!!!