thanks friends.i think i have got it now!all help is much appreciated.