Thanks guys, the last two solutions work great