thanks!!!, i love you finally works...
i spent 10+hrs on this question, and your reply made it look real easy!!
------------
i spent a couple more hours on this, worked on an algorithim that implemented into the code, and i must say its a lovely program now... thanks for all the help..