Thanks philb1. I did google but somehow the above codes just won't work. I was hoping someone could point out what the problem is.