Thank you very much, Jeffrey. Your script using max() is working and it helps me a lot. I tried to use max() before, but I didn&#39;t get the level assignments right. :) <div><br></div><div>-Lippo</div>