<!-- Date in Java Script .. Cameron Gregory  http://www.bloke.com/
// http://www.bloke.com/javascript/Date/
// change and modify this if you like, but leave these
// 4 comment lines in tact and unchanged.

function longMonthArray() {
	this[0] = "January";	this[1] = "February";	this[2] = "March";
	this[3] = "April";	this[4] = "May";	this[5] = "June";
	this[6] = "July";	this[7] = "August";	this[8] = "September";
	this[9] = "October";	this[10] = "November";	this[11] = "December";
        return (this);
}

function shortMonthArray() {
	this[0] = "Jan";	this[1] = "Feb";	this[2] = "Mar";
	this[3] = "Apr";	this[4] = "May";	this[5] = "Jun";
	this[6] = "Jul";	this[7] = "Aug";	this[8] = "Sep";
	this[9] = "Oct";	this[10] = "Nov";	this[11] = "Dec";
        return (this);
}

function longDayArray() {
	this[0] = "Sunday";	this[1] = "Monday";	this[2] = "Tuesday";
	this[3] = "Wednesday";	this[4] = "Thursday";	this[5] = "Friday";
	this[6] = "Saturday";
        return (this);
}

function shortDayArray() {
	this[0] = "Sun"; this[1] = "Mon"; this[2] = "Tue"; this[3] = "Wed";
	this[4] = "Thu"; this[5] = "Fri"; this[6] = "Sat";
        return (this);
}

function getShortYear(year)
{
shortyear =  year%100;
     if (shortyear < 10) shortyear = "0"+shortyear;
	return shortyear
}

function getLongYear(year)
{
  if (year > 1900) return year
  return year+1900;
}

function writeDateLong(format)
{
   shortDays = new shortDayArray();
   longDays = new longDayArray();
   shortMonths = new shortMonthArray();
   longMonths = new longMonthArray();
   d = new Date();
   day = d.getDate();
   month = d.getMonth();
	year = d.getYear();
   if (format == 0)
     str = shortDays[d.getDay()] + " " + shortMonths[month] +". " + day + ", "+getLongYear(year);
  else if (format == 1)
     str = shortDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 2)
     str = longDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 3)
     str = longMonths[month] + " " + day + ", "+getLongYear(year);
   else if (format == 4)
     str = shortDays[d.getDay()] + " " + day + " " + shortMonths[month] +". " +getLongYear(year);
  else if (format == 5)
     str = shortDays[d.getDay()] + " " + day + " " + longMonths[month] + " " +getLongYear(year);
  else if (format == 6)
     str = longDays[d.getDay()] + " " + day + " " + longMonths[month] + " " + getLongYear(year);
  else if (format == 7)
     str = day + " " + longMonths[month] + ", "+getLongYear(year);
  else {
     month++;
     shortyear = getShortYear(year);
     if (format == 8)
       str = month + "/" + day + "/" + shortyear;
     else if (format == 9)
       str = month + "/" + day + "/" + getLongYear(year);
     else if (format == 10)
       str = day + "/" + month + "/" + shortyear;
     else if (format == 11)
       str = day + "/" + month + "/" + getLongYear(year);
     else if (format == 12)
       str = shortyear + "/" + month + "/" + day;
     else if (format == 13)
       str = shortyear + "/" + month + "/" + day;
     else {
        if (day < 10) day = "0"+day
        if (month < 10) month = "0"+month
        if (format == 14)
          str = month + "/" + day + "/" + shortyear;
        else if (format == 15)
          str = month + "/" + day + "/" + getLongYear(year);
        else if (format == 16)
          str = day + "/" + month + "/" + shortyear;
        else if (format == 17)
          str = day + "/" + month + "/" + getLongYear(year);
        else if (format == 18)
          str = shortyear + "/" + month + "/" + day;
        else if (format == 19)
          str = shortyear + "/" + month + "/" + day;
        }
     }
  document.writeln(str);
}

function writeDate()
{
   writeDateLong(0);
}

function writeTimeLong(format)
{
   d = new Date();
   hour=d.getHours();
   min=d.getMinutes();
   sec=d.getSeconds();
   if (hour < 10) hour = "0"+hour;
   if (min < 10) min = "0"+min;
   if (sec < 10) sec = "0"+sec;
   
   if (format == 0)
      str = hour+":"+min+":"+sec;
   else if (format == 1)
      str = hour+":"+min;
   
   document.writeln(str);
}

function writeTime()
{
   writeTimeLong(0);
}

//End of  Date function in Java Script .. Cameron Gregory  http://www.bloke.com/



// ==============================================
// Copyright 2004 by CodeLifter.com
// Free for all; but please leave in this header.
// ==============================================

var Quotation=new Array() // do not change this!

// Set up the quotations to be shown, below.
// To add more quotations, continue with the
// pattern, adding to the array.  Remember
// to increment the Quotation[x] index!

Quotation[0] = "South Korea has a population of 48.6 million people.";
Quotation[1] = "The Netherlands encompass 16,033 square miles.";
Quotation[2] = "New Zealand legalized prostitution in June of 2003.";
Quotation[3] = "Japanese females have a life expectancy of over 84 years.";
Quotation[4] = "Germany has a population of 82.4 million people.";
Quotation[5] = "France has 18.342 miles of railroads.";
Quotation[6] = "Egypt encompasses 386,662 square miles.";
Quotation[7] = "Fish is the principal export of Greenland.";
Quotation[8] = "China has a popluation density of 364 people per square mile.";
Quotation[9] = "Canada has a population density of 9 people per square mile.";
Quotation[10] = "There are an estimated 350,000 internet users in Bolivia.";
Quotation[11] = "Ireland encompasses 27,135 square miles.";
Quotation[12] = "There are over 33 million passenger cars in Italy.";
Quotation[13] = "There are over 26 million chickens in Kenya.";
Quotation[14] = "North Korea has a population density of 497 people per square mile.";
Quotation[15] = "9% of the population of Kuwait is of South Asian descent.";
Quotation[16] = "The official monetary unit of Laos is the Kip.";
Quotation[17] = "Lebanon's per capita GDP is US $6,200.";
Quotation[18] = "The official monetary unit of Lesotho is the Loti.";
Quotation[19] = "There are 455 miles of railroads in Madagascar.";
Quotation[20] = "There are 236,000 passenger cars in Malta.";
Quotation[21] = "2.76 million people live in Lisbon, the capital of Portugal.";
Quotation[22] = "Education is compulsory until age 12 in the Phillippines.";
Quotation[23] = "Russia has a population density of 21 people per square mile.";
Quotation[24] = "Brazil has a population of 188 million people.";
Quotation[25] = "11.4 million people live in the U.S. state of Ohio.";
Quotation[26] = "3.84 million people live in Los Angeles, California.";
Quotation[27] = "2.7 million people live in the U.S. state of Kansas.";
Quotation[28] = "4.6 million people live in Norway.";
Quotation[29] = "132 million people live in Nigeria.";
Quotation[30] = "Switzerland has three official languages: German, French & Italian.";

// ======================================
// Do not change anything below this line
// ======================================
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}

// end-->