
/*******Popup Window Definition*********************/

var htmlOpener = "<html><head><title>Image</title>"+
		 "</head><body onload='closeMe();self.focus()' bgcolor='white' text='#663300'><p>"

var htmlCloser = "</body></html>"

popup1 = "<center><b>Perseus, aided by Athena, slays the Gorgon Medusa</b><br><br><img src='metopa.gif'>"+
		 "</center><br><br><center><b>Metope from Temple E at Selinus in western Sicily<br>560-550 bce</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup2 = "<center><b>Perseus Liberates Andromeda</b><br><br><img src='perseus_andromeda.gif'>"+
		 "</center><br><br><center><b>Fresco. House of the Dioscuri.  Pompeii. 70 bce</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup3 = "<center><b>The ramp on the east side of the acropolis of Tiryns leading to the main entrance.</b><br><br><img src='lk04a024.gif'>"+
		 "</center><br><br><b>The Cyclopean walls which surround the citadel have a total perimeter of approximately 700 m (2,300 ft) and a width between 4.5 and 8 m (26 ft).<br><br>The building of the fortifications began during the 14th century bce and was completed at the end of the 13th century (Late Helladic IIIB period).</b><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup4 = "<center><b>The highest of the Five Peaks of the Taygetus</b><br><br><img src='taigetos113.gif'>"+
		 "</center><br><br><center><b>The Pyramidal Peak of the Prophet Elias</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup5 = "<center><b>View of the Eurotas from the Menelaion</b><br><br><img src='0418Sparta12Web.gif'>"+
		 "</center><br><br><center><b>The modern town of Sparta is in the distance.</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup6 = "<center><b>Aerial View of Mycenae</b><br><br><img src='04MycenaeAerial.gif'>"+
		 "</center><br><br><center><b>Text<br>Date</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup7 = "<center><b>Aerial View of Tiryns</b><br><br><img src='tiryns-aerial-sized.gif'>"+
		 "</center><br><br><center><b>Text<br>Date</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup8 = "<center><b>The Citadel of Midea</b><br><br><img src='wpe54.gif'>"+
		 "</center><br><br><center><b>View looking out over the plain of the Argolid<br><br>The site was destroyed at the end of the 13th century bce &mdash; most probably by an earthquake.</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup9 = "<center><b>Heracles strangling the snakes.  Iphicles is jumping up into Alcmene's arms; Athena is watching on the left; Ampitryon raises his had in alarm on the right.</b><br><br><img src='LouvreG192.gif'>"+
		 "</center><br><br><center><b>Attic red figure stamnos<br>480-470 bce</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup10 = "<center><b>Gustav Moreau, Heracles and the Daughters of Thespius</b><br><br><img src='The_Daughters_of_Thespius.gif'>"+
		 "</center><br><br><center><b>Moreau worked on this piece, which never left his studio, intermittently for forty years, from 1858 to 1898.</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup11 = "<center><b>Map showing the location of the Taphians (= Echinades Islands)</b><br><br><img src='TaphiansMap.gif'>"+
		 "</center><br><br><b>In the first book of the <u>Odyssey</u>, Athena disguises herself before Telemachus as Mentes, son of the king of the Taphians, and claims she is on a voyage to trade iron for copper.<br>In Book 15, the serving woman who kidnapped Eumaeus had herself been kidnapped by Taphian pirates.<br>And in Book 16, Penelope reproaches Antinous for his failure to remember how Odysseus defended him before the people, who were angry with him for having gone with some Taphian pirates to plunder the Thesprotians.</b><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup12 = "<center><b>Heracles, in the presence of Athena, welcomes his son Hyllus presented to him by Deianara.</b><br><br><img src='hyllosd1.gif'>"+
		 "</center><br><br><center><b>Attic red figure Pelike<br>480 bce</b><br>Louvre G229</center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup13 = "<center><b>Title</b><br><br><img src='image'>"+
		 "</center><br><br><center><b>Text<br>Date</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup14 = "<center><b>Title</b><br><br><img src='image'>"+
		 "</center><br><br><center><b>Text<br>Date</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"

popup15 = "<center><b>Title</b><br><br><img src='image'>"+
		 "</center><br><br><center><b>Text<br>Date</b></center><br><br><center><b>This window will close automatically in ten seconds.</b></center><br><center><input type=button value='Close'  onClick='self.close()'></center>"






/****END OF STRING DEFINITION*****/

 var popupWin

  function popup(term)  // write corresponding content to the popup window
  {
   popupWin = window.open("", "puWin",  "width=400,height=550,left=200,top=100,scrollbars,dependent,resizable");
   popupWin.document.open("text/html", "replace"); 
			popupWin.document.write('<script language="javascript">');
		popupWin.document.write('setTimeout(');
		popupWin.document.write('"self.close()');
		popupWin.document.write(';",10000)');
		popupWin.document.write('</');
		popupWin.document.write('script>');
   popupWin.document.write(htmlOpener);
   popupWin.document.write(term);
   popupWin.document.write(htmlCloser);
   popupWin.document.close();  // close layout stream
   popupWin.focus();  // bring the popup window to the front
  }

 
   
/***********************END OF FUNCTION POPUP******************************/


