// ************************************************************************************
// ** This file has been created with the Rotating Content Tool by Randy Hoyt.       **
// ** For more information, visit us on the web:                                     **
// **                                                                                **
// **     Rotating Content Tool   -- http://www.rotatecontent.com/                   **
// **     Author: Randy Hoyt      -- http://www.randyhoyt.com/                       **
// ************************************************************************************

today = new Date()
month = today.getMonth() + 1
year = today.getFullYear()

selectedDate = new Date("01/01/1900")
selectedContent = ""

varLength = 31
var entryDate = new Array(varLength)
var entryContent = new Array(varLength)

entryDate[0] = "         " + month + "/01/" + year
entryContent[0] = " <big><span style=\"font-weight: bold;\">alliteration</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;repetition of initial sound:<br> <span style=\"font-weight: bold;\">spumas salis aere ruebant (<i>Aeneid</i> 1.35)</span></span>"

entryDate[1] = "                      " + month + "/02/" + year
entryContent[1] = " <big><span style=\"font-weight: bold;\">anaphora</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;repetition of inital word/s in successive clauses:<br> <span style=\"font-weight: bold;\">hic illius arma, hic currus fuit (<i>Aeneid</i> 1.16b-17a)</span></span>"

entryDate[2] = "                      " + month + "/03/" + year
entryContent[2] = " <big><span style=\"font-weight: bold;\">aposiopesis</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;when the speaker breaks off in mid-sentence, unable to finish the thought:<br> <span style=\"font-weight: bold;\">quos ego</span></span><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">&mdash;sed motos praestat componere fluctus. (<i>Aeneid</i> 1.135)</span></span>"

entryDate[3] = "                      " + month + "/04/" + year
entryContent[3] = " <big><span style=\"font-weight: bold;\">apostrophe</span></big><small><small><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;an address to someone or something not physically present, often combined with personification:<br> <span style=\"font-weight: bold;\">o Danaum fortissime gentis Tydide! (<i>Aeneid</i> 1.96b-97a)</span></span></small></small>"

entryDate[4] = "                      " + month + "/05/" + year
entryContent[4] = " <big><span style=\"font-weight: bold;\">asyndeton</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;lack of conjunctions, has the effect of speeding the narrative:<br> <span style=\"font-weight: bold;\">ilicet ignis edax summa ad fastigia vento volvitur; exsuperant flammae, furit aestus ad auras. (<i>Aeneid</i> 2.758-69)</span></span>"

entryDate[5] = "                      " + month + "/06/" + year
entryContent[5] = " <big><span style=\"font-weight: bold;\">chiasmus</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;ABBA word order, perhaps to suggest a contrast between the elements or create some broader picture:<br> <span style=\"font-weight: bold;\">summa placidum caput . . . unda (<i>Aeneid</i> 1.127)</span></span>"

entryDate[6] = "                      " + month + "/07/" + year
entryContent[6] = " <big><span style=\"font-weight: bold;\">ecphrasis</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;an abrupt change of scene that eventually rejoins the narrative:<br> <span style=\"font-weight: bold;\">cavernas ingentis . . . milite complent.<br> </span></span> <ul> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">est in conspectu Tendedos. . . .</span></span></li> </ul> <span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">huc se provecti deserto in litore condunt. (<i>Aeneid</i> 2.20, 21, 24; ecphrasis 21-23)</span></span>"

entryDate[7] = "                      " + month + "/08/" + year
entryContent[7] = " <big><span style=\"font-weight: bold;\">ellipsis</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;omission of a word or words strictly necessary to the grammar of a phrase, but easily understood from the context. &nbsp;<span style=\"font-weight: bold;\">TIP</span>: if you encounter a clause with a perfect or future participle and another complete clause, the participle is really an elliptical verb with a form of <b>sum</b> missing:<br> </span> <ul> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">tum Venus: \"haud equidem illi tali me dignor honore\" (<i>Aeneid</i> 1.335)</span></span></li> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">participial example: navis, quae forte paratae, corripiunt (<i>Aeneid</i> 1.362b-63)</span></span></li> </ul>"

entryDate[8] = "                      " + month + "/09/" + year
entryContent[8] = " <big><span style=\"font-weight: bold;\">hendiadys</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of two nouns joined by a conjunction or a genitive relationship instead of the expected noun-adjective combination, thereby making the ideas equal:<br> <span style=\"font-weight: bold;\">da nunc, Thybri pater, ferro . . . fortunam atque viam (<i>Aeneid</i> 10.420)</span></span>"

entryDate[9] = "                      " + month + "/10/" + year
entryContent[9] = " <big><span style=\"font-weight: bold;\">hyperbaton</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;violent distortion of word order (even by Latin standards):<br> <span style=\"font-weight: bold;\">at <span style=\"text-decoration: underline;\">socii</span> multo gemitu lacrimisque <span style=\"font-style: italic;\">impositum</span> scuto referunt <span style=\"font-style: italic;\">Pallanta</span> <span style=\"text-decoration: underline;\">frequentes</span> (<i>Aeneid</i> 10.505-06)</span></span>"

entryDate[10] = "                      " + month + "/11/" + year
entryContent[10] = " <big><span style=\"font-weight: bold;\">hyperbole</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;exaggeration for dramatic effect:<br> <span style=\"font-weight: bold;\">clamores simul horrendos ad sidera tollit (<i>Aeneid</i> 2.222)</span></span>"

entryDate[11] = "                      " + month + "/12/" + year
entryContent[11] = " <big><span style=\"font-weight: bold;\">hysteron proteron</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;reversal of the logical temporal order:<br> <span style=\"font-weight: bold;\">ipse urbem repeto et cingor fulgentibus armis (<i>Aeneid</i> 2.749)</span></span>"

entryDate[12] = "                      " + month + "/13/" + year
entryContent[12] = " <big><span style=\"font-weight: bold;\">irony</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;a discrepancy between the apparent meaning of words and their true meaning (sometimes the speaker is unaware of this discrepancy, in which case we use the term&nbsp;<span style=\"font-style: italic;\">dramatic irony</span>):<br> <span style=\"font-weight: bold;\">dis equidem auspicibus reor et Iunone secunda hunc cursum Iliacas vento tenuisse carinas. (<i>Aeneid</i> 4.45-46)</span></span>"

entryDate[13] = "                      " + month + "/14/" + year
entryContent[13] = " <big><span style=\"font-weight: bold;\">litotes</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of a negative to express its opposite for dramatic effect (in Latin, a double negative generally&nbsp; = a positive):<br> <span style=\"font-weight: bold;\">frons laeta parum (<i>Aeneid</i> 6.862)</span></span>"

entryDate[14] = "                      " + month + "/15/" + year
entryContent[14] = " <big><span style=\"font-weight: bold;\">metaphor</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;an implied comparison that often contains a form of <span style=\"font-style: italic;\">be</span>: \"<span style=\"font-weight: bold;\">A</span> is&nbsp;<span style=\"font-weight: bold;\">B</span>.\" &nbsp;metaphors tend to focus on items that are essentially unlike but display at least one point of similarity:<br> <span style=\"font-weight: bold;\">volat ille per aera magnum remigio alarum (<i>Aeneid</i> 1.300b-01a)</span> </span>"

entryDate[15] = "                      " + month + "/16/" + year
entryContent[15] = " <big><span style=\"font-weight: bold;\">metonymy</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of one noun to replace another closely associated with it:<br> <span style=\"font-weight: bold;\">tu mihi . . . sceptra . . . concilias (<i>Aeneid</i> 1.79b-80a)</span></span>"

entryDate[16] = "                      " + month + "/17/" + year
entryContent[16] = " <big><span style=\"font-weight: bold;\">onomatopoeia</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;words that sound like what they describe, either at the level of the individual word or of the phrase:<br> </span> <ul> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">word: mugitus (<i>Aeneid</i> 2.223)</span></span></li> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">phrase: sanguineae superant undas (<i>Aeneid</i> 2.207)</span></span></li> </ul>"

entryDate[17] = "                      " + month + "/18/" + year
entryContent[17] = " <big><span style=\"font-weight: bold;\">oxymoron</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of contradictory words in juxtaposition:<br> <span style=\"font-weight: bold;\">dux femina facti (<i>Aeneid</i> 1.364)</span><span style=\"font-weight: bold;\"></span></span>"

entryDate[18] = "                      " + month + "/19/" + year
entryContent[18] = " <big><span style=\"font-weight: bold;\">personification</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;attribution of human qualities to anything not human, often combined with apostrophe:<br> <span style=\"font-weight: bold;\">fessas . . . navis (<i>Aeneid</i> 1.168)</span></span>"

entryDate[19] = "                      " + month + "/20/" + year
entryContent[19] = " <big><span style=\"font-weight: bold;\">pleonasm</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of more words than&nbsp;necessary to complete the meaning:<br> <span style=\"font-weight: bold;\">finem dedit ore loquendi (<i>Aeneid</i> 6.76)</span></span>"

entryDate[20] = "                      " + month + "/21/" + year
entryContent[20] = " <big><span style=\"font-weight: bold;\">polyptoton</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of two forms of the same root word in a phrase:<br> <span style=\"font-weight: bold;\">vicisti et victum tendere palmas Ausonii videre (<i>Aeneid</i> 1.936-37a)</span></span>"

entryDate[21] = "                      " + month + "/22/" + year
entryContent[21] = " <big><span style=\"font-weight: bold;\">polysyndeton</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;more conjunctions than are strictly &nbsp;necessary for the meaning:<br> <span style=\"font-weight: bold;\">una Eurusque Notusque ruunt creberque procellis Africus (<i>Aeneid</i> 1.85-86a)</span></span>"

entryDate[22] = "                      " + month + "/23/" + year
entryContent[22] = " <big><span style=\"font-weight: bold;\">praeteritio</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;pretending to avoid mentioning something while discussing it:<br> <span style=\"font-weight: bold;\">quid Thesea magnum, quid memorem Alciden? (<i>Aeneid</i> 6.122b-23a)</span></span>"

entryDate[23] = "                      " + month + "/24/" + year
entryContent[23] = " <big><span style=\"font-weight: bold;\">prolepsis</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;</span><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">assigning a future characteristic to something before it is logically appropriate, often by means of an adjective:<br> <span style=\"font-weight: bold;\">cui me moribundam deseris? (<i>Aeneid</i> 4.323)</span></span>"

entryDate[24] = "                      " + month + "/25/" + year
entryContent[24] = " <big><span style=\"font-weight: bold;\">simile</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;a comparison using&nbsp;<span style=\"font-style: italic;\">like</span> or&nbsp;<span style=\"font-style: italic;\">as</span>: \"<span style=\"font-weight: bold;\">A</span> is like&nbsp;<span style=\"font-weight: bold;\">B</span>.\" &nbsp;similes explain the unfamiliar in terms of the familiar. &nbsp;extended&nbsp; (Homeric or ring-form ) similes describing the natural or everyday world are common in Vergil:<br> <span style=\"font-weight: bold;\">clamores . . . quales mugitus, fugit cum saucius aram taurus (<i>Aeneid</i> 2.233-34a)</span>"

entryDate[25] = "                      " + month + "/26/" + year
entryContent[25] = " <big><span style=\"font-weight: bold;\">synchesis (interlocking word order)</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;<span style=\"font-weight: bold;\">A</span><span style=\"font-style: italic;\">B</span><span style=\"font-weight: bold;\">A</span><span style=\"font-style: italic;\">B</span> word order, often suggesting a relationship between the elements:<br> <span style=\"font-weight: bold;\">clipei extremos septemplicis orbis (<i>Aeneid</i> 12.925)</span></span>"

entryDate[26] = "                      " + month + "/27/" + year
entryContent[26] = " <big><span style=\"font-weight: bold;\">synecdoche</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;a type of metonymy involving the&nbsp;use of &nbsp;part for the whole (<span style=\"font-style: italic;\">pars pro toto</span>) or whole for the part:</span> <ul> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\"><span style=\"font-weight: bold;\">part for the whole: obrue puppis (<i>Aeneid</i> 1.69)</span></span></span></li> <li><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">whole for the part: </span></span><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">[porta] altera candenti perfecta nitens elephanto (<i>Aeneid</i> 6.895)</span></span></li> </ul>"

entryDate[27] = "                      " + month + "/28/" + year
entryContent[27] = " <big><span style=\"font-weight: bold;\">tmesis</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;splitting a word into its separate roots and separating them:<br> <span style=\"font-weight: bold;\"><span style=\"text-decoration: underline;\">hac</span> Troiana <span style=\"text-decoration: underline;\">tenus</span> fuerit fortuna secuta (<i>Aeneid</i> 6.62)</span></span>"

entryDate[28] = "                      " + month + "/29/" + year
entryContent[28] = " <big><span style=\"font-weight: bold;\">transferred epithet</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;moving an adjective from the noun it most logically modifies to another noun somehow related to the same idea:<br> </span><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\"><span style=\"font-weight: bold;\">virum . . . fortia corpora (<i>Aeneid</i> 1.101)</span></span>"

entryDate[29] = "                      " + month + "/30/" + year
entryContent[29] = " <big><span style=\"font-weight: bold;\">tricolon crescens</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;a series of three elements that grow in scope:<br> <span style=\"font-weight: bold;\">sit Latium, sit Albani per saecula reges, sit Romana potens Itala virtute propago (<i>Aeneid</i> 1.826-27)</span></span>"

entryDate[30] = "                      " + month + "/31/" + year
entryContent[30] = " <big><span style=\"font-weight: bold;\">zeugma</span></big><span style=\"font-size: 12pt; font-family: &quot;Times New Roman&quot;;\">&mdash;use of a word (usually a verb) with two others, to one of which it applies concretely, to the other more abstractly:<br> <span style=\"font-weight: bold;\">ille . . . oculos dextramque [manum] . . . protendens (<i>Aeneid</i> 12.930)</span></span>"

if (typeof display == "undefined") { var display = "date" }

if (display == "random")
{
  var randomNumber = Math.random()
  randomNumber *= varLength
  randomNumber = parseInt(randomNumber)
  if(isNaN(randomNumber)) randomNumber = 0
  else randomNumber %= varLength
  selectedContent = entryContent[randomNumber]
}
else
{
  for (x=0; x<(entryContent.length); x++)
  {
    tempDate = new Date(entryDate[x])
    tempContent = entryContent[x]
    if ((tempDate <= today) && (tempDate > selectedDate))
    {
      selectedContent = tempContent
      selectDate = tempDate
    }
  }
}

document.write (selectedContent)