• Don't reinvent the wheel: use Jeff Moden's splitter function[/url].

    -- Gianluca Sartori