Mattara said:
ok, post the answer in the colour ;P
Ok, I'll try COLOR="#e9e9e9" to match the "PF Prime" color scheme. I hope it works well enough with other schemes too...
Eleven balls have mass M, the target ball has a greater or lesser mass.
First, balance four balls against four balls.
Case 1: the balance is level so the target is in the remaining goup of 4. Label these four balls 1, 2, 3 and 4. Set aside ball 4 and balance group {1,2,3} against known balls {M,M,M} from the remaining eight.
Case 1.1: the balance is level so ball 4 is the target. A third balance determines if it is heavy or light.
Case 1.2: the balance tips towards {1,2,3} so one of these balls is the target, which is now known to be heavy. Balance ball 1 against 2 to find out which of these three is the heavy one.
Case 1.3: the balance tips towards {M,M,M} so one of {1,2,3} is the target, which is now known to be light. Balance ball 1 against 2 to find out which of these three is the light one.
Case 2: the first balance was not level so the target is in this group of 8 balls. Label balls on the heavier side {1,2,3,4} and balls on the lighter side {5,6,7,8}.
Now balance balls {1,2,M} against balls {3,4,5}.
Case 2.1: the balance is level so the target is in remaining set {6,7,8} and is known to be light (from the first balance). Balance 6 against 7 to know which of these three is the light one.
Case 2.2: the balance tips towards {1,2,M} so either a ball in {1,2} is heavy or ball 5 is light. Balance ball 1 againt ball 2 to know if one is heavy and which one, or to know that ball 5 is light if the balance is level.
Case 2.3: the balance tips towards {3,4,5} so either ball 3 or 4 is heavy. Balance 3 against 4 to know which one.
I hope I didn't screw up anywhere.

Someome will let me know for sure.