in reply to use of uninitialized variables??

Sorry, but with the code formated like this it's almost impossible to work out what each line contains to get to the line numbers your errors refer to. Can you resubmit with the code markers. See 'Site How To' for details.