Ok. Sorry I am really really new at this and I didnt realize that you can only evaluate one statement. So what I need to do is use two switch statements right? Thanks Sheryl -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020124/ebef8883/attachment.htm>