You don't declear t in your code, so what is it....

BTW..use [Highlight=VB] and [ /vbcode] tags whenposting code...