thanks,
its on its way ... & improving.
i know the algorithm will work, but javascript isnt my first language so bugs abound