thats what I thought. the $user['U_Groups'] is not working for you
hmm can you try one last thing.. do a print_r($user); somewhere near the top or in an empty pal and see if you see $user['U_Groups'].. should be around the 14th element. see if you see it whether your logged in or not..
my not logged in shows
Array ( [U_Username] => [U_PicturePosts] => [U_ShowSigs] => [U_Email] => [U_PictureView] => [U_Status] => [U_Privates] => [U_Name] => [U_Title] => [U_Totalposts] => [U_Visible] => [U_Laston] => [U_Language] => [U_TimeOffset] => [U_Groups] => [U_Picture] => [U_Number] => [U_TimeFormat] => [U_Password] => [U_SessionId] => [U_StyleSheet] => [U_FrontPage] => [U_Banned] => [U_SideBar] => )
while my logged in shows values for each element...