So what is it DOING that you don't like? Are we to guess? Someone might; I will not. Also, learn how to put code tags around your own code. Poor Shabbir must be wearing his mouse out.