Added code to write "down" for moon separation on HTML output if the moon is down.