
var today 		= new Date();			//object
var the_day		= today.getDay();
var the_date	= today.getDate();		//method
var the_month 	= today.getMonth();
var the_year 	= y2k(today.getYear());

function y2k(number)
{
	return (number<1000) ? number + 1900 : number;
}

//if statements for the Day!!! 
if	(the_day == "0")
	the_day = "Sunday";
	else
if	(the_day == "1")
	the_day = "Monday";
	else
if	(the_day == "2")
	the_day = "Tuesday";
	else
if	(the_day == "3")
	the_day = "Wednesday";
	else
if	(the_day == "4")
	the_day = "Thursday";
	else
if	(the_day == "5")
	the_day = "Friday";
	else
if	(the_day == "6")
	the_day = "Saturday";

// if statements for the Month!!!
if 	(the_month == "0")
	the_month = "January";
	else
if 	(the_month == "1")
	the_month = "February";
	else
if	(the_month == "2")
	the_month = "March";
	else
if	(the_month == "3")
	the_month = "April";
	else
if	(the_month == "4")
	the_month = "May";
	else
if	(the_month == "5")
	the_month = "June";
	else
if	(the_month == "6")
	the_month = "July";
	else
if	(the_month == "7")
	the_month = "August";
	else
if	(the_month == "8")
	the_month = "September";
	else
if	(the_month == "9")
	the_month = "October";
	else
if	(the_month == "10")
	the_month = "November";
	else
if	(the_month == "11")
	the_month = "December";

var the_whole_date = the_day + " " + the_date + " " + the_month + " " + the_year;

//end hiding stuff-->
