Thanks alot. It works perfect now :)
-- 
Posted via http://www.ruby-forum.com/.