You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

396 lines
18 KiB
JavaScript

var nm5 = [
["Ἄβυσσος", "Abussos", "Abyss"],
["Ἄγγελος", "Angelos", "Messenger"],
["Ἄγκυρα", "Ankura", "Anchorage"],
["Ἀγορά", "Agora", "Marketplace"],
["Ἀγρός", "Agros", "Agriculture"],
["Ἀγών", "Agon", "Struggle"],
["Ἀήρ", "Aer", "Air"],
["Αἷμα", "Haema", "Blood"],
["Ἀκόλουθος", "Akolouthos", "Follower"],
["Ἀκούω", "Akuo", "Acoustics"],
["Ἅλς", "Hals", "Salt"],
["Ἀλώπηξ", "Alopex", "Fox"],
["Ἄμβροτος", "Ambrotos", "Immortal"],
["Ἀμοιβή", "Amoibe", "Change"],
["Ἀνατομία", "Anatomia", "Dissection"],
["Ἄνεμος", "Anemos", "Wind"],
["Ἄνθος", "Anthos", "Flower"],
["Ἀνώνυμος", "Anonumos", "Nameless"],
["Ἄξιος", "Axios", "Worthy"],
["Ἀπάτη", "Apate", "Single"],
["Ἀράχνη", "Arakhne", "Spider"],
["Ἄργιλλος", "Argillos", "Clay"],
["Ἀπολογία", "Apologia", "Apology"],
["Ἁρμονία", "Harmonia", "Harmony"],
["Ἀσθένεια", "Astheneia", "Weakness"],
["Ἀσπίς", "Aspis", "Shield"],
["Ἄσυλον", "Asulon", "Sanctuary"],
["Βάρβαρος", "Barbaros", "Stranger"],
["Βίος", "Bios", "Life"],
["Γέννησις", "Gennesis", "Birth"],
["Γάμος", "Gamos", "Marriage"],
["Δόξα", "Doxa", "Glory"],
["Ζῷον", "Zoion", "Animal"],
["Ἠώς", "Eos", "Dawn"],
["Θησαυρός", "Thesauros", "Treasure"],
["Ἵππος", "Hippos", "Horse"],
["Ἰχθύς", "Ikhthus", "Fish"],
["Λίθος", "Lithos", "Stone"],
["Μέλος", "Melos", "Music"],
["Μέταλλον", "Metallon", "Metal"],
["Μνῆστις", "Mnestis", "Memory"],
["Μόνος", "Monos", "Forsaken"],
["Ναυτικός", "Nautikos", "Sailor"],
["Ξένος", "Xenos", "Guest"],
["Ξίφος", "Xiphos", "Sword"],
["Ξύλον", "Xulon", "Wood"],
["Οἶνος", "Oenos", "Wine"],
["Ὁδός", "Hodos", "Road"],
["Πάθος", "Pathos", "Suffering"],
["Παιδεία", "Paideia", "Education"],
["Πυρρός", "Purrhos", "Fire"],
["Σκοπός", "Skopos", "Observer"],
["Σοφία", "Sophia", "Knowledge"],
["Ὕδωρ", "Hudor", "Water"],
["Ὕπνος", "Hupnos", "Sleep"],
["Φιλία", "Philia", "Friendship"],
["Φυτόν", "Phuton", "Plant"],
["Φωνή", "Phone", "Voice"],
["Χαλκός", "Khalkos", "Copper"],
["Χημεία", "Khemeia", "Chemistry"],
["Χιών", "Khion", "Snow"],
["Χλαμύς", "Khlamus", "Cloak"],
["Χορεία", "Khoreia", "Dance"],
["Χρυσός", "Khrusos", "Gold"],
["Χρῶμα", "Khroma", "Color"],
["Ψάλλω", "Psallo", "Chant"],
["Ψάμμος", "Psammos", "Sand"],
["Ψευδής", "Pseudes", "Lying"],
["Ψυχή", "Psukhe", "Spirit"],
["Ὥρα", "Hora", "Season"],
["Ἀγαθός", "Agathos", "Kindness"],
["Ἀγαλλιάω", "Agalliao", "Exultation"],
["Ᾰ̓́Γᾰλμᾰ", "Agalma", "Honor"],
["Ᾰ̓Γᾰνᾰ́Κτησῐς", "Aganaktesis", "Vexation"],
["Ᾰ̓Γᾰ́Πη", "Agape", "Love"],
["Ᾰ̓Γέλη", "Agele", "Herd"],
["Ἁγῐασμός", "Hagiasmos", "Consecration "],
["Ἅγιος", "Hagios", "Holy"],
["Ἁγνείᾱ", "Hagneia", "Purity"],
["Ᾰ̔Γνῐσμός", "Hagnismos", "Purification"],
["Ἀγνωσῐ́Ᾱ", "Agnosia", "Ignorance"],
["Ἀγός", "Agos", "Leader"],
["Ᾰ̓́Γος", "Agos", "Abomination"],
["Ᾰ̓́Γρᾱ", "Agra", "Chase"],
["Ἀγρυπνίᾱ", "Agrupnia", "Watchfulness"],
["Ἀγχιστεία", "Ankhisteia", "Kinship"],
["Ἀγχόνη", "Ankhone", "Suffering"],
["Ἀγωνίᾱ", "Agonia", "Contest"],
["Ἀδᾰ́Μᾱς", "Adamas", "Adamant"],
["Ᾰ̓Δελφότης", "Adelphotes", "Brotherhood"],
["Ᾰ̓Δηλότης", "Adelotes", "Uncertainty"],
["Ᾰ̓Δῐκῐ́Ᾱ", "Adikia", "Injustice"],
["Ἄελλᾰ", "Aella", "Stormwind"],
["Ᾱ̓Ετός", "Aetos", "Eagle"],
["Ᾱ̓Θᾰνᾰσῐ́Ᾱ", "Athanasia", "Immortality"],
["Ᾱ̓Θᾰ́Νᾰτος", "Athanatos", "Everlasting"],
["Ἄθλημα", "Athlema", "Sport"],
["Αἴγλη", "Aigle", "Sunlight"],
["Αἰγῠπῐός", "Aigupios", "Vulture"],
["Αἰδώς", "Aidos", "Respect"],
["Αἶθος", "Aethos", "Fire"],
["Αἷμᾰ", "Haema", "Blood"],
["Αἴνιγμα", "Ainigma", "Riddle"],
["Αἶσᾰ", "Aesa", "Destiny"],
["Αἶσχος", "Aeskhos", "Shame"],
["Αἰών", "Aion", "Generation"],
["Ἄκμων", "Akmon", "Anvil"],
["Ᾰ̓Κρᾰ́Τειᾰ", "Akrateia", "Self-Indulgence"],
["Ἀκρῑ́Βειᾰ", "Akrī́Beia", "Accuracy"],
["Ᾰ̓Κρῐ́ς", "Akris", "Locust"],
["Ἀκρόᾱσῐς", "Akroasis", "Obedience"],
["Ᾰ̓́Κρον", "Akron", "Apex"],
["Ἀλᾰλή", "Alale", "Battle"],
["Ἄλγος", "Algos", "Pain"],
["Ἀλῐ́Βᾱς", "Alibas", "Corpse"],
["Ἀλκή", "Alke", "Prowess"],
["Ἄλσος", "Alsos", "Grove"],
["Ἀνᾰγρᾰφή", "Anagraphe", "Record"],
["Ᾰ̓Νᾰκαίνωσῐς", "Anakainosis", "Renewal"],
["Ἀναρχίᾱ", "Anarkhia", "Anarchy"],
["Ᾰ̓́Νεμος", "Anemos", "Wind"],
["Ᾰ̓Ντῐ́Πτωσῐς", "Antiptosis", "Resistance"],
["Ἀξίᾱ", "Axia", "Worth"],
["Ᾰ̓Οιδή", "Aoide", "Legend"],
["Ἀπόλογος", "Apologos", "Fable"],
["Ἀργῐ́Ᾱ", "Argia", "Rest"],
["Ᾰ̓́Ργῠρος", "Arguros", "Money"],
["Ᾰ̓Ρετή", "Arete", "Virtue"],
["Ἀρή", "Are", "Ruin"],
["Ᾰ̓Ρχή", "Arkhe", "Dominion"],
["Ἀρχαιότης", "Arkhaiotes", "Antiquity"],
["Ἀσθένεια", "Astheneia", "Sickness"],
["Ἀσπιστής", "Aspistes", "Warrior"],
["Ἀστρᾰπή", "Astrape", "Lightning"],
["Ᾰ̓́Σῡλον", "Asūlon", "Sanctuary"],
["Ἀταξίᾱ", "Ataxia", "Disorder"],
["Ᾰ̓Τᾰρᾰξῐ́Ᾱ", "Ataraxia", "Calmness"],
["Ᾱ̓́Τη", "ÁTe", "Disaster"],
["Ᾰ̓Τῑμῐ́Ᾱ", "Atīmia", "Dishonor"],
["Ἀτμός", "Atmos", "Steam"],
["Αὐγή", "Auge", "Dawn"],
["Αὔρᾱ", "Aura", "Breeze"],
["Αὐτᾰ́Ρκειᾰ", "Autarkeia", "Self-Sufficiency"],
["Αὐτονομῐ́Ᾱ", "Autonomia", "Autonomy"],
["Αὐχμός", "Aukhmos", "Drought"],
["Ἄφενος", "Apheno", "Wealth"],
["Ἀφροσύνη", "Aphrosune", "Folly"],
["Ἄχθος", "Akhthos", "Sorrow"],
["Ἀχλύς", "Akhlus", "Mist"],
["Ἄχος", "Akhos", "Distress"],
["Ἀχρημᾰτίᾱ", "Akhrematia", "Poverty"],
["Βᾰ́Λᾰνος", "Balanos", "Oak"],
["Βᾰ́Ρος", "Baros", "Burden"],
["Βάσκᾰνος", "Baskanos", "Slanderous"],
["Βδέλυγμα", "Bdelugma", "Horror"],
["Βδελῠγμῐ́Ᾱ", "Bdelugmia", "Filth"],
["Βῐ́Οτος", "Biotos", "Life"],
["Βοήθειᾰ", "Boetheia", "Aid"],
["Βοτᾰ́Νη", "Botane", "Grass"],
["Βουλή", "Boule", "Determination"],
["Βουνός", "Bounos", "Altar"],
["Βρένθος", "Brenthos", "Arrogance"],
["Βρῑ́Μη", "Brī́Me", "Strength"],
["Βῶλος", "Bolos", "Soil"],
["Γᾰ́Ζᾰ", "Gaza", "Treasure"],
["Γᾰ́Λᾰ", "Gala", "Milk"],
["Γᾰ́Μος", "Gamos", "Marriage"],
["Γέλασμᾰ", "Gelasma", "Smile"],
["Γέλως", "Gelos", "Laughter"],
["Γενέσια", "Genesia", "Birthday"],
["Γενέτης", "Genetes", "Ancestor"],
["Γέρᾰς", "Geras", "Gift"],
["Γνῶσῐς", "Gnosis", "Fame"],
["Γράμμα", "Gramma", "Writing"],
["Γρᾰφή", "Graphe", "Drawing"],
["Δάϊς", "Daïs", "Battle"],
["Δαίς", "Dais", "Feast"],
["Δειμός", "Deimos", "Fear"],
["Δέργμᾰ", "Dergma", "Glance"],
["Δέρμᾰ", "Derma", "Hide"],
["Δηλητήρ", "Deleter", "Destroyer"],
["Δῆρις", "Deris", "Combat"],
["Δῐᾰτρῐβή", "Diatribe", "Hobby"],
["Δῐᾰφθορᾱ́", "Diaphthorá", "Destruction"],
["Δῐδασκᾰλίᾱ", "Didaskalia", "Teaching"],
["Δῐδᾰ́Σκᾰλος", "Didaskalos", "Teacher"],
["Δῐήγησῐς", "Diegesis", "Narration"],
["Δῐκαιοσῠ́Νη", "Dikaiosune", "Righteousness"],
["Δῐ́Ψᾰ", "Dipsa", "Thirst"],
["Δνόφος", "Dnophos", "Dusk"],
["Δόλωμᾰ", "Doloma", "Deceit"],
["Δράκαινᾰ", "Drakaina", "Scourge"],
["Δρᾰ́Κων", "Drakon", "Dragon"],
["Δῠ́Νᾰμῐς", "Dunamis", "Power"],
["Δῠστῠχῐ́Ᾱ", "Dustukhia", "Misfortune"],
["Δώρημᾰ", "Dorema", "Gift"],
["Ἔθος", "Ethos", "Habit"],
["Εἰρήνη", "Eirene", "Peace"],
["Εἰρωνείᾱ", "Eironeia", "Deception"],
["Εἰσβολή", "Eisbole", "Invasion"],
["Ἐκθῡμῐ́Ᾱ", "Ekthūmia", "Ardour"],
["Ἔκστᾰσῐς", "Ekstasis", "Ecstasy"],
["Ἔλεος", "Eleos", "Compassion"],
["Ἐλευθερῐ́Ᾱ", "Eleutheria", "Liberty"],
["Ἐλέφᾱς", "Elephas", "Elephant"],
["Ἐλπῐ́ς", "Elpis", "Hope"],
["Ἐμπορίᾱ", "Emporia", "Trade"],
["Ἐνθουσῐᾰσμός", "Enthousiasmos", "Enthusiasm"],
["Ἐνιαυτός", "Eniautos", "Anniversary"],
["Ἐνῑπή", "Enīpe", "Menace"],
["Ἔνοσις", "Enosis", "Quake"],
["Ἐνοχή", "Enokhe", "Responsibility"],
["Ἐξήγησῐς", "Exegesis", "Narration"],
["Ἔξοδος", "Exodos", "Departure"],
["Ἑορτή", "Heorte", "Feast"],
["Ἐπῐ́Νοιᾰ", "Epinoia", "Imagination"],
["Ἐπιστήμη", "Episteme", "Science"],
["Ἐπῐτήδευμᾰ", "Epitedeuma", "Vocation"],
["Ἐρημίᾱ", "Eremia", "Solitude"],
["Ἕρμᾰξ", "Hermax", "Cairn"],
["Ἑσπέρα", "Hespera", "Evening"],
["Ἑστίᾰ", "Hestia", "Hearth"],
["Εὐδαιμονίᾱ", "Eudaimonia", "Happiness"],
["Εὐεργεσῐ́Ᾱ", "Euergesia", "Kindness"],
["Εὐθῡμῐ́Ᾱ", "Euthūmia", "Cheerfulness"],
["Εὔνοιᾰ", "Eunoia", "Favour"],
["Εὐσχημοσῠ́Νη", "Euskhemosune", "Elegance"],
["Εὐτῠχῐ́Ᾱ", "Eutukhia", "Good Luck"],
["Ἐφημερῐ́ς", "Ephemeris", "Diary"],
["Ἐφῐάλτης", "Ephialtes", "Nightmare"],
["Ἔφορος", "Ephoros", "Overseer"],
["Ἔχθρᾱ", "Ekhthra", "Hatred"],
["Ἔχις", "Ekhis", "Snake"],
["Ἔχμᾰ", "Ekhma", "Bulwark"],
["Ζηλοτῠπῐ́Ᾱ", "Zelotupia", "Jealousy"],
["Ζόφος", "Zophos", "Darkness"],
["Ἥβη", "Hebe", "Youth"],
["Ἡδονή", "Hedone", "Delight"],
["Ἠλῠ́Γη", "Eluge", "Shadow"],
["Ἠπῐ́Ᾰλος", "Epialos", "Nightmare"],
["Ἤρᾰνος", "Eranos", "Keeper"],
["Ἡσῠχῐ́Ᾱ", "Hesukhia", "Stillness"],
["Ἦχος", "Ekhos", "Noise"],
["Ἠχώ", "Ekho", "Echo"],
["Θᾰ́Λᾰσσᾰ", "Thalassa", "Sea"],
["Θᾰ́Μβος", "Thambos", "Amazement"],
["Θάρσος", "Tharsos", "Courage"],
["Θέρμη", "Therme", "Heat"],
["Θήρᾱ", "Thera", "Hunt"],
["Θηρῐ́Ον", "Therion", "Beast"],
["Θρᾰ́Σος", "Thrasos", "Courage"],
["Θύελλα", "Thuella", "Thunderstorm"],
["Θῠσῐ́Ᾱ", "Thusia", "Sacrifice"],
["Θῠτήρ", "Thuter", "Sacrificer"],
["Ἴκνῠς", "Iknus", "Ashes"],
["Ῑ̔́Μερος", "Hī́Meros", "Yearning"],
["Ἰπνός", "Ipnos", "Lantern"],
["Ἶρις", "Eris", "Rainbow"],
["Ῐ̓Σονομῐ́Ᾱ", "Isonomia", "Equality"],
["Ῐ̔́Στωρ", "Histor", "Witness"],
["Ἴχνος", "Ikhnos", "Footstep"],
["Καίνωσῐς", "Kainosis", "Renewal"],
["Κᾰ́Κη", "Kake", "Vice"],
["Κᾰκοθῡμῐ́Ᾱ", "Kakothūmia", "Malevolence"],
["Κᾰκότης", "Kakotes", "Cowardice"],
["Κᾰ́Λλος", "Kallos", "Beauty"],
["Καπνός", "Kapnos", "Smoke"],
["Κᾰ́Προς", "Kapros", "Boar"],
["Κᾰσκός", "Kaskos", "Little Finger"],
["Κεραυνός", "Keraunos", "Thunderbolt"],
["Κέρδος", "Kerdos", "Profit"],
["Κηπεύς", "Kepeus", "Gardener"],
["Κήρ", "Ker", "Doom"],
["Κῖκῠς", "Kekus", "Vigor"],
["Κῐ́Νδῡνος", "Kindūnos", "Risk"],
["Κῑ́Νησῐς", "Kī́Nesis", "Dance"],
["Κλεμμῠ́ς", "Klemmus", "Tortoise"],
["Κλέπτης", "Kleptes", "Thief"],
["Κλοπή", "Klope", "Theft"],
["Κνέφας", "Knephas", "Darkness"],
["Κνώδᾰλον", "Knodalon", "Beast"],
["Κονῐ́Ᾱ", "Konia", "Dust"],
["Κόπρος", "Kopros", "Dung"],
["Κορδῡ́Λη", "Kordū́Le", "Club"],
["Κότος", "Kotos", "Grudge"],
["Κρᾱνῐ́Ον", "Kranion", "Skull"],
["Κρήνη", "Krene", "Well"],
["Κρῐγή", "Krige", "Shriek"],
["Κρουνός", "Krounos", "Watercourse"],
["Κρῠ́Ος", "Kruos", "Frost"],
["Κρώπῐον", "Kropion", "Scythe"],
["Κτείς", "Kteis", "Comb"],
["Κτέρεᾰ", "Kterea", "Funeral Gifts"],
["Κύδος", "Kudos", "Renown"],
["Κύκλωψ", "Kuklops", "Cyclops"],
["Κῦρος", "Kûros", "Authority"],
["Κώδων", "Kodon", "Bell"],
["Κῶμα", "Koma", "Coma"],
["Λάλημᾰ", "Lalema", "Chatterer"],
["Λᾰμπτήρ", "Lampter", "Torch"],
["Λᾰμπῠρῐ́ς", "Lampuris", "Glowworm"],
["Λάσθη", "Lasthe", "Mockery"],
["Λᾰ́Φῡρᾰ", "Laphūra", "Pillage"],
["Λᾰ́Χος", "Lakhos", "Destiny"],
["Λειμών", "Leimon", "Meadow"],
["Ληθᾰργῐ́Ᾱ", "Lethargia", "Sleepiness"],
["Λήθη", "Lethe", "Forgetfulness"],
["Λῆρος", "Leros", "Delirium"],
["Λῑμός", "Līmos", "Famine"],
["Λοιγός", "Loigos", "Destruction"],
["Λοιμός", "Loimos", "Plague"],
["Λόχος", "Lokhos", "Ambush"],
["Λύθρον", "Luthron", "Gore"],
["Λῠ́Κος", "Lukos", "Wolf"],
["Λῠ́Πη", "Lupe", "Sadness"],
["Λύσσᾰ", "Lussa", "Fury"],
["Λώβη", "Lobe", "Disgrace"],
["Λῃστείᾱ", "Leisteia", "Piracy"],
["Μᾰ́Γειρος", "Mageiros", "Cook"],
["Μάγος", "Magos", "Sorcerer"],
["Μαμωνᾶς", "Mamonâs", "Wealth"],
["Μᾰνῐ́Ᾱ", "Mania", "Madness"],
["Μᾰντείᾱ", "Manteia", "Prophecy"],
["Μᾰ́Ρτῠς", "Martus", "Martyr"],
["Μᾰταιότης", "Mataiotes", "Emptiness"],
["Μᾰ́Τη", "Mate", "Folly"],
["Μᾰχητής", "Makhetes", "Fighter"],
["Μέγεθος", "Megethos", "Greatness"],
["Μελαγχολῐ́Ᾱ", "Melankholia", "Melancholy"],
["Μελῳδῐ́Ᾱ", "Meloidia", "Song"],
["Μέσκος", "Meskos", "Sheepskin"],
["Μετᾰβολή", "Metabole", "Mutation"],
["Μετᾰνάστᾰσις", "Metanastasis", "Migration"],
["Μηλᾰ́Της", "Melates", "Shepherd"],
["Μήνη", "Mene", "Moon"],
["Μῆνῐς", "Menis", "Wrath"],
["Μῆτῐς", "Metis", "Skill"],
["Μῐκρολογῐ́Ᾱ", "Mikrologia", "Pettiness"],
["Μῖμος", "Memos", "Mime"],
["Μισθός", "Misthos", "Reward"],
["Μνήμη", "Mneme", "Memory"],
["Μολπή", "Molpe", "Dance"]
];
var nm6a = ["abo", "aes", "ais", "am", "an", "ans", "aon", "aor", "aos", "ar", "aro", "as", "aus", "ax", "eas", "edo", "elo", "en", "eo", "eon", "eos", "er", "ero", "es", "eus", "eyx", "iam", "ian", "ias", "imo", "io", "ion", "ios", "iro", "is", "ius", "ix", "oas", "oes", "ois", "oli", "on", "oos", "op", "ops", "or", "os", "ous", "uas", "uis", "uma", "us", "yas", "yon", "ys", "yx"];
var nm6b = ["aë", "aëe", "aa", "abe", "ace", "ada", "ae", "aea", "age", "aia", "ais", "ala", "ale", "ana", "ane", "ano", "ape", "ara", "are", "as", "atë", "ate", "ave", "ea", "ebe", "eda", "ede", "ee", "ehe", "eia", "eio", "eis", "ela", "ele", "eme", "ena", "ene", "eos", "era", "ere", "ero", "es", "esa", "eta", "ete", "eto", "ia", "ias", "ica", "ice", "ie", "ike", "iko", "ile", "ilo", "ima", "ime", "imo", "ina", "ine", "ino", "io", "ion", "ir", "ira", "is", "isa", "ita", "ite", "ito", "oë", "obe", "oce", "oda", "ode", "oe", "oea", "ois", "ola", "ole", "ome", "on", "ona", "one", "opa", "ope", "oré", "ora", "ore", "os", "osa", "oto", "uba", "uce", "uge", "ugo", "uia", "us", "usa", "yia", "yke", "yle", "ylo", "yne", "yo", "yra", "yro", "ysa", "yse", "yta"];
var nm7 = ["h", "m", "n", "r", "s"];
var nm8 = ["a", "e", "i", "o", "u", "y"];
function nameGen(type) {
var nm6 = [];
var tp = type;
var br = "";
var element = document.createElement("div");
element.setAttribute("id", "result");
for (i = 0; i < 10; i++) {
if (i < 5) {
rnd = Math.random() * nm5.length | 0;
names = nm5[rnd][1] + " (" + nm5[rnd][2] + ", " + nm5[rnd][0] + ")";
} else {
if (tp === 1) {
nm6 = nm6b;
} else {
nm6 = nm6a;
}
nTp = Math.random() * 2 | 0;
rnd = Math.random() * nm5.length | 0;
lsChar = nm5[rnd][1].slice(-1);
slChar = nm5[rnd][1].slice(-2, -1);
if (nm8.includes(lsChar)) {
rnd4 = Math.random() * nm7.length | 0;
if (nm8.includes(slChar) && nTp === 0) {
names = nm5[rnd][1].slice(0, -1) + nm7[rnd4] + " (" + nm5[rnd][2] + ", " + nm5[rnd][0] + ")";
} else {
names = nm5[rnd][1] + nm7[rnd4] + " (" + nm5[rnd][2] + ", " + nm5[rnd][0] + ")";
}
} else {
rnd4 = Math.random() * nm6.length | 0;
if (nm8.includes(slChar)) {
rnd4 = Math.random() * nm7.length | 0;
names = nm5[rnd][1].slice(0, -2) + nm6[rnd4] + " (" + nm5[rnd][2] + ", " + nm5[rnd][0] + ")";
} else {
names = nm5[rnd][1].slice(0, -1) + nm6[rnd4] + " (" + nm5[rnd][2] + ", " + nm5[rnd][0] + ")";
}
}
}
br = document.createElement('br');
element.appendChild(document.createTextNode(names));
element.appendChild(br);
}
if (document.getElementById("result")) {
document.getElementById("placeholder").removeChild(document.getElementById("result"));
}
document.getElementById("placeholder").appendChild(element);
}