Stan,
Thanks for the advice. I wasn't sure how much current the optocoupler needed. I will change the resistor on the input to 1k and the pull up to 100k. I already have some AC optocouplers, so I think I will stick with them.
Professor Chaos,
Your circuit diagram was very helpful. Do you have any recommendations for a specific part that I could use for the Schmitt trigger. I would prefer a chip with 6 or 8 channels because I have several switches to control. I am a novice, and I'm having difficulty deciphering all the specifications and deciding which part to buy.
John