This following is a small enhancement? to a free java script.
You can view the original from the link given below.
This is the original James Thiele java code, plus one lunar months onwards ...
You must also save the GIF images (1x1 pixel) black and white
if you want to run the script offline.
End of Show - white and black dots = and resp.
Another view of the same thing go to more moon stuff , or another try ;-))
Another interesting java script I like is an analogue clock with a rotating day, date.
Lovely stuff, this javascript! Java Clock