var presentation = ["chastity<\/word>","Artemis<\/word>","Greek goddess<\/word>","hunt<\/word>","wild animals<\/word>","Moon<\/word>","Artemis<\/strong> is the Greek goddess<\/strong> of the hunt<\/strong>, the wilderness, wild animals<\/strong>, the Moon<\/strong>, and chastity<\/strong>.<\/phrase>","childbirth<\/word>","Artemis<\/word>","Zeus<\/word>","Leto<\/word>","twin sister<\/word>","Apollo<\/word>","patron and protector<\/word>","young girls<\/word>","primary goddesses<\/word>","Eileithyia<\/word>","like<\/word>","Athena<\/word>","Hestia<\/word>","remain<\/word>","marry<\/word>","Artemis<\/strong> is the daughter of Zeus<\/strong> and Leto<\/strong>, and the twin sister<\/strong> of Apollo<\/strong>. She was the patron and protector<\/strong> of young girls<\/strong>, and was believed to bring disease upon women and relieve them of it. Artemis<\/strong> was worshipped as one of the primary goddesses<\/strong> of childbirth<\/strong> and midwifery along with Eileithyia<\/strong>. Much like<\/strong> Athena<\/strong> and Hestia<\/strong>, Artemis<\/strong> preferred to remain<\/strong> a maiden and is sworn never to marry<\/strong>.<\/phrase>","venerated<\/word>","Artemis<\/word>","Ancient Greek<\/word>","her temple<\/word>","Ephesus<\/word>","Seven Wonders of the Ancient World<\/word>","bow and arrow<\/word>","Diana<\/word>","Roman equivalent<\/word>","Artemis<\/strong> was one of the most widely venerated<\/strong> of the Ancient Greek<\/strong> deities and her temple<\/strong> at Ephesus<\/strong> was one of the Seven Wonders of the Ancient World<\/strong>. Artemis<\/strong>' symbols included a bow and arrow<\/strong>, a quiver and hunting knives and the deer and the cypress were sacred to her. The goddess Diana<\/strong> is her Roman equivalent<\/strong>.<\/phrase>","Classical Greek<\/word>","Artemis<\/word>","Apollo<\/word>","her twin<\/word>","all accounts<\/word>","agree<\/word>","Zeus<\/word>","Leto<\/word>","twin sister<\/word>","some sources<\/word>","same time<\/word>","Various conflicting accounts are given in Classical Greek<\/strong> mythology regarding the birth of Artemis<\/strong> and Apollo<\/strong>, her twin<\/strong> brother. However, in terms of parentage, all accounts<\/strong> agree<\/strong> that she was the daughter of Zeus<\/strong> and Leto<\/strong> and that she was the twin sister<\/strong> of Apollo<\/strong>. In some sources<\/strong> she is born at the same time<\/strong> as Apollo<\/strong>, in others, earlier or later.<\/phrase>","terra firma<\/word>","Hera<\/word>","Leto<\/word>","her husband<\/word>","Zeus<\/word>","Delos<\/word>","An account by Callimachus has it that Hera<\/strong> forbade Leto<\/strong> to give birth on either terra firma<\/strong> (the mainland) or on an island. Hera<\/strong> was angry with her husband<\/strong> Zeus<\/strong> because he had impregnated Leto<\/strong> but the island of Delos<\/strong> disobeyed Hera<\/strong> and Leto<\/strong> gave birth there<\/phrase>","midwife<\/word>","Artemis<\/word>","Apollo<\/word>","Most stories<\/word>","her mother<\/word>","her brother<\/word>","The myths also differ as to whether Artemis<\/strong> was born first, or Apollo<\/strong>. Most stories<\/strong> depict Artemis<\/strong> as born first, becoming her mother<\/strong>'s midwife<\/strong> upon the birth of her brother<\/strong> Apollo<\/strong>.<\/phrase>","childbirth<\/word>","Artemis<\/word>","her father<\/word>","Zeus<\/word>","always remain<\/word>","many names<\/word>","her apart<\/word>","her brother<\/word>","Apollo<\/word>","bow and arrow<\/word>","Cyclopes<\/word>","Light Bringer<\/word>","knee-length tunic<\/word>","hunt<\/word>","her choir<\/word>","Amnisides Nymphs<\/word>","watch<\/word>","her dogs<\/word>","bow<\/word>","rule<\/word>","any city<\/word>","help<\/word>","Artemis<\/strong>, while sitting on the knee of her father<\/strong>, Zeus<\/strong>, asked him to grant her ten wishes: 1. to always remain<\/strong> a virgin, 2. to have many names<\/strong> to set her apart<\/strong> from her brother<\/strong> Apollo<\/strong>, 3. to have a bow and arrow<\/strong> made by the Cyclopes<\/strong>, 4.to be the Light Bringer<\/strong>, 5. to have a knee-length tunic<\/strong> so that she could hunt<\/strong>, 6. to have sixty \"daughters of Okeanos\", all nine years of age, to be her choir<\/strong>, 7. to have twenty Amnisides Nymphs<\/strong> as handmaidens to watch<\/strong> her dogs<\/strong> and bow<\/strong> while she rested, 8. to rule<\/strong> all the mountains, 9. any city<\/strong>, 10. to have the ability to help<\/strong> women in the pains of childbirth<\/strong>.<\/phrase>","Fates<\/word>","midwife<\/word>","chastity<\/word>","Artemis<\/word>","her mother<\/word>","her twin<\/word>","Apollo<\/word>","own<\/word>","bow and arrow<\/word>","Moon<\/word>","Artemis<\/strong> believed that she had been chosen by the Fates<\/strong> to be a midwife<\/strong>, particularly since she had assisted her mother<\/strong> in the delivery of her twin<\/strong> brother, Apollo<\/strong>. All of her companions remained virgins, and Artemis<\/strong> closely guarded her own<\/strong> chastity<\/strong>. Her symbols included the golden bow and arrow<\/strong>, the hunting dog, the stag, and the Moon<\/strong>.<\/phrase>","Artemis<\/word>","Orion<\/word>","Gaia<\/word>","As a virgin, Artemis<\/strong> had interested many gods and men, but only her hunting companion, Orion<\/strong>, won her heart. Orion<\/strong> was accidentally killed either by Artemis<\/strong> or by Gaia<\/strong>.<\/phrase>","hunter<\/word>","Adonis<\/word>","Artemis<\/word>","kill<\/word>","boast<\/word>","Aphrodite<\/word>","Hippolytus<\/word>","Therefore<\/word>","Ares<\/word>","In some versions of the story of Adonis<\/strong>, Artemis<\/strong> sent a wild boar to kill<\/strong> Adonis<\/strong> as punishment for his hubristic boast<\/strong> that he was a better hunter<\/strong> than her. In other versions, Artemis<\/strong> killed Adonis<\/strong> for revenge. In later myths, Adonis<\/strong> had been related as a favorite of Aphrodite<\/strong>, and Aphrodite<\/strong> was responsible for the death of Hippolytus<\/strong>, who had been a favorite of Artemis<\/strong>. Therefore<\/strong>, Artemis<\/strong> killed Adonis<\/strong> to avenge Hippolytus<\/strong>'s death. In yet another version, Adonis<\/strong> was not killed by Artemis<\/strong>, but by Ares<\/strong>, as punishment for being with Aphrodite<\/strong>.<\/phrase>","patron god<\/word>","Trojans<\/word>","Artemis<\/word>","Troy<\/word>","her brother<\/word>","Apollo<\/word>","Iliad<\/word>","Hera<\/word>","Greeks<\/word>","own<\/word>","Zeus<\/word>","Leto<\/word>","bow<\/word>","Artemis<\/strong> may have been represented as a supporter of Troy<\/strong> because her brother<\/strong> Apollo<\/strong> was the patron god<\/strong> of the city and she herself was widely worshipped in western Anatolia in historical times. In the Iliad<\/strong> she came to blows with Hera<\/strong>, when the divine allies of the Greeks<\/strong> and Trojans<\/strong> engaged each other in conflict. Hera<\/strong> struck Artemis<\/strong> on the ears with her own<\/strong> quiver, causing the arrows to fall out. As Artemis<\/strong> fled crying to Zeus<\/strong>, Leto<\/strong> gathered up the bow<\/strong> and arrows.<\/phrase>","Trojans<\/word>","Artemis<\/word>","part<\/word>","like<\/word>","her mother<\/word>","Troy<\/word>","Iphigenia<\/word>","Agamemnon<\/word>","promise<\/word>","Hecate<\/word>","Artemis<\/strong> played quite a large part<\/strong> in this war. like<\/strong> her mother<\/strong> and brother, who was widely worshipped at Troy<\/strong>, Artemis<\/strong> took the side of the Trojans<\/strong>. At the Greek's journey to Troy<\/strong>, Artemis<\/strong> becalmed the sea and stopped the journey until an oracle came and said they could win the goddess' heart by sacrificing Iphigenia<\/strong>, Agamemnon<\/strong>'s daughter. Agamemnon<\/strong> once promised the goddess he would sacrifice the dearest thing to him, which was Iphigenia<\/strong>, but broke that promise<\/strong>. Other sources said he boasted about his hunting ability and provoked the goddess' anger. Artemis<\/strong> saved Iphigenia<\/strong> because of her bravery. In some versions of the myth, Artemis<\/strong> made Iphigenia<\/strong> her attendant or turned her into Hecate<\/strong>, goddess of night, witchcraft, and the underworld.<\/phrase>","childbirth<\/word>","marriage<\/word>","subservient<\/word>","power<\/word>","independence<\/word>","mother goddess<\/word>","Artemis<\/word>","Hunters<\/word>","hunt<\/word>","form<\/word>","scare<\/word>","her husband<\/word>","own<\/word>","An important aspect of Artemis<\/strong>' persona and worship was her virginity, which may seem contradictory given her role as a goddess associated with childbirth<\/strong>. It is likely that the idea of Artemis<\/strong> as a virgin goddess is related to her primary role as a huntress. Hunters<\/strong> traditionally abstained from sex prior to the hunt<\/strong> as a form<\/strong> of ritual purity and out of a belief that the scent would scare<\/strong> off potential prey. The ancient cultural context in which Artemis<\/strong>' worship emerged also held that virginity was a prerequisite to marriage<\/strong>, and that a married woman became subservient<\/strong> to her husband<\/strong>. In this light, Artemis<\/strong>' virginity is also related to her power<\/strong> and independence<\/strong>. Rather than a form<\/strong> of asexuality, it is an attribute that signals Artemis<\/strong> as her own<\/strong> master, with power<\/strong> equal to that of male gods. It is also possible that her virginity represents a concentration of fertility that can be spread among her followers, in the manner of earlier mother goddess<\/strong> figures.<\/phrase>","mother goddess<\/word>","childbirth<\/word>","Artemis<\/word>","Despite her virginity, both modern scholars and ancient commentaries have linked Artemis<\/strong> to the archetype of the mother goddess<\/strong>. Artemis<\/strong> was traditionally linked to fertility and was petitioned to assist women with childbirth<\/strong>.<\/phrase>"]; var currentPosition = 0; var totalPositions = 0; var timePerWord = 1500; var timePerPhraseWord = 120 var readAheadPlayerTimer; var autoPlay = true; var setMinimized = false; var wordSpeedOptions = {'Slower':2000,'Moderate':1200,'Fast':800}; var phraseSpeedOptions = {'Slower':280,'Moderate':200,'Fast':80}; var defaultWordSpeedOption = 'Moderate'; var defaultPhraseSpeedOption = 'Moderate'; var logToLTI = false; $(window).load(function(){ totalPositions = presentation.length; if (totalPositions > 0){ $('body').prepend('
'); $('body').prepend('
'); $('#read_ahead_player').prepend('
'); initializeReadAheadControls(); initializeReadAheadSlider(); initializeReadAheadSpeedOptions(); currentReadAheadControls(); resumeReadAheadPlayback(); } }); $(document).keyup(function(e){ switch(e.which) { case 37: pauseReadAheadPresentation(); priorReadAheadPresentationItem(); break; case 39: pauseReadAheadPresentation(); nextReadAheadPresentationItem(); break; default: break; } }); function initializeReadAheadControls(){ var s = ''; s += ''; s += ''; s += ''; s += '
'; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += '
'; $('#read_ahead_player').append(s); } function initializeReadAheadSlider(){ var s = ''; s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').prepend(s); updateReadAheadSliderPosition(); } function initializeReadAheadSpeedOptions(){ var s = '
'; s += '
'; s += ' Word Speed
'; s += '
'; optionCount = 0; for (index in wordSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in wordSpeedOptions) { var option = wordSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadWordSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; s += ' Phrase Speed
'; s += '
'; optionCount = 0; for (index in phraseSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in phraseSpeedOptions) { var option = phraseSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadPhraseSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').append(s); } function updateReadAheadWordSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0) { timePerWord = microseconds; } if (sender!=undefined) { $('#slider_control_word_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadWordSpeed','Presentation',microseconds); } function updateReadAheadPhraseSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0 ) { timePerPhraseWord = microseconds; } if (sender!=undefined) { $('#slider_control_phrase_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadPhraseSpeed','Presentation',microseconds); } function updateReadAheadSliderPosition(){ var currentSliderBarWidth = 100 - (100 / totalPositions * (currentPosition + 1)); $('#readAheadSliderBar').css('width',currentSliderBarWidth+'%'); } function currentReadAheadControls(){ $('#read_ahead_player_pause_play').show(); if (currentPosition < totalPositions - 1) { $('#read_ahead_player_next_word').removeClass('disabled'); } else { $('#read_ahead_player_next_word').addClass('disabled'); } if (currentPosition > 0) { $('#read_ahead_player_previous_word').removeClass('disabled'); } else { $('#read_ahead_player_previous_word').addClass('disabled'); } } function restartReadAheadPresentation(){ currentPosition = 0; logReadAheadPlayerAction('restartReadAheadPresentation','Presentation',''); resumeReadAheadPlayback(); } function resumeReadAheadPlayback(){ $('.fa-repeat').removeClass('fa-repeat').addClass('fa-play'); $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-play').removeClass('fa-play').addClass('fa-pause'); $(this).off('click'); $(this).attr('onclick','pauseReadAheadPresentation()'); }); logReadAheadPlayerAction('resumeReadAheadPlayback','Presentation',''); playReadAheadPresentation(); } function pauseReadAheadPresentation(){ $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-pause').removeClass('fa-pause').addClass('fa-play'); $(this).off('click'); $(this).attr('onclick','resumeReadAheadPlayback()'); }); logReadAheadPlayerAction('pauseReadAheadPresentation','Presentation',''); read_ahead_pause(); } function endReadAheadPresentation(){ $('.fa-play').removeClass('fa-play').addClass('fa-repeat'); $('.fa-pause').removeClass('fa-pause').addClass('fa-repeat'); $('#read_ahead_player_pause_play').each(function(){ $(this).off('click'); $(this).attr('onclick','restartReadAheadPresentation()'); }); logReadAheadPlayerAction('endReadAheadPresentation','Presentation',''); logLTIEndPresentation(); } function playReadAheadPresentation(){ autoPlay=true; currentPosition--; logReadAheadPlayerAction('playReadAheadPresentation','Presentation',''); nextReadAheadPresentationItem(); } function startReadAheadStepper(timeDisplayWord){ clearInterval(readAheadPlayerTimer); readAheadPlayerTimer = setTimeout(function() { read_ahead_step(); },timeDisplayWord); } function stopReadAheadStepper(){ clearInterval(readAheadPlayerTimer); } function read_ahead_step(){ if (autoPlay) { nextReadAheadPresentationItem(); } } function read_ahead_pause(){ autoPlay=false; stopReadAheadStepper(); } function showReadAheadPresentationItem(index){ currentPosition = index; currentPresentationItem = presentation[currentPosition] != undefined ? presentation[currentPosition].trim() : ""; if (currentPresentationItem != "") { currentItemWordCount = presentation[currentPosition].replace("\n","").split(" ").length; if (currentPresentationItem.startsWith("")){ startReadAheadStepper(currentItemWordCount*timePerWord); $('#read_ahead_player_field').html('
'+currentPresentationItem+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Word',currentPresentationItem); } else { startReadAheadStepper(currentItemWordCount*timePerPhraseWord); $('#read_ahead_player_field').html('
'+currentPresentationItem.replace("\n","
")+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Phrase',''); } } else { if (currentPosition < totalPositions) { nextReadAheadPresentationItem(); } else { endReadAheadPresentation(); read_ahead_minimize(); } } currentReadAheadControls(); updateReadAheadSliderPosition(); saveReadAheadPosition(); } function priorReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('priorReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition-1); } function nextReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('nextReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition+1); } function read_ahead_playAgain(){ currentWordIndex = 0; logReadAheadPlayerAction('read_ahead_playAgain','Controls',''); playReadAheadPresentation(); } function read_ahead_minimize(){ setMinimized = true; logReadAheadPlayerAction('read_ahead_minimize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_maximize(){ setMinimized = false; logReadAheadPlayerAction('read_ahead_maximize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_switch_min_max(forceSwitch){ forceSwitch = forceSwitch != undefined ? forceSwitch : false; if (forceSwitch) { setMinimized = !setMinimized; } if (setMinimized) { $('#read_ahead_player_back').fadeOut(); $('#read_ahead_player').addClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-lg').addClass('fa-sm'); $('.player-icons .fa-minus').removeClass('fa-minus').addClass('fa-expand'); logReadAheadPlayerAction('read_ahead_switch_min_max','Min',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_maximize()'); //}); } else { $('#read_ahead_player_back').fadeIn(); $('#read_ahead_player').removeClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-sm').addClass('fa-lg'); $('.player-icons .fa-expand').removeClass('fa-expand').addClass('fa-minus'); logReadAheadPlayerAction('read_ahead_switch_min_max','Max',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_minimize()'); //}); } } function saveReadAheadPosition(){ $.ajax({ type:'POST', url:'/ajax/save_user_presentation_position.php', data: { 'id':1207, 'position': currentPosition } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); } function logLTIEndPresentation(action) { if (!logToLTI) { return; } $.ajax({ type:'POST', url:'/lti/presentationEnded.php', data: { 'documentId':1207, 'userId':0, } }) } function logReadAheadPlayerAction(action,area,details){ var d = new Date(); var t = d.getTime(); action = action != undefined ? action.trim() : 'UNKNOWN'; area = area != undefined ? area.trim() : ''; details = details != undefined ? details : ''; // If we are about to show a new word, increase the number of keywords // reinforced so we can log that for the Dashboard page. if (area == 'Word') { window.keywordCount++; } $.ajax({ type:'POST', url:'/logging/logPlayerAction.php', data: { 'documentId':1207, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }