Hi Leonid, thanks for this posting and your many other useful posts. I happened to have a need for this functionality and you saved me some digging and explained the different approaches in your usual crystal-clear style.