Only this two divs?
Anyway, from what I saw in Your code is that checkboxes are inside divs (divloc1,divloc2 etc)
When You click the checkbox and attempt to hide coresponding div, You'll hide checkbox also. How can You show it again? :)
So, what Im trying to tell You, is that You need to do something like this (see the code below).
Do You have this page placed on some server where I can see it live through my browser?
Regards