[eluser]ICEcoffee[/eluser]
your right about the url being incorrect, I spotted this and made the change, and no longer get a 404, but am getting other errors.
so I think I will do as you suggested and reduce code, and build (and learn) from there. Thanks.