thanx for the reply,
can you help me to make this function work properly please.