Moreover, where is you main() method? which method are you trying to write all that code into???
Just a bit of advise, whenever you develop a component, make sure to have a main() method which uses it, so that you can
unit test it before delivering it.
-Paul.
------------------
Get Certified, Guaranteed!
(Now Revised for the new Pattern)
www.enthuware.com/jqplus