
function clock() {
	var now=new Date()
	var hrs= now.getHours()
	var mins=now.getMinutes()
	var secs=now.getSeconds()
	var disp=((hrs>12) ? (hrs-12) : hrs) + ":"
	disp+=((mins<10) ? "0" + mins : mins) + ":" + ((secs<10) ? "0" + secs : secs)
	disp+=((hrs>12) ? " PM" : " AM")
	status=disp
// to make it in the form feild..just use the same
//scripting as above..but just add this next line in
//place off "status=disp"

                setTimeout("clock()", 0);
}




