var text = '
Christian Quote of the Day
';
var dateSuffix='th';
todaysDate = new Date();
if (todaysDate.getDate() == 1 || todaysDate.getDate() == 21 || todaysDate.getDate() == 31) {
dateSuffix = 'st';
};
if (todaysDate.getDate() == 2 || todaysDate.getDate() == 22) {
dateSuffix = 'nd';
}
if (todaysDate.getDate() == 3 || todaysDate.getDate() == 23) {
dateSuffix = 'rd';
}
dayarray = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
montharray = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
text += dayarray[todaysDate.getDay()] + ", " + montharray[todaysDate.getMonth()] + " " + todaysDate.getDate() + dateSuffix + ", ";
if (todaysDate.getYear() <1000){
text += todaysDate.getYear() + 1900;
}
else
{
text += todaysDate.getYear();
};
text += '
To pray is to grasp heaven in one\'s arms; to embrace the Deity within one\'s soul, and to feel one\'s body made a temple of the Holy Spirit.
- Spurgeon, C. H.
';text += '
This daily, Christian quote provided by Christian Quote of the Day';