function GetTheDate(){

var now = new Date;
var MyDay = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")
var MyMonth = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec")

document.write (MyDay[now.getDay()] + ", ");
document.write (MyMonth[now.getMonth()] + " ");
document.write (now.getDate() + ", ");
document.write (now.getYear());

}

//			:::  DAYS UNTIL SCRIPT  :::

function CalcDate() {

// ------ Get Today's Date

var now = new Date();
var birth = new Date(2002,04,05);

// ------ Turn numbers into letters

var ListMonth = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

// ------ Set variables for the Birthday

var BirthDate = birth.getDate();
var BirthMonth = birth.getMonth();

// ------ Simplify current Date and Month variables

var CurrDate = now.getDate();
var CurrMonth = now.getMonth();

// ------ Find the difference between dates

var MoreDays = BirthDate - CurrDate;

// ------ Adjust so it doesn't say "1 days"

if (MoreDays == 1)

  DaysAgo = ('day');

else

  DaysAgo = ('days');

// ------ Calculate dates and write appropriate message

var UnroundedDays = (now - birth) / (1000 * 60 * 60 * 24)
var RoundedDays = parseInt(UnroundedDays)

if ((CurrMonth == BirthMonth) && (CurrDate == BirthDate)) {

	document.write ('It is our anniversary today.')
}
else
  
  if (((CurrMonth == BirthMonth) && (CurrDate < BirthDate)) || (CurrMonth < BirthMonth)) {

	var UnroundedDays = (birth - now) / (1000 * 60 * 60 * 24)
	var RoundedDays = parseInt(UnroundedDays)
	document.write (RoundedDays + ' ' + DaysAgo + ' until our anniversary.');

  	}

}

//			:::  HIDE EMAIL ADDRESS  :::

function HideEmail(user,domain){
  document.write('<a href="mailto:' + user + '@' + domain + '?subject=Your%20Family%20Website">'); 
}