Choosing source div in generic manner