you know, you didn't ahve to start two threads for the same file. Could have jsut said now I have an error at line 51 as well. Also, remember to use CODE tags, it makes it alot prettier. I already edited your post. Edit:: ahhh, that joys of READING THE MANUAL