From: John Date: 2008-04-30T05:00:18+09:00 Subject: Re: hacking arrays > It probably just a matter of counting the divs. I've sort of hacked > together a rewrite that looks like it's getting it right. Emphasis on > "hacked" :-) There's room for refinement, but anyway, this might get > you moving.http://pastie.org/188490 > > David > That works, perfect. David, thanks. Looks like the num function was the problem. I couldn't see it - the array intersection wasn't even part of the equation.