Thanks! Both of these seemed to do what I want. Cheers!