/***************************************************************************
* Clock Date Script V1.003 by Chiedu Odukwe (c) webmaster@cnodesigns.co.uk *
****************************************************************************
* Script is free to use as long as this header is not modified or deleted. *
* This script allows you to put current access date and time on page.      *
* Date appears on page in the format:- "Sun 20-May-2001"                   *
* To use add line below to your page:                                      *
* <script language="JavaScript" src="clock.js"></script>                   *
*									   *
* Ensure that this file is placed in your root folder of your website.     *
***************************************************************************/

<!--
function initArray() {
  this.length = initArray.arguments.length
  for (var i = 0; i < this.length; i++)
  this[i+1] = initArray.arguments[i]
}

 var MOY = new  initArray("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec");
 var TheWeek = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
 var TodayDate = new Date();                      // Generate Current Date and Time 
 var MyDate = TodayDate.getDate();                // Aquire Current Date
 var MyDOW = TodayDate.getDay();                  // Aquire Current Day of week
 var MyMonth = MOY[(TodayDate.getMonth()+1)];     // Aquire Current Month
 var MyYear = TodayDate.getYear();                // Aquire Current Year

 if (MyYear < 2000) {
	MyYear = 1900 + MyYear;                   // Y2K Fix
		    }

 var V1 = (TheWeek[MyDOW] + ", " + MyDate + "-" + MyMonth + "-" + MyYear); // Format Date Output

 document.write(V1);                             // Write date to page
// -->
