<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
//  SET ARRAYS
var day_of_week = new Array('Sun','Mon','Tue','Wed','Thu','Fri','Sat');
var month_of_year = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

//  DECLARE AND INITIALIZE VARIABLES
var Calendar = new Date();

var year = Calendar.getYear();	    // Returns year
var month = Calendar.getMonth();    // Returns month (0-11)
var today = Calendar.getDate();    // Returns day (1-31)
var weekday = Calendar.getDay();    // Returns day (1-31)

var DAYS_OF_WEEK = 7;    // "constant" for number of days in a week
var DAYS_OF_MONTH = 31;    // "constant" for number of days in a month
var cal;    // Used for printing

Calendar.setDate(1);    // Start the calendar day at '1'
Calendar.setMonth(month);    // Start the calendar month at now


/* VARIABLES FOR FORMATTING
NOTE: You can format the 'BORDER', 'BGCOLOR', 'CELLPADDING', 'BORDERCOLOR'
      tags to customize your caledanr's look. */

var TR_start = '<TR>';
var TR_end = '</TR>';
var highlight_start = '<TD WIDTH="30"><TABLE CELLSPACING=0 BORDER=1 BGCOLOR=FFFF00 BORDERCOLOR=000000><TR><TD WIDTH=20><B><CENTER>';
var highlight_end   = '</CENTER></TD></TR></TABLE></B>';
var TD_start = '<TD WIDTH="30"><CENTER>';
var TD_end = '</CENTER></TD>';

/* BEGIN CODE FOR CALENDAR
NOTE: You can format the 'BORDER', 'BGCOLOR', 'CELLPADDING', 'BORDERCOLOR'
tags to customize your calendar's look.*/

cal =  '<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 BORDERCOLOR=000000><TR><TD>';
cal += '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5>' + TR_start;
cal += '<TD COLSPAN="' + DAYS_OF_WEEK + '" BGCOLOR="#FFE0E0"><CENTER><B>';
cal += month_of_year[month]  + '   ' + year + '</B>' + TD_end + TR_end;
cal += TR_start;

//   DO NOT EDIT BELOW THIS POINT  //

// LOOPS FOR EACH DAY OF WEEK
for(index=0; index < DAYS_OF_WEEK; index++)
{

// BOLD TODAY'S DAY OF WEEK
if(weekday == index)
cal += TD_start + '<B>' + day_of_week[index] + '</B>' + TD_end;

// PRINTS DAY
else
cal += TD_start + day_of_week[index] + TD_end;
}

cal += TD_end + TR_end;
cal += TR_start;

// FILL IN BLANK GAPS UNTIL TODAY'S DAY
for(index=0; index < Calendar.getDay(); index++)
cal += TD_start + '  ' + TD_end;

// LOOPS FOR EACH DAY IN CALENDAR
for(index=0; index < DAYS_OF_MONTH; index++)
{
if( Calendar.getDate() > index )
{
  // RETURNS THE NEXT DAY TO PRINT
  week_day =Calendar.getDay();

  // START NEW ROW FOR FIRST DAY OF WEEK
  if(week_day == 0)
  cal += TR_start;

  if(week_day != DAYS_OF_WEEK)
  {

  // SET VARIABLE INSIDE LOOP FOR INCREMENTING PURPOSES
  var day  = Calendar.getDate();

  // HIGHLIGHT TODAY'S DATE
  if( today==Calendar.getDate() )
  cal += highlight_start + day + highlight_end + TD_end;

  // PRINTS DAY
  else
  cal += TD_start + day + TD_end;
  }

  // END ROW FOR LAST DAY OF WEEK
  if(week_day == DAYS_OF_WEEK)
  cal += TR_end;
  }

  // INCREMENTS UNTIL END OF THE MONTH
  Calendar.setDate(Calendar.getDate()+1);

}// end for loop

cal += '</TD></TR></TABLE></TABLE>';



var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[0]="../Meli/MeliScarf.gif"
myimages[1]="../Meli/37RedTulip.gif"
myimages[2]="../Meli/greengold5.gif"
myimages[3]="../Meli/Raincoat.gif"
myimages[4]="../Meli/YellowFloralLong.gif"
myimages[5]="../Meli/BlackTubeDress.gif"
myimages[6]="../Meli/MeliFlag.gif"
myimages[7]="../Meli/MeliPolkaDots.gif"
myimages[8]="../Meli/OrangeSwtr.gif"
myimages[9]="../H/Masquerade.gif"
myimages[10]="../Meli/Cowgirl.gif"
myimages[11]="../Meli/SantaHelper1.gif"


//specify sizes
var mysize=new Array()
mysize[0]="WIDTH=89 HEIGHT=215"
mysize[1]="WIDTH=75 HEIGHT=230"
mysize[2]="WIDTH=95 HEIGHT=240"
mysize[3]="WIDTH=86 HEIGHT=230"
mysize[4]="WIDTH=84 HEIGHT=224"
mysize[5]="WIDTH=76 HEIGHT=230"
mysize[6]="WIDTH=149 HEIGHT=275"
mysize[7]="WIDTH=79 HEIGHT=233"
mysize[8]="WIDTH=91 HEIGHT=230"
mysize[9]="WIDTH=126 HEIGHT=245"
mysize[10]="WIDTH=108 HEIGHT=230"
mysize[11]="WIDTH=100 HEIGHT=237"

var melimusic=new Array()
//specify midis
melimusic[0]="../midi/auld.mid"
melimusic[1]="../midi/funnyval.mid"
melimusic[2]="../midi/ieyes.mid"
melimusic[3]="../midi/april_showers.mid"
melimusic[4]="../midi/bespring.mid"
melimusic[5]="../midi/summern1.mid"
melimusic[6]="../midi/americat.mid"
melimusic[7]="../midi/summern1.mid"
melimusic[8]="../midi/Autumn-Leaves.mid"
melimusic[9]="../midi/haloween2.mid"
melimusic[10]="../midi/turkstra.mid"
melimusic[11]="../midi/Beginningto.mid"

var melititle=new Array()
melititle[0]="Auld Lang Syne"
melititle[1]="My Funny Valentine"
melititle[2]="When Irish Eyes Are Smiling"
melititle[3]="April Showers"
melititle[4]="It Might As Well Be Spring"
melititle[5]="Summer Nights"
melititle[6]="America the Beautiful"
melititle[7]="Summer Nights"
melititle[8]="The Autumn Leaves"
melititle[9]="Theme from Halloween"
melititle[10]="Turkey In the Straw"
melititle[11]="It's Beginning To Look a Lot Like Christmas"

var meliblurb=new Array()
meliblurb[0]="Here we are, starting off a new year, and for most of us it's too COLD to go out and play with our tractors!"
meliblurb[1]="If you don't have a Valentine of your own, I'll be your Valentine this month."
meliblurb[2]="If you are a John Deere collector, you can't HELP but feel a little Irish when you're wearin' GREEN!"
meliblurb[3]="April Showers won't dampen my spirits.  I'll be out on the tractor as soon as the MUD dries up!"
meliblurb[4]="Spring has sprung and it's time to get outside and plant things in the DIRT!"
meliblurb[5]="The warm summer nights will help our gardens grow (and they'll allow a few after hours \"extracurricular\" activities, too!)"
meliblurb[6]="My favorite part of July is the fireworks, but I have to admit that I enjoy the warm WEATHER, too!"
meliblurb[7]="Did I mention how much I enjoy the hot summer weather? Or can you tell from my wardrobe?"
meliblurb[8]="The autumn leaves might start to fall by the end of the month, but for now, we can enjoy the BEST garden tomatoes of the year!!"
meliblurb[9]="There is no LIMIT to  what a Pixel Pixie can be on Halloween !"
meliblurb[10]="This month, I have to be thankful that the internet was invented.  Otherwise I wouldn't even EXIST!"
meliblurb[11]="It started to look a lot like Christmas even before Halloween this year."

var meliday=new Array()

meliday[0]="It's Sunday,"
meliday[1]="It's Monday,"
meliday[2]="It's Tuesday,"
meliday[3]="It's Wednesday,"
meliday[4]="It's Thursday,"
meliday[5]="It's Friday,"
meliday[6]="It's Saturday,"

//  PRINT CALENDAR

document.write('<TABLE BORDER=0 WIDTH=400><TR><TD>'+cal+'</TD>');

document.write('<TD><A HREF="../Calendar2006.html"><img src="'+myimages[month]+'" '+' '+mysize[month]+' border=0 ALT="I\'m Meli, your hostess. Click on me to see my twelve month calendar for 2006 !"></A></TD></TR><TR><TD COLSPAN=2><DIV CLASS="meli">&nbsp;&nbsp;&nbsp;'+meliday[weekday]+' '+month_of_year[month]+' '+today+'. '+meliblurb[month]+'</DIV></TD</TR></TABLE>');


document.write('<BR><BR>Go back to the page you just came from......<P><FORM><input type=button onclick=javascript:history.back(1) value="Back Button"></FORM><BR>');


document.write('<BR><embed src='+'"'+melimusic[month]+'"'+' border="0" width="144" height="24" autostart="true"  autoload="true" controls="smallconsole"><BR>'+'"'+melititle[month]+'"')


//  End -->


