    //By Adeniyi Oyenubi @ Custom System Solutions Ltd.
    //
    // Function to get current date & time - every minute
    //Requires the putform.js script to place the required form on page
    
//    function printdate()
 //   {
//		alert(putform())
//		if (putform() == false) putform()
		today = new Date();
		
		t_day = today.getDay()
		//get the actual day
		if (t_day == 0) {t_day = "Sun"}
		if (t_day == 1) {t_day = "Mon"}
		if (t_day == 2) {t_day = "Tue"}
		if (t_day == 3) {t_day = "Wed"}
		if (t_day == 4) {t_day = "Thur"}
		if (t_day == 5) {t_day = "Fri"}
		if (t_day == 6) {t_day = "Sat"}
		
		t_date = today.getDate()
		if (t_date == 1 || t_date== 21 || t_date== 31) {t_date = t_date + "st"}
		else if (t_date == 2 || t_date == 22) {t_date = t_date+"nd"}
		else if (t_date == 3 || t_date == 23) {t_date = t_date+"rd"}
			else {t_date = t_date+"th"}
		
		t_month = today.getMonth()
		if (t_month == 0) {t_month = "Jan"}
		if (t_month == 1) {t_month = "Feb"}
		if (t_month == 2) {t_month = "Mar"}
		if (t_month == 3) {t_month = "Apr"}
		if (t_month == 4) {t_month = "May"}
		if (t_month == 5) {t_month = "Jun"}
		if (t_month == 6) {t_month = "Jul"}
		if (t_month == 7) {t_month = "Aug"}
		if (t_month == 8) {t_month = "Sep"}
		if (t_month == 9) {t_month = "Oct"}
		if (t_month == 10) {t_month = "Nov"}
		if (t_month == 11) {t_month = "Dec"}
		
		t_hours = today.getHours()
				
		t_minutes = today.getMinutes()
		if (t_minutes < 10) {t_minutes = "0" + t_minutes}
			
		t_year = today.getYear()		
//		document.write ("<table width='300'height='20' border='1'><tr><td width='200'>")	
//		document.write ("<font color='#000000'><B>")
//			document.write(t_day + ", " + t_date + " " + t_month)
//		document.write ("</B></font>")
//		document.write ("</td>")
//		document.write ("<td width='100'>")
//		document.write ("<font color='#000000'><B>")
//			document.write (t_hours + ":" + t_minutes)
//		document.write ("</B></font>")		
//		document.write ("</font>")
//		document.write ("</td>")
//		document.write ("</tr></table>")
strtime = t_day + " " + t_date + " " + t_month + ", " + t_year
//strtime = strtime + " - " + t_hours + ":" + t_minutes
//document.frmtime.timer.value = strtime
document.write (strtime)
		//Set timer to repeat every minute
	//	Timer = setTimeout("printdate()",1000);


//	}