At a quick guess, as I mentioned via IM I'd say it's because the additions use two cells opposed to one.
As a trial try removing:-
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.
and
Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.
from your additions - this will confirm it, then we can look at changing the coding so you can still use the toggle feature.