
*******************************************************************
	          |  |   _  / _  /  | /
	             |  /  / /  /    /
	        _/_/_| ___/ ___/ _/_/     

             APPLET by PETER KERL (c) 2001
	           www.peterkerl.de
*******************************************************************

DESCRIPTION:
Moon-Applet always shows the actual phase of the moon and generates
an (optional and editable) text-message, including the number of days 
until full moon. Absolutely necessary for astrologers, moonstrucks, 
lunatics, werewolfes and other creatures of the night ;-)
Colors, text, additional gifs and size are free adjustable.

FIRST Of ALL:
If you use Moon-Applet on your site/homepage, please mail me a link!
If you agree, I will publish those links, if not, I at least want
to have a look ;-)  [kerlpeter@hotmail.com]
   Moon-Applet was made and tested in germany. If it "is wrong" in 
some places of the world, or other problems appear, let me know. 

CURRENT VERSION: 2.12 (10.10.2002)

LEGAL STUFF:
Moon-Applet is free, and you are free to redistribute it (as package
including this file), as long as you take no money. 
   Of course you use this applet on your own risk. I'm not liable 
to you for any damages or loss of data it may cause because of working 
or not working. Okay, have to say this, although I don't know, how to 
cause damage with my applet.


PARAMETER:
(all values are examples, all params are optional)

<APPLET code=Moon.class height=100 name=Moon width=115>
	(the name-argument is only needed for JavaScript)

<PARAM NAME="copyright" VALUE="(c) 2001 by Peter Kerl">
	(if you set this param, Moon-Applet will show its textmessage
	in the statusbar [instead of the copyright-tag])

<PARAM NAME="hemisphere" VALUE="S">
	(this param ist especially for the southern hemisphere. It
	will "mirror" the moon. If you are from the north, just
	leave out or set the value to "N".)

<PARAM NAME="background" VALUE="400090">
	(rrggbb-format, should be the same value as the
	background of your document.)

[You can adjust the following colors just by their names 
	instead of rrggbb-code:
	basic: red, green, blue, yellow, orange, magenta, white, black.
	special: gold, silver, cyan, neon, darkblue, darkgray.]

<PARAM NAME="lightcolor" VALUE="gold">
	(the light-part of the moon)
<PARAM NAME="lightcolor2" VALUE="FFFF00">
	(optional second color, for gradient color-effects [from top 
	to bottom]. You can also set the values "darker" or "brighter" 
	instead of defining a concret color.)

<PARAM NAME="shadowcolor" VALUE="303060">
	(shadow-part of the moon)
<PARAM NAME="shadowcolor2" VALUE="brighter">

<PARAM NAME="picture" VALUE="batswarm.gif">
	(the name of an optional picture [gif]. It should
	be placed in the same directory as the applet.)
<PARAM NAME="picleft" VALUE="25">
	(relative pixel-position of the left edge of the pic)
<PARAM NAME="pictop" VALUE="27">
	(relative pixel-position of the top edge)

<PARAM NAME="fixed" VALUE="10">
	(fix the moonphase - in per cent [0 - 100]; 
	for graphic use, otherwise leave out)
	
Show text-message:
To allow most flexible integration in your page, I used 
JavaScript to display the message the applet generates.
Look at my example (Moon.htm), to learn how to do. Observe
that JavaScript doesn't refer to the class-name but to the
name in the applet-tag (name-argument).

<PARAM NAME="beforemsg" VALUE="Full moon is in">
	(the number of days will be automaticly supplemented)
<PARAM NAME="fullmoonmsg" VALUE="It's full moon!">
<PARAM NAME="aftermsg" VALUE="Full moon was">
	(the number of days will be automaticly supplemented)
<PARAM NAME="aftermsg2" VALUE=" ago.">

<PARAM NAME="showNMmsg" VALUE="true">
	(values are "true" or "false". True is default and
	means, that also New Moon Messages are generated.)
<PARAM NAME="newmoonmsg" VALUE="It's new moon.">
<PARAM NAME="beforeNMmsg" VALUE="New moon is in">
<PARAM NAME="afterNMmsg" VALUE="New moon was">
<PARAM NAME="afterNMmsg2" VALUE=" ago.">

<PARAM NAME="day" VALUE="day">
	(one day in your language)
<PARAM NAME="days" VALUE="days"> (plural)

</APPLET>


ADDITIONAL GIFs:
You will find a package (ZIP) of matching GIFs on my Site:
(http://passepartout.peterkerl.de)


 enjoy your cyber-life

    , /  _/ _ _/  _/
    _/  _/   /   _/ 
  _/   _/  _/   _/ 

 Peter Kerl, Braunschweig den 05.05.01
 http://www.peterkerl.de
 email: kerlpeter@hotmail.com