//-------------------------------------------------------------------
// Simple Date Display Script Version 1.0
// By H G Laughland
// http://www.laughland.biz
// This script can be used free of charge and may only be
// redistributed the same way.
//-------------------------------------------------------------------

/*********************************************************************
INSTRUCTIONS
Display the current date on your web site with this script. There are 2 ways
to add the script:

1. Add the following tags to the <head> section of your html page and put the
   code below between the tags where shown:
   
   <script language="JavaScript">
    PASTE CODE HERE
   </script>
   
2. Upload this file to your severs and add this line to the <head> 
   section of your html page:
   
   <script src="path/to/date.js"></script>
   
   Change the line to show the correct path to where you put the
   date .js file.
   
All you need to do now to call the script is add this code to your html page where you want the date to appear:

<script language="JavaScript">
  ShowDate();
</script>

Use <font> tags to set the font parameters for the displayed text.
**********************************************************************/

var months=new Array(13);
 months[1]="January";
 months[2]="February";
 months[3]="March";
 months[4]="April";
 months[5]="May";
 months[6]="June";
 months[7]="July";
 months[8]="August";
 months[9]="September";
 months[10]="October";
 months[11]="November";
 months[12]="December";

 var time=new Date();
 var lmonth=months[time.getMonth() + 1];
 var date=time.getDate();
 var year=time.getYear();

 function ShowDate(){
  if (year<100) year="19" + time.getYear();
  else year=time.getYear();
  if((year<1000) && (navigator.appName == "Netscape")) year = year + 1900;  
  document.write(date + " ");
  document.write(lmonth + " " + year);
 }

