//Get Date

var months=new Array(13);

months[1]="Jan.";

months[2]="Feb.";

months[3]="March";

months[4]="April";

months[5]="May";

months[6]="June";

months[7]="July";

months[8]="Aug.";

months[9]="Sept.";

months[10]="Oct.";

months[11]="Nov.";

months[12]="Dec.";

var time=new Date();

var lmonth=months[time.getMonth() + 1];

var date=time.getDate();

var year=time.getYear();

if (year < 2000) 

year = year + 1900; 



//Get Time

var now = new Date();

var hours = now.getHours();

var minutes = now.getMinutes()

var timeValue = "" + ((hours >12) ? hours -12 :hours)

if (timeValue == "0") timeValue = 12;

timeValue += ((minutes < 10) ? ":0" : ":") + minutes

timeValue += (hours >= 12) ? " pm" : " am"



//Get Day

var days=new Array(7);

days[0]="Sun.";

days[1]="Mon.";

days[2]="Tues.";

days[3]="Wed.";

days[4]="Thurs.";

days[5]="Fri.";

days[6]="Sat.";

var lday=days[time.getDay()];

//-->
// JavaScript Document