@ergeko: Very nice function.