thanks guys, awesome, just what I needed. i too spent a lot of time trying to resolve the issue