Robert, thank you so much for your help.  I'm just starting out in ruby, 
so I have a lot to learn!  I've attached my code with the changes you 
recommended.

Attachments:
http://www.ruby-forum.com/attachment/5263/mech.rb


-- 
Posted via http://www.ruby-forum.com/.