latest source code with test pages

full source code @ 7/3/13