Thanks for that Donncha. That worked perfectly on WPMU and I dropped it onto my WP site as well.