function ShowDate()
{
	var months = new Array(13);
   months[0]  = "Jan";
   months[1]  = "Feb";
   months[2]  = "Mar";
   months[3]  = "Apr";
   months[4]  = "May";
   months[5]  = "Jun";
   months[6]  = "Jul";
   months[7]  = "Aug";
   months[8]  = "Sep";
   months[9]  = "Oct";
   months[10] = "Nov";
   months[11] = "Dec";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   var dateString = monthname +
                    ' ' +
                    monthday;
	document.write(dateString);
}
function ShowTime()
{
	var DateTime = "";
	var currentTime = new Date()
	var hours = currentTime.getHours();
	
	var minutes = currentTime.getMinutes()
	if (minutes < 10)
	{
		minutes = "0" + minutes
	}
	DateTime += (hours%12 || 12) + ":" + minutes + " ";
	if(hours > 11)
	{
		DateTime += "PM";
	}
	else
	{
		DateTime += "AM";
	}
	document.write(DateTime);
}
