Thanks for your input .I have copied the codes .thanks once again..