//--Returns the current system time as a string in hh:mm am/pm format.
function nowStr() {
var now=new Date()
var hours=now.getHours()
var minutes=now.getMinutes()
timeStr=""+((hours > 12) ? hours - 12 : hours)
timeStr+=((minutes < 10) ? ":0" : ":") + minutes
timeStr+=(hours >= 12) ? " PM" : " AM"
return timeStr
}

//--Returns the current date in mm/dd/yy format as a string.

function todayStr() {
var today=new Date()
return today.getDate()+1+"/"+today.getMonth()+"/"+(today.getYear() + 1900)
}