var GodThing =  new Array(10);
var NowDateTime = new Date();
var MaxNumberGods = 3;
var NumberOfGod = 0
var NumberOfMonth = 0
var MonthNames = new Array(12)
MonthNames[1] = "January";
MonthNames[2] = "February";
MonthNames[3] = "March";
MonthNames[4] = "April";
MonthNames[5] = "May";
MonthNames[6] = "June";
MonthNames[7] = "July";
MonthNames[8] = "August";
MonthNames[9] = "September";
MonthNames[10] = "October";
MonthNames[11] = "November";
MonthNames[12] = "December";
function MonthName(NumberOfMonth) {
var FullMonthName = MonthNames[NumberOfMonth];
 return FullMonthName;
}
function NowDate(){
var theMonth = NowDateTime.getMonth() + 1;
var theDay  = NowDateTime.getDate();
var theYear  = NowDateTime.getYear();
if (NowDateTime.getYear() < 1900) {
theYear=NowDateTime.getYear()+1900;
	}
theMonth = MonthName(theMonth);
        return theMonth + " " + theDay + "," + theYear
}


function CreateGod(givenName,otherNames,TextForGod) {
this.Name= givenName;
if (otherNames == "@" ) {
otherNames = "none"; 
}
this.OtherName= otherNames;
this.Description= TextForGod;

}


function initGod() {

GodThing[1] = new CreateGod('Aegir','@','Norse god of the ocean, husband of Ran.  They had nine daughters each one a wave.  Aegir was one of the primeval Vanir gods, along with Loki and Kari, whose pre-eminence had been usurped by the younger Aesir under Odin.  He was said to live in a great hall at the bottom of the sea.  Aegir was feared by sailors who believed that he appeared occasionally on the surface of the waters to destroy ships, taking their men and cargoes with him down to his hall where banquets were held perpetually. It was at one of these banquets that Loki is said to have killed him. There are indications that human sacrifices were made by the early Saxons to appease Aegir.');
GodThing[2] = new CreateGod('Aesir','@','Nordic race of gods founded by Odin.  These gods dwell in the realm of Asgard.');
GodThing[3] = new CreateGod('Alaisiagae','@','Nordic war goddesses (see Valkyries).');
GodThing[4] = new CreateGod('Alako','@','God of the Norwegian gypsies who was sent by their supreme god to reveal their secret law and lore.<BR>His original name was Dundra, but once he accomplished his task he was given the name Alako which etymologically is related to the Finnish word alakuu meaning <I>waning moon</I>. It is the moon where this god retired to after finishing his task. <BR>Source: <i>Lexikon der Gotter und Damonen</I> A. Kramer');
GodThing[5] = new CreateGod('Alcis','@','A pair of divine brothers in the belief of the Easy Germanic Naharnavali tribe of coastal northern Europe.');
GodThing[6] = new CreateGod('Alfadir','@','\"All-father\".  One of the epithets of Odin.');
GodThing[7] = new CreateGod('Alfar','@','The elves of north Germanic myth.');
GodThing[8] = new CreateGod('Alfrodull','@','Norse name of sun.');
GodThing[9] = new CreateGod('Alp','Alb, Old Norse alfr','Germanic beings who were half god and half dwarf.  Later became demonic beings in Germanic folklore.');
GodThing[10] = new CreateGod('Alruna-wife','@','Ancient German household spirits.');
GodThing[11] = new CreateGod('Andvari','@','Nordic dwarf, possessed a great treasure.');
GodThing[12] = new CreateGod('Angrboda','@','Nordic giantess, mother by Loki of Hel, Fenrir, and the Midgard Serpent.');
GodThing[13] = new CreateGod('As','plural Aesir','In Norse mythology, one of the race of gods inhabiting Asgard: Odin, Thor, Tyr, Balder, Heimdall, Frigg, Nanna and Sif.');
GodThing[14] = new CreateGod('Asynja','@','In Norse mythology, the goddesses of Asgard.');
GodThing[15] = new CreateGod('Balder','Old Icelandic Baldr',' Baldur;Norse god, variously considered a god of light or a god of vegetation.  Son of Odin and Frigg.  Invulnerable to all weapons, the trickster god Loki discovered that the mistletoe was the one thing which could harm Balder and tricked the blind god Hodur into shooting a branch of it at him, thus killing him.');
GodThing[16] = new CreateGod('Bergelmi','Ymir','Norse primordial frost-giant.');
GodThing[17] = new CreateGod('Bilwis','Pilwiz','Originally a German nature spirit, later conceived as a magician or malevolent spirit.');
GodThing[18] = new CreateGod('Bercht','Perchta, Perchta','South German goddess, later a frightful spirit.  The Perchten are named after her.');
GodThing[19] = new CreateGod('Bestla','@','Norse goddess, mother of Odin.  She was the daughter of Bolthorn,the wife of Bor, and the mother of the primordial gods Vili and Ve,in addition to Odin.');
GodThing[20] = new CreateGod('Boe','@','Son of Odin, avenged death of Baldur by killing Hoder in battle.');
GodThing[21] = new CreateGod('Bolverk','@','A name of Odin.');
GodThing[22] = new CreateGod('Bor','Burr','Primordial Norse god, son of Buri, father of Odin, Vili and Ve.');
GodThing[23] = new CreateGod('Bragi','@','Norse god of poetry and eloquence, son of Odin and Gunlod, husbandof Idun.  Some scholars claim that Bragi was a pseudonym of Odin,others that he is identical with the ninth century Skald (poet) Bragi Boddason, later elevated to the status of a god.  Oaths were sworn over the Bragarfull (\'cup of Bragi\'), and drinks were taken from it in honour of a dead king.');
GodThing[24] = new CreateGod('Buri','Bur','Primeval being of Germanic myth.  Formed from a salty block of ice,Buri was the father of Bor, who in turn fathered the gods Odin,Vili and Ve.');
GodThing[25] = new CreateGod('Byggvir and Beyla','@','Minor Norse god and goddess.');
GodThing[26] = new CreateGod('Curche','@','Teutonic god of fertility and agricultural abundance.');
GodThing[27] = new CreateGod('Donar','@','Teutonic god of thunder.  Known to the Anglo-Saxons as Thunar or Thunor.  He is also equated with the Norse god Thor.');
GodThing[28] = new CreateGod('Druden','@','Germanic female demon.');
GodThing[29] = new CreateGod('Dvergar','@','Norse dwarfs.');
GodThing[30] = new CreateGod('Eir','@','Minor Norse goddess of healing.');
GodThing[31] = new CreateGod('Elben','@','Germanic nature spirits.');
GodThing[32] = new CreateGod('Elli','@','\"Old Age\"; Nordic goddess who wrestled with Thor.');
GodThing[33] = new CreateGod('Eostre','@','Germanic goddess of spring and the dawn.  Origin of our Easter.');
GodThing[34] = new CreateGod('Fjorgyn','@','North Germanic goddess, mother of Thor.');
GodThing[35] = new CreateGod('Fjorgynn','@','Nordic father of Frigg.');
GodThing[36] = new CreateGod('Fornjotr','Fornjot','Germanic primeval giant, father of the elements.');
GodThing[37] = new CreateGod('Forseti','@','Nordic god of justice.  Son of Balder and Nanna.');
GodThing[38] = new CreateGod('Freyja','Frija','Norse goddess of love (sex) and fertility.  Wife of Odin (later replaced by Frigg) and mother of Hnossa.  In early Germanic religion she appears to have been a moon goddess. <A HREF="freyja.html">More Information</A>. In English the day of the week FRIDAY, was named after her.');
GodThing[39] = new CreateGod('Freyr','@','Norse fertility god.  Son of Njord and Skadi, brother of Freyja. He owned the ship Skidbladnir and a chariot drawn by two supernatural boars, Gullinbursti and Slidrugtanni.');
GodThing[40] = new CreateGod('Frigg','Frija, Frea','Norse goddess of fertility, wife of Odin (apparently usurping the place of Freyja).  She was the mother of Balder.');
GodThing[41] = new CreateGod('Frimla','@','Norse virgin goddess.');
GodThing[42] = new CreateGod('Frost-Giants','@','Norse primordial beings.');
GodThing[43] = new CreateGod('Fulla','@','Norse goddess, sister of Frigg, and servant of Freyja.');
GodThing[44] = new CreateGod('Fylgir','Fylgjur, Fylgja','Germanic protective spirits');
GodThing[45] = new CreateGod('Garmangabi(s)','@','Beneficent goddess of the Germanic Suevi.');
GodThing[46] = new CreateGod('Gefjon','Gefjun, Gefion','Nordic goddess to whom virgins went after death.');
GodThing[47] = new CreateGod('Gollveig','Gullveig,Grimnir','Name adopted by Odin in disguise.');
GodThing[48] = new CreateGod('Gymir','@','Norse father of Gerd, possible ruler of underworld');
GodThing[49] = new CreateGod('Heimdall','@','Norse watchman of the gods, guardian of the bridge Bifrost.  He was the owner of the horn Gjallar, which he was to sound at the onset of Ragnarok.');
GodThing[50] = new CreateGod('Hel','@','Later Norse goddess of the dead.  She was said to be the daughter of Loki.');
GodThing[51] = new CreateGod('Hermod','Hermodr, Hermodur','Norse son of Odin.  It was he who rode to Hel on Odin\'s eight-legged horse, Sleipnir, in an effort to retrieve the god Balder from death.');
GodThing[52] = new CreateGod('Hlodyn','Hlodin','Old Icelandic goddess of earth and fertility.');
GodThing[53] = new CreateGod('Hoder','Hodr, Hodur','Nordic blind god who accidentally killed Balder with a sprig of mistletoe.');
GodThing[54] = new CreateGod('Hoenir','@','Nordic \'silent god\' and member of the Aesir.  It was Hoenir who was sent as a hostage when the Aesir made peace with the Vanir.  A brother of Odin.');
GodThing[55] = new CreateGod('Holle','@','Germanic goddess of witches.');
GodThing[56] = new CreateGod('Idun','Iduna, Idunn','Nordic goddess who guarded the golden apples of youth. She was the consort of Bragi. Loki helped the giant Thiassi (Thjazi) abduct her by luring her away from Asgard. Thiassi swept down in the form of an eagle and carried her off to his home in Thrymheim (\"storm-home\"). The result, however, was that the gods began to grow old without the rejuvenating effect of the golden apples. They therefore sent Loki to retrieve Idun and the apples, and regained their vitality after Loki successfully completed his mission.');
GodThing[57] = new CreateGod('Ing','@','Divine progenitor of Germanic Ingwaeones, title of god Frey.');
GodThing[58] = new CreateGod('Irmin','@','Old Germanic god associated with the tribe known as the Herminones.');
GodThing[59] = new CreateGod('Jord','@','Germanic earth goddess, Norse giantess.');
GodThing[60] = new CreateGod('Jotun','Joten','Germanic demonic beings.');
GodThing[61] = new CreateGod('Kobold','@','Mischievous household spirit in German folklore.');
GodThing[62] = new CreateGod('Kvasir','@','Wisest  of the Nordic gods.  He was murdered by the dwarfs Fjalar  and Galar.  After his death his blood was drunk from a magic cauldron, giving wisdom and poetic inspiration to the drinker.');
GodThing[63] = new CreateGod('Landvaettir','@','Norse guardian spirits of a place or country.');
GodThing[64] = new CreateGod('Lodur','Lodurr','Nordic god who helped Odin and Hoenir create the first  human beings.');
GodThing[65] = new CreateGod('Logi','@','Nordic personification of fire.');
GodThing[66] = new CreateGod('Loki','@','Nordic trickster god, god of mischief.  His wife was Sigyn.  It was Loki who devised the ruse by which the blind god Hod accidentally killed Balder with a sprig of mistletoe.');
GodThing[67] = new CreateGod('Magni','@','Son of Norse god Thor.');
GodThing[68] = new CreateGod('Mahr','@','Slavic and Germanic word for a demonic being.');
GodThing[69] = new CreateGod('Mani','@','Nordic moon god.In Norse myth, Mani is the personification of the moon, son of Mundilfari and brother of Sol, the sun. At night he rides a chariot pulled by horses through the sky, and determines its waxing and waning. Mani is chased by the wolf Hati \("hate\"). Whenever the wolf managed to catch the moon, a lunar eclipse would take place. This caused great consternation, and by making a lot of noise people tried to scare the wolf away.<BR><BR>A man named Vidfinn had two children named Hjuki and Bil. He sent them to the well Byrgir to fetch a cask of water. When Mani saw the two children he took them away with him to the moon. The two children, together with their cask and pole, can be seen on the face of the moon (the moon spots). <BR><BR>Some think this story is the basis of the nursery rhyme about Jack and Jill (as in Jack and Jill went up a hill...)');
GodThing[70] = new CreateGod('Manu','@','Indian, Iranian & Germanic progenitor of the human race.');
GodThing[71] = new CreateGod('Midgard-snake','Midgard-serpent','Norse demonic being of the world-ocean.');
GodThing[72] = new CreateGod('Miming','@','Norse forest-god.');
GodThing[73] = new CreateGod('Mimir','@','Nordic giant who guarded the well of wisdom under the world tree Yggdrasill.');
GodThing[74] = new CreateGod('Modgud','@','Norse guardian of entrance to Hel.');
GodThing[75] = new CreateGod('Mundilferi','Mundilfari','Norse father of Sun and Moon.');
GodThing[76] = new CreateGod('Disir','@','Germanic (Norse) goddesses of fertility and destiny.');
GodThing[77] = new CreateGod('Kadi ','@','Goddess of justice of Der.');
GodThing[78] = new CreateGod('Nanna','@','Nordic goddess, wife of Balder.  She died of grief at the news of his death and was burnt on his funeral pyre.');
GodThing[79] = new CreateGod('Nehalennia','@','Germanic sea goddess who was worshipped in the Low Countries.  She was associated with the Morini, Belgae and Frisians.');
GodThing[80] = new CreateGod('Nerthus','Hertha','Germanic fertility goddess whose worship was described by Tacitus,whose Germania is the only literary source attesting to her existence.  Her temple was in a sacred grove on a Baltic island (possibly Sjaeland).  Her worship seems to have been centred in Denmark.  At her festivals her cult statue was carried about in a covered wagon drawn by oxen.  Nerthus has been tentatively identified with the Scandinavian god Njord, who may be a male counterpart or a later development of Nerthus herself.');
GodThing[81] = new CreateGod('Nixe','@','Germanic water-sprite.');
GodThing[82] = new CreateGod('Njord','Niordhr, Njorthr, Niord','Nordic god of the sea and of fire, winds, and riches  (he is invoked to get riches).  He was originally a Vanir deity, but he was sent as a hostage to the Aesir to seal a peace between the two races of gods.  He was to remain with the Aesir until the end of the world, that is, until Ragnarok.  He married the giantess Skadi,by whom he is the father of Freyja and Freyr (perhaps with his sister Nerthus).');
GodThing[83] = new CreateGod('Norns','@','Nordic deities of fate.  They were: Urd (Fate or Destiny); Verdandi (Being); and Skuld (Necessity).');
GodThing[84] = new CreateGod('Nott','@','\"Night\".  Nordic personification of night.  She was the mother of Dag (\"Day\").');
GodThing[85] = new CreateGod('Od','@','Norse husband of Freyja.');
GodThing[86] = new CreateGod('Odin','Othinn, Woden, Wotan','Nordic high god, god of wisdom, battle, death, inspiration.  The source of the name in English for the day of the week called Wednesday. (Woden\'s Day). <BR>He was the chief god of the Aesir and the husband of Frigg.  He lived in the hall of Valhalla in Asgard with the Valkyries and a host of warriors chosen from among those slain in battle.  Odin was something of a shamanic figure, having pierced himself with his own spear and hung himself from the world tree Yggdrasill in an effort to attain occult knowledge.  He sacrificed one of his eyes, giving it to the god Mimir in return for permission to drink from the well  of knowledge beneath Yggdrasill.  Among the knowledge he thus obtained was a knowledge of occult rune reading.  He was generally portrayed as a one-eyed warrior bearing a spear, or as a wanderer  wearing a blue cloak and a large floppy hat.  According to Nordic myth, Odin was destined to be swallowed by the giant wolf Fenrir at Ragnarok (the end of the world).');
GodThing[87] = new CreateGod('Puck','Pukje,Pukis','A malevolent spirit or goblin known in northern Europe.  Puck was his British name.  He was known in Norway as Pukje, and in the Baltic area as Pukis.');
GodThing[88] = new CreateGod('Ostara','Eostra','Germanic goddess who gave her name to Easter.');
GodThing[89] = new CreateGod('Otr','@','\"Otter\", son of Hreidmar, killed by Loki.');
GodThing[90] = new CreateGod('Perchten','Berchten','Germanic demons.  Named after the goddess/demon Bercht (Perchta).');
GodThing[91] = new CreateGod('Perkuno','@','Prussian thunder-god.');
GodThing[92] = new CreateGod('Picullus','@','Prussian god of underworld.');
GodThing[93] = new CreateGod('Ran','@','Nordic goddess of the sea, wife of the sea god Aegir.  She was said to gather up all drowned sailors in a net.  Sailors propitiated her by throwing money and other offerings overboard.');
GodThing[94] = new CreateGod('Rind','Rinda, Rindr','Nordic goddess.  She was the mother of Vali by Odin.');
GodThing[95] = new CreateGod('Saxnot','Sahsnot, Seaxneat','\"Sword Bearer\".  Tribal god of the East Saxons.  Equivalent to the old Teutonic god Tiwaz.');
GodThing[96] = new CreateGod('Scathach','@','\"Shadowy One\".  Irish goddess who taught warriors the art of war.');
GodThing[97] = new CreateGod('Sceaf','@','Norse child-god who founded a kingdom in Denmark.');
GodThing[98] = new CreateGod('Sif','@','Norse goddess, wife of Thor.');
GodThing[99] = new CreateGod('Sigyn','@','Norse goddess, wife of Loki.');
GodThing[100] = new CreateGod('Siofn','@','Norse goddess.');
GodThing[101] = new CreateGod('Skadi','@','Germanic wife of Njord.');
GodThing[102] = new CreateGod('Skuld','@','One of the Norns of Nordic myth.');
GodThing[103] = new CreateGod('Sol','@','Norse sun goddess.  She was the sister of Mani,daughter of Mundilfari. She was stolen away from her father by the Aesir who put her to work in the heavens. She drives the chariot that carries the sun across the heavens. Unlike her brother there is no mention of a wolf coming to try a destroy her and her horses---as in an solar eclipse.');
GodThing[104] = new CreateGod('Suaixtix','@','Prussian sun-god.');
GodThing[105] = new CreateGod('Surt','Surtr','Germanic fire giant, opponent of the gods.');
GodThing[106] = new CreateGod('Thialfi','@','Norse servant of Thor.');
GodThing[107] = new CreateGod('Thiassi','Thjazi','Nordic giant.');
GodThing[108] = new CreateGod('Thor','Donar, Thunor','Norse god of war and of the sky.  His mother is usually given as the earth goddess Jord, but alternatively he is said to be the son of Fjorgynn or Hlodyn.  His wife is Sif.  His most famous attribute was his hammer Mjollnir, which causes thunder when struck and lightning when thrown.  In Scandinavia, Germany, and English-speaking countries he gave his name to the fourth day of the week,known in English as Thursday.');
GodThing[109] = new CreateGod('Thorgerd Holgabrud','@','Guardian-goddess of northern Norway.');
GodThing[110] = new CreateGod('Thunar','@','The Anglo-Saxon thunder god, roughly equivalent with the Norse god Thor.');
GodThing[111] = new CreateGod('Thursir','@','Germanic giant demon.');
GodThing[112] = new CreateGod('Tiw','Tiu','The Old English name for the Germanic god Tyr or Tiwaz.');
GodThing[113] = new CreateGod('Tiwaz','Tyr','Germanic god of battle, originally a sky god.');
GodThing[114] = new CreateGod('Troll','@','Scandinavian night demon.');
GodThing[115] = new CreateGod('Tyr','Tiwaz, Tiw, Ziu','Nordic battle god, identified with Tiwaz.  His hand was bitten off by Fenrir when the gods put the giant wolf in fetters.  He is to kill the hound Garm at Ragnarok, but will die of his wounds.');
GodThing[116] = new CreateGod('Ullr','Ull','A Norse god who has little written about him, whose few shrines but is mentioned as part of oaths taken by tribal leaders so he was of in the Norse mythology as someone important enough to make oaths on.');
GodThing[117] = new CreateGod('Urd','@','The foremost of the three Norns, or Nordic fates.');
GodThing[118] = new CreateGod('Utgard-Loki','@','Nordic supernatural giant.');
GodThing[119] = new CreateGod('Vali','@','Norse god, son of Odin.  He was the twin brother of Vidar.');
GodThing[120] = new CreateGod('Valkyries','OE Waelcyrige, German Walkuren, ON valkyrja','Sent by the Aesir,the Valkyrija, were armed women warriors who rode through the sky sweeping down over a battlefield to choose valiant slain warriors to take them to Valhalla where the slain warriors lived, practising fighting and partying till Ragnorak.');
GodThing[121] = new CreateGod('Vanir','@','Family of Norse gods.  The most prominent Vanir were Freyr and Freyja.  Njord had been a Vanir, but was sent as a hostage to the Aesir to ensure a  peace between the two races.');
GodThing[122] = new CreateGod('Ve','@','With Vili, a brother of Odin.');
GodThing[123] = new CreateGod('Verdandi','@','One of the Norns, or Norse fates.');
GodThing[124] = new CreateGod('Vidar','@','Norse god of war or of vengeance.  Known as \'the Silent One\'.  He was said to be the son of Odin, or alternatively of Loki.  At Ragnarok, Vidar will tear the wolf Fenrir in half to avenge the latter\'s killing of Odin.');
GodThing[125] = new CreateGod('Vili and Ve','@','Norse sons of Bor and brothers of Odin.  Together with Odin they killed the giant Ymir and created the world from his body.');
GodThing[126] = new CreateGod('Vor','Vara','Norse goddess of contracts and marriage agreements.');
GodThing[127] = new CreateGod('Wayland','Volund, Weland, Wieland','Germanic hero, sometimes regarded as a smith god.');
GodThing[128] = new CreateGod('Werewolf','@','Germanic wolf-like demon.');
GodThing[129] = new CreateGod('Woden','Wodan, Wotan','Anglo-Saxon and German names for Odin.');
GodThing[130] = new CreateGod('Ymir','@','Norse primeval giant from whose body Odin, Vili and Ve created the world.  He was the father of the Frost Giants.');
GodThing[131] = new CreateGod("Gunnarl","Gunnarr Gjúkason.Gunnar, Gunnarr (Norse).Gunther, Gundahar, or Guntharius \(Germanic\).Gundicar, Gundicarius \(historical\).","Gunnar was one of the human characters in the 13th century saga The Volsonga. His brother killed Sigurd,the hero of the poem. Gunnar would have killed Sigfrud but they had swore a blood oath to always protect each other so he could not murder Sigurd. The saga was the basis of Richard Wagner\'s nine hour long opera \"The Ring of the Nibelungs\". We reproduce a <A HREF=\"gunnar.html\">translation</A> of the part about Gunnar. And we do that only because the whole saga is about the gods and the end of them as was foretold by the Norns.");

GodThing[132] = new CreateGod("Deity Not Found!","Oh, Oh","Tell webmaster what page this happened on");
MaxNumberGods =132;
}

function checkBrowser() { 
       window.status="Loading:DO NOT CLICK LINKS";
// convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase();

    // *** BROWSER VERSION ***
    // Note: On IE5, these return 4, so use is_ie5up to detect IE5.
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);

    // Note: Opera and WebTV spoof Navigator.  We do strict client detection.
    // If you want to allow spoofing, take out the tests for opera and webtv.
    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav2 = (is_nav && (is_major == 2));
    var is_nav3 = (is_nav && (is_major == 3));
    var is_nav4 = (is_nav && (is_major == 4));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) ||
                          (agt.indexOf("; nav") != -1)) );
    var is_nav6 = (is_nav && (is_major == 5));
    var is_nav6up = (is_nav && (is_major >= 5));
    var is_gecko = (agt.indexOf('gecko') != -1);


    var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie3    = (is_ie && (is_major < 4));
    var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5") == -1));
    var is_ie4up  = (is_ie && (is_major >= 4));
    var is_ie5    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_ie5_5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
    var is_ie5up  = (is_ie && !is_ie3 && !is_ie4);
    var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5);

    // KNOWN BUG: On AOL4, returns false if IE3 is embedded browser
    // or if this is the first browser window opened.  Thus the
    // variables is_aol, is_aol3, and is_aol4 aren't 100% reliable.
    var is_aol   = (agt.indexOf("aol") != -1);
    var is_aol3  = (is_aol && is_ie3);
    var is_aol4  = (is_aol && is_ie4);
    var is_aol5  = (agt.indexOf("aol 5") != -1);
    var is_aol6  = (agt.indexOf("aol 6") != -1);

    var is_opera = (agt.indexOf("opera") != -1);
    var is_opera2 = (agt.indexOf("opera 2") != -1 || agt.indexOf("opera/2") != -1);
    var is_opera3 = (agt.indexOf("opera 3") != -1 || agt.indexOf("opera/3") != -1);
    var is_opera4 = (agt.indexOf("opera 4") != -1 || agt.indexOf("opera/4") != -1);
    var is_opera5 = (agt.indexOf("opera 5") != -1 || agt.indexOf("opera/5") != -1);
    var is_opera5up = (is_opera && !is_opera2 && !is_opera3 && !is_opera4);

    var is_webtv = (agt.indexOf("webtv") != -1); 

    var is_TVNavigator = ((agt.indexOf("navio") != -1) || (agt.indexOf("navio_aoltv") != -1)); 
    var is_AOLTV = is_TVNavigator;

    var is_hotjava = (agt.indexOf("hotjava") != -1);
    var is_hotjava3 = (is_hotjava && (is_major == 3));
    var is_hotjava3up = (is_hotjava && (is_major >= 3));

    // *** JAVASCRIPT VERSION CHECK ***
    var is_js;
    if (is_nav2 || is_ie3) is_js = 1.0;
    else if (is_nav3) is_js = 1.1;
    else if (is_opera5up) is_js = 1.3;
    else if (is_opera) is_js = 1.1;
    else if ((is_nav4 && (is_minor >= 4.05)) || is_ie4) is_js = 1.2;
    else if ((is_nav4 && (is_minor > 4.05)) || is_ie5) is_js = 1.3;
    else if (is_hotjava3up) is_js = 1.4;
    else if (is_nav6 || is_gecko) is_js = 1.5;
    // NOTE: In the future, update this code when newer versions of JS
    // are released. For now, we try to provide some upward compatibility
    // so that future versions of Nav and IE will show they are at
    // *least* JS 1.x capable. Always check for JS version compatibility
    // with > or >=.
    else if (is_nav6up) is_js = 1.5;
    // NOTE: ie5up on mac is 1.4
    else if (is_ie5up) is_js = 1.3

    // HACK: no idea for other browsers; always check for JS version with > or >=
    else is_js = 0.0;

    // *** PLATFORM ***
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    // NOTE: On Opera 3.0, the userAgent string includes "Windows 95/NT4" on all
    //        Win32, so you can't distinguish between Win95 and WinNT.
    var is_win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1));

    // is this a 16 bit compiled version?
    var is_win16 = ((agt.indexOf("win16")!=-1) || 
               (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1) || 
               (agt.indexOf("windows 16-bit")!=-1) );  

    var is_win31 = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
                    (agt.indexOf("windows 16-bit")!=-1));

    var is_winme = ((agt.indexOf("win 9x 4.90")!=-1));
    var is_win2k = ((agt.indexOf("windows nt 5.0")!=-1));

    // NOTE: Reliable detection of Win98 may not be possible. It appears that:
    //       - On Nav 4.x and before you'll get plain "Windows" in userAgent.
    //       - On Mercury client, the 32-bit version will return "Win98", but
    //         the 16-bit version running on Win98 will still return "Win95".
    var is_win98 = ((agt.indexOf("win98")!=-1) || (agt.indexOf("windows 98")!=-1));
    var is_winnt = ((agt.indexOf("winnt")!=-1) || (agt.indexOf("windows nt")!=-1));
    var is_win32 = (is_win95 || is_winnt || is_win98 || 
                    ((is_major >= 4) && (navigator.platform == "Win32")) ||
                    (agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1));

    var is_os2   = ((agt.indexOf("os/2")!=-1) || 
                    (navigator.appVersion.indexOf("OS/2")!=-1) ||   
                    (agt.indexOf("ibm-webexplorer")!=-1));

    var is_mac    = (agt.indexOf("mac")!=-1);
    // hack ie5 js version for mac
    if (is_mac && is_ie5up) is_js = 1.4;
    var is_mac68k = (is_mac && ((agt.indexOf("68k")!=-1) || 
                               (agt.indexOf("68000")!=-1)));
    var is_macppc = (is_mac && ((agt.indexOf("ppc")!=-1) || 
                                (agt.indexOf("powerpc")!=-1)));

    var is_sun   = (agt.indexOf("sunos")!=-1);
    var is_sun4  = (agt.indexOf("sunos 4")!=-1);
    var is_sun5  = (agt.indexOf("sunos 5")!=-1);
    var is_suni86= (is_sun && (agt.indexOf("i86")!=-1));
    var is_irix  = (agt.indexOf("irix") !=-1);    // SGI
    var is_irix5 = (agt.indexOf("irix 5") !=-1);
    var is_irix6 = ((agt.indexOf("irix 6") !=-1) || (agt.indexOf("irix6") !=-1));
    var is_hpux  = (agt.indexOf("hp-ux")!=-1);
    var is_hpux9 = (is_hpux && (agt.indexOf("09.")!=-1));
    var is_hpux10= (is_hpux && (agt.indexOf("10.")!=-1));
    var is_aix   = (agt.indexOf("aix") !=-1);      // IBM
    var is_aix1  = (agt.indexOf("aix 1") !=-1);    
    var is_aix2  = (agt.indexOf("aix 2") !=-1);    
    var is_aix3  = (agt.indexOf("aix 3") !=-1);    
    var is_aix4  = (agt.indexOf("aix 4") !=-1);    
    var is_linux = (agt.indexOf("inux")!=-1);
    var is_sco   = (agt.indexOf("sco")!=-1) || (agt.indexOf("unix_sv")!=-1);
    var is_unixware = (agt.indexOf("unix_system_v")!=-1); 
    var is_mpras    = (agt.indexOf("ncr")!=-1); 
    var is_reliant  = (agt.indexOf("reliantunix")!=-1);
    var is_dec   = ((agt.indexOf("dec")!=-1) || (agt.indexOf("osf1")!=-1) || 
           (agt.indexOf("dec_alpha")!=-1) || (agt.indexOf("alphaserver")!=-1) || 
           (agt.indexOf("ultrix")!=-1) || (agt.indexOf("alphastation")!=-1)); 
    var is_sinix = (agt.indexOf("sinix")!=-1);
    var is_freebsd = (agt.indexOf("freebsd")!=-1);
    var is_bsd = (agt.indexOf("bsd")!=-1);
    var is_unix  = ((agt.indexOf("x11")!=-1) || is_sun || is_irix || is_hpux || 
                 is_sco ||is_unixware || is_mpras || is_reliant || 
                 is_dec || is_sinix || is_aix || is_linux || is_bsd || is_freebsd);

    var is_vms   = ((agt.indexOf("vax")!=-1) || (agt.indexOf("openvms")!=-1));


             if (is_js <= 1.1) {
    	
                  alert("Your browser does not have a new enough javascript to view this page, your version of javascript is: " + is_js + ". It must be at least 1.2 for this page to be handled properly.");
            		window.location = unescape("mythhome.htm");
		}
		else 
			{	initGod();		
	window.status="Done-click links";
			}

            
             }
        

function MakeGodPage(NumberOfGod) {

if ( NumberOfGod < 1 ) {
 NumberOfGod = MaxNumberGods;
}
if ( MaxNumberGods - 1 < NumberOfGod ) {
 NumberOfGod = MaxNumberGods;
}
var content = '<HTML><HEAD><TITLE>' + GodThing[NumberOfGod].Name + '\'s Page</TITLE>' +
'</head><body background="tan_pape.gif" text="black" link="#0000BB" vlink="#FF00BB">' + 
'<IMG ALIGN="LEFT" SRC="mythtext.gif" WIDTH="143" HEIGHT="75" ALT="[MYTHHOME THUMBNAIL IMAGE]"></P>' + 
'<I><H6>&copy; 1995-1999 Untangle Incorporated</H6>' + '<INPUT TYPE="BUTTON" VALUE="print"  ONCLICK="if (window.print) window.print();"  >' +
'</I><P ALIGN="RIGHT">Last Updated: ' + NowDate() + '</P><BR><HR ALIGN="LEFT" >' + '<FONT COLOR="black"><center><h1>' + GodThing[NumberOfGod].Name + '</h1></center></FONT>' + 
'<CENTER><H4><I>( ' + GodThing[NumberOfGod].OtherName + ' )</I> </H4></CENTER> <CENTER><H3> ' + GodThing[NumberOfGod].Description + ' </H3></CENTER><P>' + 
'<P><IMG SRC="bann04.gif" ALIGN="LEFT" WIDTH="100%" HEIGHT="2%"  ALT="Banner Graphic"><BR></P>' + 
'<P>Click <A HREF="contact.html">here</A> if you want to drop us a line or two.</P>' + 
'<P>Return to <A HREF="mythhome.htm">main page</A></P>' + 
'<P><IMG SRC="bann04.gif" ALIGN="LEFT" WIDTH="100%" HEIGHT="2%"  ALT="Banner Graphic"><BR>' + 
'</BODY> </HTML>'

var GodName = (GodThing[NumberOfGod].Name);
var GodReplace=/(-|\s|\'|\(|\))+/g;
var WithThis = "";
var GodName2=GodName.replace(GodReplace,WithThis);
var win = window.open("",GodName2, "width=400,height=400,resizable=yes,scrollbars=yes");
win.document.open,("text/html","replace");
win.document.write(content);
win.document.close();
} 

