/*** EARTHCAL_EN_1.JS - Copyright © 34 Eudaemony Laboratory               ***/

/***                 Script for the short date of                         ***/
/***                      The Earth Calendar                              ***/
/***         http://www.earthcal.org - email(at)earthcal.org              ***/

/*** This script can be used to show the date of "The Earth Calendar"     ***/
/*** both on the desktop of one's own computer and on one's own web site. ***/
/*** This script can be modified provided that no change will be made     ***/
/*** to the date of "The Earth Calendar", protecting its standard,        ***/
/*** and that will be fully respected and reported all the terms of       ***/
/*** this agreement.                                                      ***/

/*** The name "The Earth Calendar" and the logo of its almanac,           ***/
/*** with its original nomenclature, are trademarks of the                ***/
/*** Eudaemony Laboratory. The commercial or simply public use of both,   ***/
/*** therefore also of the new nomenclature adopted by                    ***/
/*** "The Earth Calendar", is granted at condition of the subscription    ***/
/*** and of the full respect of the special license available             ***/
/*** at http://licenses.earthcal.org/                                     ***/

/*** Copyright and trademarks note: http://legal.earthcal.org/            ***/

/*** No warranty of good working is furnished to this script.             ***/
/*** Therefore use it at your own risk. Notes on its installation,        ***/
/*** and the eventual updates, are available at:                          ***/
/*** http://lines.earthcal.org/                                           ***/

/*** EARTHCAL_EN_1.JS - Script Version 1.0.1                              ***/


today = new Date

var oey=today.getFullYear()
var ney=oey-1969

var yos=ney%7

noy = new Array("Moonyear", "Atomyear", "Wateryear", "Windyear", "Fireyear", "Earthyear", "Sunyear")

moy = new Array("first month", "second month", "third month", "fourth month", "fifth month", "sixth month", "seventh month", "eighth month", "ninth month", "tenth month", "eleventh month", "twelfth month")

dow = new Array("Sunday", "Moonday", "Atomday", "Waterday", "Winday", "Fireday", "Earthday")

document.write("<a class='earthcal_en_1' href='http://www.earthcal.com' style='text-decoration: none' target='TheEarthCalendar' title='The Earth Calendar'>Today is " + dow[today.getDay()] + " " + today.getDate() + ", " + moy[today.getMonth()] + ", " + noy[yos] + " " + ney + "</a>")

