Has this code saved you a few hours or more of coding? Please condider making a small contribution. Thanks!