// JavaScript Document
//None at the moment.  Will add functionality soon.
//-Fred Faulkner - Webmaster, American Bar Association

// Today's Date Script 
// Added 6-26-06
// Display's today's date as Monday, June 26, 2006

function write_date()
{
var thetime=new Date();

var nday=thetime.getDay();
var nmonth=thetime.getMonth();
var ntoday=thetime.getDate();
var nyear=thetime.getYear();
var AorP=" ";

if (nday==0)
  nday="Sunday";
if (nday==1)
  nday="Monday";
if (nday==2)
  nday="Tuesday";
if (nday==3)
  nday="Wednesday";
if (nday==4)
  nday="Thursday";
if (nday==5)
  nday="Friday";
if (nday==6)
  nday="Saturday";

nmonth+=1;

if (nmonth==1)
	nmonth="January";
if (nmonth==2)
	nmonth="February";
if (nmonth==3)
	nmonth="March";
if (nmonth==4)
	nmonth="April";
if (nmonth==5)
	nmonth="May";
if (nmonth==6)
  nmonth="June";
if (nmonth==7)
	nmonth="July";
if (nmonth==8)
	nmonth="August";
if (nmonth==9)
	nmonth="September";
if (nmonth==10)
	nmonth="October";
if (nmonth==11)
	nmonth="November";
if (nmonth==12)
	nmonth="December";

if (nyear<=99)
  nyear= "19"+nyear;

if ((nyear>99) && (nyear<2000))
 nyear+=1900;

document.write(""+nday+", "+nmonth+" "+ntoday+", "+nyear);

}  

// END TODAY'S DATE SCRIPT