hi,are you sure this code you posted could compile right? i could not compile it ,and with many errors.