if (daysleftint > 1)
document.write(daysleftint, " days to the ", faraevent , "! ");
else if (daysleftint == 1)
document.write(faraevent, " is tomorrow! ");
else if (today1 == future1)
document.write(p1, " ", faraevent, " is today! ");
else if (today1 == p1)
document.write(faraevent, " was yesterday!");