// Time to dust off the old binary search robes and wizard hat. var left = 0, right = childNodes.length;