hi RuthAnne,
i see a couple different problems with the code you posted...
1. you aren't allowed to define more than one function with the same name. instead of having two "init" functions, it would be a better idea to just have one and place all the code that needs to fire when the application loads in one place.
2. you should be placing all the dojo.require() statements we use to load modules at the very top of your script block. right now you make a second unnecessary call to dojo.require("map"), in the middle of your javascript. this can safely be removed.
3. in your second init function, you are instantiating a second map. this should be removed as well.
4. lastly, your updateLayerVisibility() function isn't currently called by anything. thats not necessarily going to cause any errors, its just something you should know.