select global checkbox upon all children selected

select global checkbox upon all children selected

Hi there!

I'm stucked ...
Here's the code I'm trying to develop but it doesn't work:  http://jsfiddle.net/VRjzF/

My idea is to check all the checkboxes both when you click over "All" or all the other children checkboxes has been selected.

- I didn't know it was imposible, so far I wouldn't had achieved it. -