


<!-- html --><!-- html --><!-- html -->
<!-- SCRIPT LANGUAGE="JavaScript" type="text/javascript" -->
<!-- //
	
var black = "http://javascript.internet.com/img/moon-phases/black.gif";
var white = "http://javascript.internet.com/img/moon-phases/white.gif";
	
if (black != "http://javascript.internet.com/img/moon-phases/black.gif") { black="/leytonho/images/blackmoon.gif"; } 
	
if (white != "http://javascript.internet.com/img/moon-phases/white.gif") { white="/leytonho/images/whitemoon.gif"; } 
	
var height= 1;
var size = 50;
var i;
// var OldBlueMoonDate = new Date(96, 1, 3, 16, 15, 0);
var BlueMoonDate = new Date(1996, 1, 4, 15, 57, 0);
var startDate = new Date();
var x = startDate;
startDate.setTime(startDate.getTime() + (startDate.getTimezoneOffset()*60000));
	
var yearRAW=startDate.getYear();
var yearX=startDate.getYear();
var theyear=startDate.getYear();
var jyear=5660 + startDate.getYear();
			 if (theyear> 99 && theyear< 200) {jyear += 7560}
			 else { if (theyear< 100) {jyear = 7660 + theyear};}
			 if (theyear> 99 && theyear< 200) {theyear += 1900}
			 else { if (theyear< 100) {theyear = 2000 + theyear};}
	
if (theyear != yearX) { startDate.setYear(theyear); }   //   safari   //   
	
var BMDyear = "1996"
var year = BlueMoonDate.getYear();
	
// if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))  {year="19" + year};
// if (navigator.appName == "Netscape") {year=1900 + year};
	
if (year> 99 && year< 200) {year += 1900}
else { if (year< 100) {year = 2000 + year}; }
	
if (BMDyear != year) { BlueMoonDate.setYear(BMDyear); }   //   safari   //   
	
var lunarPeriods = 29*(24*3600*1000) + 12*(3600*1000) + 44.05*(60*1000);
var FullMoonPhaseTimes = (startDate.getTime() - BlueMoonDate.getTime()) % lunarPeriods;
var NewMoonPhaseTimes = (( (lunarPeriods/2) + startDate.getTime() - BlueMoonDate.getTime())) % lunarPeriods;
var percentRaw = (FullMoonPhaseTimes / lunarPeriods);
var percent     = Math.round(100*percentRaw) / 100;
var percentBy2 = Math.round(200*percentRaw);
var left = (percentRaw >= 0.5) ? black : white;
var right = (percentRaw >= 0.5) ? white : black;
var FullMoonTimes = Math.round((lunarPeriods-FullMoonPhaseTimes)/(24*3600*1000));
var FullMoonHours = Math.round(((lunarPeriods-FullMoonPhaseTimes)/(3600*1000)));
var NewMoonTimes = Math.round((lunarPeriods-NewMoonPhaseTimes)/(24*3600*1000));
var NewMoonHours = Math.round(((lunarPeriods-NewMoonPhaseTimes)/(3600*1000)));
var yearDAY = 1;
var lowTide1 = 6*(3600*1000) + 12.05*(60*1000);
var highTide1 = 12*(3600*1000) + 24.05*(60*1000);
var highTide2 = 24*(3600*1000) + 48.05*(60*1000);
var lowTide2 = 18*(3600*1000) + 36.05*(60*1000);
var firstDSTusa = 93; // first yearDAY of USA Daylight Savings Time //
var lastDSTusa = 302; // first yearDAY of USA Daylight Savings Time //
// if ((yearDAY >= firstDSTusa) && (yearDAY <= lastDSTusa)) } yearDAY-= 0.041667;} // 
// if ((yearDAY >= firstDSTusa) && (yearDAY <= lastDSTusa)) } yearDAY-= (60*1000);} // 
var firstDSTaus = 302; // first yearDAY of AUS Daylight Savings Time //
var lastDSTaus = 93; // first yearDAY of AUS Daylight Savings Time //

document.writeln('');
document.writeln('');
document.write('<div align="center">');
document.write('<br><br>');
document.write('<BR><TABLE><TH><TR><TD></TD></TR></TH></TABLE><table bgcolor="#00FFFF" bgcolor="#eeaa00" border="3" bordercolor="#000000" cellspacing="0" cellpadding="11" rules="none"><CAPTION><H2> <NOBR> </NOBR> </H2></CAPTION><tr><td><BR><center>');
if (FullMoonTimes == 30) { FullMoonTimes=0; }
if (NewMoonTimes == 30) { NewMoonTimes=0; }
	
if (percentBy2 > 100) { 
percentBy2 = percentBy2 - 100;
} 
for (i = -(size-1); i < size; ++i) { 
var wid=2*parseFloat(Math.sqrt((size*size)-(i*i)));
if (percentBy2 != 100)
document.write ("<img src="+left +" border=0 height=1 width="+(wid*((100-percentBy2)/100))+">");
if (percentBy2 != 0)
document.write("<img src="+right+" border=0 height=1 width="+(wid*((percentBy2)/100))+">");
document.write("<br>");
} 
document.write('<H2><B>');
if (FullMoonTimes > 0) document.write(" &#9758; The next full moon occurs in about ",FullMoonTimes," day");
if (FullMoonTimes > 1) document.write("s");
if (FullMoonTimes == 0) document.write(" &#9758; The next full moon occurs in about ",FullMoonTimes," days");
document.write(". ");
document.write('<br><br>');
if (NewMoonTimes > 0) document.write(" &#9758; The next new moon occurs in about ",NewMoonTimes," day");
if (NewMoonTimes > 1) document.write("s");
if (NewMoonTimes == 0) document.write(" &#9758; The next new moon occurs in about ",NewMoonTimes," days");
document.write(". ");
document.write("</B></H2>");
document.write('</center></td></tr></table>');
document.write('<br><br>');
document.write('</div>');
document.writeln('');
document.writeln('');
// Applied from developer.netscape.com and altered within ten 140 hour working weeks.
// Original script copyright 1998 Netscape Corp., 1999 America Online.
// These researched portions not taken from anywhere purloined - - -  would you believe that or not ? ? ?
// All rights reserved and copyright 1999   http://www.purchase-secure.com.au:80/
//  Permission to use and alter is hereby NOT granted . . . resize.js
//  js component for NETSCAPE reloading page onResize . . . drift.js
//   Fix the awful bug in msIE5 that refuses to allow mouseover . . . floater.js
//   image map areas to properly show mouseover status messages . . . keyspic.js
// end hide -->
<!-- /script --><!-- /script --><!-- /script -->
<!-- /html --><!-- /html --><!-- /html -->



