var browsername = navigator.appName;
var opera = (navigator.userAgent.search("Opera")>=0) ? 1:0;
var nsadv = ((document.layers) && parseInt(navigator.appVersion)>=4) ? 1:0;
var ieadv = ((document.all) && parseInt(navigator.appVersion)>=4) ? 1:0;

function MouseOver(colindex, stripindex) 
{
  var dates, keyfigs, sum, Title1;
  switch (colindex) 
  {
    case 1: 
      Title1 = "Key figures";
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs='Shem'; sum='Abraham&quot;s ancestors settle in Mesopotamia.'; break;
        case 2: dates='2800-2600'; keyfigs='Eber'; sum='Abraham&quot;s ancestors settle in Mesopotamia.'; break;
        case 3: dates='2600-2400'; keyfigs='Peleg'; sum='Abraham&quot;s ancestors settle in Mesopotamia.'; break;
        case 4: dates='2400-2200'; keyfigs='Nahor'; sum='Abraham&quot;s ancestors settle in Mesopotamia.'; break;
        case 5: dates='2200-2000'; keyfigs='Terah'; sum='Abraham&quot;s ancestors settle in Mesopotamia.'; break;
        case 6: dates='2000-1800'; keyfigs='Abraham, Isaac (early life)'; sum='Abraham moves from Mesopotamia to Canaan and establishes relations with the inhabitants.'; break;
        case 7: dates='1800-1600'; keyfigs='Isaac (later life), Jacob, Joseph (early life)'; sum='Abraham&quot;s descendants become established in Canaan whilst still seeking marriage partners from their former homeland.'; break;
        case 8: dates='1600-1400'; keyfigs='Joseph (later life), Moses'; sum='Joseph leads his family to Egypt in a time of famine, where they remain for several generations before leaving again with Moses.'; break;
        case 9: dates='1400-1200'; keyfigs='Joshua, early judges'; sum='During a long struggle for control over Canaan, Israel is led by a series of individuals against various oppressors.'; break;
        case 10:dates='1200-1000'; keyfigs='Late judges, Samuel, Saul, David'; sum='The nation calls for a permament king and dynasty to lead them, ushering in a time of strong leadership and stability.'; break;
        case 11:dates='1000-800'; keyfigs='Solomon, Division of the kingdom'; sum='The unwise policy of Solomon&quot;s successor leads to a rebellion of the northern part of the land and the estabishment of two parallel kingdoms.'; break;
        case 12:dates='800-600'; keyfigs='Fall of Israel'; sum='Following a time of military strength but declining social standards, the northern kingdom is taken into exile by Assyria.'; break;
        case 13:dates='600-400'; keyfigs='Fall of Judah, Exile in Babylon, Restoration'; sum='The southern kingdom is defeated and exiled by Babylon, but allowed to return home by Persia.'; break;
      }; break;
    case 2:
      Title1 = 'Age';
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs='Early Bronze'; sum='Summary'; break;
        case 2: dates='2800-2600'; keyfigs='Early Bronze'; sum='Summary'; break;
        case 3: dates='2600-2400'; keyfigs='Early Bronze'; sum='Summary'; break;
        case 4: dates='2400-2200'; keyfigs='Early Bronze'; sum='Summary'; break;
        case 5: dates='2200-2000'; keyfigs='Early Bronze'; sum='Summary'; break;
        case 6: dates='2000-1800'; keyfigs='Middle Bronze'; sum='Summary'; break;
        case 7: dates='1800-1600'; keyfigs='Middle Bronze'; sum='Summary'; break;
        case 8: dates='1600-1400'; keyfigs='Middle Bronze'; sum='Summary'; break;
        case 9: dates='1400-1200'; keyfigs='Middle Bronze, start of Late Bronze'; sum='Summary'; break;
        case 10:dates='1200-1000'; keyfigs='Late Bronze'; sum='Summary'; break;
        case 11:dates='1000-800'; keyfigs='Late Bronze, start of Iron'; sum='Summary'; break;
        case 12:dates='800-600'; keyfigs='Iron'; sum='Summary'; break;
        case 13:dates='600-400'; keyfigs='Iron'; sum='Summary'; break;
      }; break;
    case 3:
      Title1 = 'Hatti (the Hittites)';
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 2: dates='2800-2600'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 3: dates='2600-2400'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 4: dates='2400-2200'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 5: dates='2200-2000'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 6: dates='2000-1800'; keyfigs=' '; sum='Early proto-Hittites living from Anatolia through Syria down to Canaan. At some stage Indo-European speakers pushed out the earlier Semitic peoples'; break;
        case 7: dates='1800-1600'; keyfigs='Tidal king of nations, Ephron'; sum='Canaanite proto-Hittites deal with Abraham and his family.'; break;
        case 8: dates='1600-1400'; keyfigs='Hattusilis I'; sum='Hittite kingdom established in Anatolia with the capture of Hattush by Anitas'; break;
        case 9: dates='1400-1200'; keyfigs='Mursilis I, Telipinus'; sum='Under Mursilis I the Hittites campaigned down the Euphrates and captured Babylon. However, a recession followed until the time of Telipinus, allowing other nations like the Mitanni to gain territory..'; break;
        case 10:dates='1200-1000'; keyfigs='Tudhaliyas I, Tudhaliyas III'; sum='End of Hittite kingdom and establishment of the Hittite Empire with the accession of Tudhaliyas I. At this time Egypt was firmly in control of the region and the Hittites paid tribute.'; break;
        case 11:dates='1000-800'; keyfigs='Supiluliumus I, Mursilis II, Muwatallis II'; sum='Vigorous expansion while Egypt was under weak leadership led to control over Syria and other areas. With the accession of Rameses II, conflict (the Battle of Kadesh) was inevitable. The end of Empire, shortly after this, was abrupt and seemingly caused by tribal migrations.'; break;
        case 12:dates='800-600'; keyfigs=' '; sum='After the end of the Hittite Empire, various neo-Hittite groups maintained a dwindling presence in the area for some time.'; break;
        case 13:dates='600-400'; keyfigs=' '; sum='The neo-Hittite groups were gradually absorbed as the Assyrian Empire expanded.'; break;
      }; break;
    case 4:
      Title1 = 'Egypt';
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs=' '; sum='The predynastic period is marked by key settlements at Naqada. At this time links with Mesopotamia may have had profound effects.'; break;
        case 2: dates='2800-2600'; keyfigs='Menes'; sum='The first dynasty marks the formal start of pharaonic Egypt.'; break;
        case 3: dates='2600-2400'; keyfigs='Djoser, Imhotep, Khufu'; sum='With the start of the Old Kingdom comes one of the great pyramid-building epochs.'; break;
        case 4: dates='2400-2200'; keyfigs='Khaneferre'; sum='Egypt becomes more open to the outside world and develops strong trading links with other Mediterranean nations.'; break;
        case 5: dates='2200-2000'; keyfigs='Pepi II'; sum='The Old Kingdom declined into the First Intermediate Period, a time of ineffective and short-lived rulers competing for power.'; break;
        case 6: dates='2000-1800'; keyfigs='Intef II'; sum='The Middle Kingdom began as stronger rulers again asserted their power throughout the Nile valley.'; break;
        case 7: dates='1800-1600'; keyfigs='Senuseret II, Amenemhat III'; sum='The flourishing years of the Middle Kingdom saw Egypt again playing a key role in international affairs.'; break;
        case 8: dates='1600-1400'; keyfigs='Neferhotep I, Dudimose'; sum='The Second Intermediate Period was another time of confusion and weakness for Egypt.'; break;
        case 9: dates='1400-1200'; keyfigs='Shalek'; sum='The close of the Second Intermediate Period saw the rule of the Hyksos kings from the Delta region.'; break;
        case 10:dates='1200-1000'; keyfigs='Thutmose III, Amenhotep III, Akhenaten'; sum='The New Kingdom was another period of strength and prosperity, in which international dealings were again important.'; break;
        case 11:dates='1000-800'; keyfigs='Tutankhamun, Seti I, Rameses II'; sum='After the last great period for the warrior Pharaohs, the New Kingdom declined in vigour towards the Third Intermediate Period.'; break;
        case 12:dates='800-600'; keyfigs='Shoshenk I, Taharka'; sum='The Third Intermediate Period was another time of confusion and competing dynasties, with sporadic assertions of Egyptian interest in Canaan.'; break;
        case 13:dates='600-400'; keyfigs='Necho II, Apries'; sum='The Late Period bridged the gap between defeat by Assyria and rule from Persia. Only a few Pharaohs were able to enforce Egyptian self-determination.'; break;
      }; break;
    case 5:
      Title1 = 'Assyria';
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs=' '; sum='Early occupation by Sumerians'; break;
        case 2: dates='2800-2600'; keyfigs=' '; sum='Early occupation by Sumerians'; break;
        case 3: dates='2600-2400'; keyfigs=' '; sum='Early occupation by Sumerians'; break;
        case 4: dates='2400-2200'; keyfigs='Tudiya'; sum='Kings who lived in tents'; break;
        case 5: dates='2200-2000'; keyfigs=' '; sum='Kings who lived in tents'; break;
        case 6: dates='2000-1800'; keyfigs=' '; sum='Controlled from southern Mesopotamia'; break;
        case 7: dates='1800-1600'; keyfigs='Erishum II'; sum='Based largely on the city of Asshur, the Old Assyrian period had times of strength but was largely dominated by outside powers.'; break;
        case 8: dates='1600-1400'; keyfigs='Shamshi-Adad I'; sum='Based largely on the city of Asshur, the Old Assyrian period had times of strength but was largely dominated by outside powers.'; break;
        case 9: dates='1400-1200'; keyfigs='Puzur-Asshur III'; sum='Based largely on the city of Asshur, the Old Assyrian period had times of strength but was largely dominated by outside powers.'; break;
        case 10:dates='1200-1000'; keyfigs='Asshur-Uballit I, Tukulti-Ninurta I'; sum='The Middle period resurgence of Assyria saw a number of powerful military leaders expanding territory from Nineveh.'; break;
        case 11:dates='1000-800'; keyfigs='Asshurnasirpal II, Shalmaneser III'; sum='The Middle period resurgence of Assyria saw a number of powerful military leaders expanding territory from Nineveh.'; break;
        case 12:dates='800-600'; keyfigs='Tiglath-pileser III, Sargon II, Sennacherib'; sum='The ascendant period for Assyria, with a series of strong rulers, ending with capture and defeat at the hands of a coalition of enemies.'; break;
        case 13:dates='600-400'; keyfigs=' '; sum='No longer a separate nation'; break;
      }; break;
    case 6:
      Title1 = 'Babylon';
      switch (stripindex)
      {
        case 1: dates='3000-2800'; keyfigs='Enmerkar'; sum='Several cities in Mesopotamia - Kish, Ur, Uruk, and Akkad in particular - controlled varying areas over the years, contending for mastery.'; break;
        case 2: dates='2800-2600'; keyfigs='Lugalbanda'; sum='Several cities in Mesopotamia - Kish, Ur, Uruk, and Akkad in particular - controlled varying areas over the years, contending for mastery.'; break;
        case 3: dates='2600-2400'; keyfigs='Gilgamesh'; sum='Several cities in Mesopotamia - Kish, Ur, Uruk, and Akkad in particular - controlled varying areas over the years, contending for mastery.'; break;
        case 4: dates='2400-2200'; keyfigs='Eanatum'; sum='Several cities in Mesopotamia - Kish, Ur, Uruk, and Akkad in particular - controlled varying areas over the years, contending for mastery.'; break;
        case 5: dates='2200-2000'; keyfigs='Sargon I'; sum='Several cities in Mesopotamia - Kish, Ur, Uruk, and Akkad in particular - controlled varying areas over the years, contending for mastery.'; break;
        case 6: dates='2000-1800'; keyfigs='Shulgi, Amar-Sin'; sum='The Ur 3 dynasty ruled at this stage, providing a time of stability and culture.'; break;
        case 7: dates='1800-1600'; keyfigs='Warad-Sin, Rim-Sin'; sum='The cities of Isin and Larsa contended for supremacy at this time.'; break;
        case 8: dates='1600-1400'; keyfigs='Hammurabi'; sum='The high point of the Old Babylonian period, marking the end of the independent city state and its absorption into larger power blocks.'; break;
        case 9: dates='1400-1200'; keyfigs='Ammisaduga'; sum='The Kassite families were in control of Babylon throughout this period, with varying fortunes.'; break;
        case 10:dates='1200-1000'; keyfigs='Not yet ready'; sum='The Kassite families were in control of Babylon throughout this period, with varying fortunes.'; break;
        case 11:dates='1000-800'; keyfigs='Not yet ready'; sum='The Kassites were assailed by other dynasties at this time.'; break;
        case 12:dates='800-600'; keyfigs='Not yet ready'; sum='Summary'; break;
        case 13:dates='600-400'; keyfigs='Not yet ready'; sum='Summary'; break;
      }; break;
  }  
  theText = '<u>Explanation</u><br><b>Dates: ' + dates + '</b><p><u>' + Title1 + '</u><p>' + keyfigs + '<p><u>Summary: </u><br>' + sum;
  if (ieadv)
    blockexplain.innerHTML=theText;
  if (nsadv)
  {
    document.blockexplain.document.write('<table border=1 height=550 width=220><tr><td valign="top">'+theText+'</td></tr></table>');
    document.blockexplain.document.close();
  }
}

function DoPosition() {
  if (ieadv)
  {
    exp=blockexplain.style;
    an=israelname.style;
    ap=israelpic.style;
    bn=agesname.style;
    bp=agespic.style;
    cn=hattiname.style;
    cp=hattipic.style;
    dn=egyptname.style;
    dp=egyptpic.style;
    en=assyrianame.style;
    ep=assyriapic.style;
    fn=babname.style;
    fp=babpic.style;
  }
  if (nsadv)
  { 
    exp=document.blockexplain;
    an=document.israelname;
    ap=document.israelpic;
    bn=document.agesname;
    bp=document.agespic;
    cn=document.hattiname;
    cp=document.hattipic;
    dn=document.egyptname;
    dp=document.egyptpic;
    en=document.assyrianame;
    ep=document.assyriapic;
    fn=document.babname;
    fp=document.babpic;
  }
  if (ieadv||nsadv)
  {
    exp.left=10;
    exp.top=200;
    exp.width=210; 
    exp.height=560;
    exp.visibility="visible";
    ap.left=250; 
    ap.top=200;
    ap.visibility="visible";
    an.left=260; 
    an.top=175;
    an.visibility="visible";
    bp.left=350; 
    bp.top=200;
    bp.visibility="visible";
    bn.left=360; 
    bn.top=175;
    bn.visibility="visible";
    cp.left=450;
    cp.top=200;
    cp.visibility="visible";
    cn.left=460;
    cn.top=175;
    cn.visibility="visible";
    dp.left=550; 
    dp.top=200;
    dp.visibility="visible";
    dn.left=560; 
    dn.top=175;
    dn.visibility="visible";
    ep.left=650; 
    ep.top=200;
    ep.visibility="visible";
    en.left=660; 
    en.top=175;
    en.visibility="visible";
    fp.left=750;
    fp.top=200;
    fp.visibility="visible";
    fn.left=760;
    fn.top=175;
    fn.visibility="visible";
  }
}


