Truthfully I have no idea what you're trying to accomplish with the admin concept or why you have everything in your posted code commented out. I assumed your problem was that everything became visible when you clicked the back button. A simple solution to that would be to set everything to hidden at the top of the page (the very first thing js does) and then check to see if it should be shown.
Reputation Points: 23
Solved Threads: 21
Junior Poster in Training
Offline 99 posts
since Aug 2010