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 += '

Christ is a jewel more worth than a thousand worlds, as all know who have Him. Get Him, and get all; miss Him and miss all.

- Brooks, Thomas
';text += '

This daily, Christian quote provided by Christian Quote of the Day
';