there must be atleast one opposition player (excluding the keeper) between you & the opponents' goal, at the moment when the ball is played to you(This is when you are in the opposite half & not in your half)- if this case is true you are on side else offside. Panucci was behind the goal but still considered to be playing Nistelrooy onside.