// JavaScript Document
function generateNames(){
	names = new Array(	
	"Aaliyah", 			"f", "Arabic", "to ascend",
	"'Abbas", 			"m", "Arabic", "austere",
	"Abd-Al-Aziz", 		"m", "Arabic", "servant of the powerful",
	"Abd-Al-Karim", 	"m", "Arabic", "servant of the generous",
	"Abd-Allah", 		"m", "Arabic", "servant of God",
	"Abd-Al-Latif", 	"m", "Arabic", "servant of the gentle",
	"Abd-Al-Malik", 	"m", "Arabic", "servant of the king",
	"Abd-Al-Qadir", 	"m", "Arabic", "servant of the capable",
	"Abd-Al-Rahman", 	"m", "Arabic", "servant of the merciful",
	"Abdul", 			"m", "Arabic", "servant of the",
	"Abdul-Aziz", 		"m", "Arabic", "servant of the powerful",
	"Abdullah", 		"m", "Arabic", "servant of God",
	"Abdul-Rahman", 	"m", "Arabic", "servant of the merciful",
	"'Abla", 			"f", "Arabic", "full-figured",
	"Adel", 			"m", "Arabic", "justice",
	"Adil", 			"m", "Arabic", "justice",
	"Afaf", 			"f", "Arabic", "chastity",
	"Afif", 			"m", "Arabic", "chaste",
	"Afra", 			"f", "Arabic", "whitish red",
	"Afzal", 			"m", "Arabic", "better or superior",
	"Ahmad", 			"m", "Arabic", "more commendable",
	"Ahmed", 			"m", "Arabic", "more commendable",
	"Aida", 			"f", "Arabic", "returning or visitor",
	"'Aisha", 			"f", "Arabic", "alive",
	"Akeem", 			"m", "Arabic", "wise",
	"Akilah", 			"f", "Arabic", "intelligent",
	"Ala", 				"m", "Arabic", "excellence or elevation",
	"Ala Al-Din", 		"m", "Arabic", "excellence of religion",
	"Ali", 				"m", "Arabic", "lofty or sublime",
	"Alia", 			"f", "Arabic", "sublime or lofty",
	"Alim", 			"m", "Arabic", "learned or expert or scholar",
	"Alina", 			"f", "Arabic", "noble",
	"Aliya",   			"f", "Arabic", "to ascend",
	"Aliyah",			"f", "Arabic", "to ascend",
	"Aliyyah", 			"f", "Arabic", "to ascend",
	"Almas", 			"f", "Arabic", "diamond",  
	"Alya", 			"f", "Arabic", "sublime or lofty",  
	"Amal", 			"e", "Arabic", "aspirations",  
	"Amani", 			"f", "Arabic", "wishes",
	"Amin", 			"m", "Arabic", "truthful",
	"Amina", 			"f", "Arabic", "truthful or safe",
	"Amir",		 		"m", "Arabic", "prince or commander",
	"Amira", 			"f", "Arabic", "princess",
	"Amna", 			"f", "Arabic", "safety",
	"Anas", 			"m", "Arabic", "friendly or a group of people",
	"Anass", 			"m", "Arabic", "friendly or a group of people",
	"Anisa", 			"f", "Arabic", "friendly",
	"Anwar", 			"m", "Arabic", "brighter",
	"Anwer", 			"m", "Arabic", "brighter",
	"Arwa", 			"f", "Arabic", "mountain goats",
	"Aa'Ad", 			"m", "Arabic", "luckier",
	"Asad", 			"m", "Arabic", "lion",
	"Asim", 			"m", "Arabic", "protector",
	"Asma", 			"f", "Arabic", "appellations or prestige",
	"Atallah", 			"m", "Arabic", "gift of God",
	"Ataullah", 		"m", "Arabic", "gift of God",
	"Atiya", 			"f", "Arabic", "gift",
	"Ayda", 			"f", "Arabic", "returning or visitor",
	"Ayesha", 			"f", "Arabic", "alive",
	"Ayishah", 			"f", "Arabic", "prosperous",
	"Ayman", 			"m", "Arabic", "right-handed or blessed or lucky",
	"Azhar", 			"m", "Arabic", "shining or bright",
	"'Aziz", 			"m", "Arabic", "powerful or beloved",
	"Badr", 			"e", "Arabic", "full moon",
	"Baha", 			"m", "Arabic", "splendor",
	"Bahiga", 			"f", "Arabic", "happy",
	"Bahij", 			"m", "Arabic", "happy",
	"Bahija", 			"f", "Arabic", "happy",
	"Bahiyya", 			"f", "Arabic", "beautiful",
	"Bakr", 			"m", "Arabic", "young camel",
	"Baqir", 			"m", "Arabic", "to rip open",
	"Barakat", 			"m", "Arabic", "blessings or gifts",
	"Basil", 			"m", "Arabic", "brave or valiant",
	"Basim", 			"m", "Arabic", "smiling",
	"Basima", 			"f", "Arabic", "smiling",
	"Basir", 			"m", "Arabic", "wise",
	"Basira", 			"f", "Arabic", "wise",
	"Basit", 			"m", "Arabic", "one who enlarges",
	"Basma", 			"f", "Arabic", "smile",
	"Bassam", 			"m", "Arabic", "smiling",
	"Bassem", 			"m", "Arabic", "smiling",
	"Batul", 			"f", "Arabic", "virgin",
	"Bilal", 			"m", "Arabic", "wetting or moistening",
	"Botros", 			"m", "Arabic", "stone",
	"Boulos", 			"m", "Arabic", "small or humble",
	"Boutros", 			"m", "Arabic", "stone",
	"Budur", 			"f", "Arabic", "full moon",
	"Bulus", 			"m", "Arabic", "small or humble",
	"Dalal", 			"f", "Arabic", "coquettishness",
	"Daud", 			"m", "Indian, Arabic", "beloved",
	"Dawood", 			"m", "Arabic", "beloved",
	"Dawud", 			"m", "Arabic", "beloved",
	"Dema", 			"f", "Arabic", "downpour",
	"Dima", 			"f", "Arabic", "downpour",
	"Diya", 			"m", "Arabic", "brightness or glow",
	"Djamila", 			"f", "Arabic", "beautiful",
	"Dua", 				"f", "Arabic", "prayer",
	"Duha", 			"f", "Arabic", "morning",
	"Fadi", 			"m", "Arabic", "saviour",
	"Fadia", 			"f", "Arabic", "saviour",
	"Fadil", 			"m", "Arabic", "virtuous or generous",
	"Fadila", 			"f", "Arabic", "virtuous or generous",
	"Fadl", 			"m", "Arabic", "grace or generosity",
	"Fahd", 			"m", "Arabic", "panther",
	"Fahim", 			"m", "Arabic", "intelligent or scholar",
	"Fahima", 			"f", "Arabic", "intelligent or scholar",
	"Fairuza", 			"f", "Arabic", "turquoise",
	"Faizel", 			"m", "Arabic", "a judge",
	"Fakhri", 			"m", "Arabic", "honourary",
	"Fakhriyya", 		"f", "Arabic", "honourary",
	"Farag", 			"m", "Arabic", "remedy or improvement",
	"Farah", 			"f", "Arabic", "joy",
	"Faraj", 			"m", "Arabic", "remedy or improvement",
	"Fardoos", 			"f", "Arabic", "paradise",
	"Farid", 			"m", "Arabic", "unique or precious",
	"Farida", 			"f", "Arabic", "unique or precious",
	"Fariha", 			"f", "Arabic", "happy",
	"Faris", 			"m", "Arabic", "knight",
	"Farooq", 			"m", "Arabic", "person who can tell right from wrong",
	"Farouk", 			"m", "Arabic", "person who can tell right from wrong",
	"Farrah", 			"f", "Arabic", "burden bearer",
	"Faruq", 			"m", "Arabic", "person who can tell right from wrong",
	"Fathi", 			"m", "Arabic", "conqueror",
	"Fathiyya", 		"f", "Arabic", "conqueror",
	"Fatima", 			"f", "Arabic", "to abstain",
	"Fatin", 			"f", "Arabic", "charming or seductive or fascinating",
	"Fatma", 			"f", "Arabic", "to abstain",
	"Fawzi", 			"m", "Arabic", "triumph",
	"Fawziyya", 		"f", "Arabic", "triumph",
	"Fayiz", 			"m", "Arabic", "victor",
	"Fayruz", 			"f", "Arabic", "turquoise",
	"Faysal", 			"m", "Arabic", "a judge",
	"Fayza", 			"f", "Arabic", "victor",
	"Feroze", 			"m", "Arabic", "successful",
	"Fidda", 			"f", "Arabic", "silver",
	"Fihr", 			"m", "Arabic", "stone pestle",
	"Fikir", 			"m", "Arabic", "intellectual",
	"Fikriyya", 		"f", "Arabic", "intellectual",
	"Firoz", 			"m", "Arabic", "successful",
	"Fizza", 			"f", "Arabic", "silver",
	"Fouad", 			"m", "Arabic", "heart",
	"Fuad", 			"m", "Arabic", "heart",
	"Gabir", 			"m", "Arabic", "comforter",
	"Gabr", 			"m", "Arabic", "consolation or assistance",
	"Gafar", 			"m", "Arabic", "stream",
	"Galal", 			"m", "Arabic", "greatness",
	"Galila", 			"f", "Arabic", "important, exalted",
	"Gamal", 			"e", "Arabic",	"beauty",
	"Gamil", 			"m", "Arabic", "beautiful",
	"Gamila", 			"f", "Arabic", "beautiful",
	"Gathbiyya", 		"f", "Arabic", "charm or attractiveness",
	"Gauhar", 			"f", "Arabic", "jewels",
	"Gawahir", 			"f", "Arabic", "jewels",
	"Gawdat", 			"m", "Arabic", "goodness or excellence",
	"Gazbiyya", 		"f", "Arabic", "charm or attractiveness",
	"Ghada", 			"f", "Arabic", "graceful woman",
	"Ghadir", 			"f", "Arabic", "stream",
	"Ghalib", 			"m", "Arabic", "conqueror",
	"Ghaliya", 			"f", "Arabic", "fragrant",
	"Ghassan", 			"m", "Arabic", "youth",
	"Ghayth", 			"m", "Arabic", "rain",
	"Ghufran", 			"f", "Arabic", "forgiveness",
	"Guda", 			"m", "Arabic", "goodness or excellence",
	"Gulzar", 			"e", "Arabic", "rose garden",
	"Habib", 			"m", "Arabic", "beloved or darling",
	"Habiba", 			"f", "Arabic", "beloved or darling",
	"Hadi", 			"m", "Arabic", "religious guide",
	"Hadia", 			"f", "Arabic", "religious guide",
	"Hadil", 			"f", "Arabic", "cooing (of a pigeon)",
	"Hadiya", 			"f", "Arabic", "gift",
	"Hadjara", 			"f", "Arabic", "flight",
	"Hadya", 			"f", "Arabic", "religious guide",
	"Hafiz", 			"m", "Arabic", "custodian or guardian",
	"Hafsa", 			"f", "Arabic", "brooding hen or young lioness",
	"Hafsah", 			"f", "Arabic", "brooding hen or young lioness",
	"Hafza", 			"f", "Arabic", "brooding hen or young lioness",
	"Hagir", 			"f", "Arabic", "flight",
	"Haidar", 			"m", "Arabic", "lion",
	"Haider", 			"m", "Arabic", "lion",
	"Haifa", 			"f", "Arabic", "slender",
	"Hajar", 			"f", "Arabic", "flight",
	"Hakeem", 			"m", "Arabic", "wise",
	"Hakim", 			"m", "Arabic", "wise",
	"Hala", 			"f", "Arabic", "halo around the moon",
	"Hameed", 			"m", "Arabic", "thankful or praising",
	"Hamid", 			"m", "Arabic", "thankful or praising",
	"Hamza", 			"m", "Arabic", "strong or steadfast",
	"Hana", 			"f", "Arabic", "bliss or happiness",
	"Hanaa", 			"f", "Arabic", "bliss or happiness",
	"Hanan", 			"f", "Arabic", "mercy or compassion",
	"Hani", 			"m", "Arabic", "happy",
	"Hanif",			"m", "Arabic", "true or upright",
	"Hanifa", 			"f", "Arabic", "true or upright",
	"Haniyya", 			"f", "Arabic", "happy",
	"Harith", 			"m", "Arabic", "good provider",
	"Haroun", 			"m", "Arabic", "high mountain or exalted",
	"Harun", 			"m", "Arabic", "high mountain or exalted",
	"Hasan", 			"m", "Arabic", "good or beautiful",
	"Hashim", 			"m", "Arabic", "crushing",
	"Hasib", 			"m", "Arabic", "noble or respected",
	"Hasim", 			"m", "Arabic", "decisive",
	"Hassan", 			"m", "Arabic", "good or beautiful",
	"Hatim", 			"m", "Arabic", "determined",
	"Hayder", 			"m", "Arabic", "lion",
	"Hayfa", 			"f", "Arabic", "slender",
	"Haytham", 			"m", "Arabic", "young eagle",
	"Hiba", 			"f", "Arabic", "gift",
	"Hikmat", 			"e", "Arabic", "wisdom",
	"Hind", 			"f", "Arabic", "group of camels",
	"Hisein", 			"m", "Arabic", "good or beautiful",
	"Hisham", 			"m", "Arabic", "generous",
	"Hooda", 			"f", "Arabic", "right guidance",
	"Hosni", 			"m", "Arabic", "beauty or excellence",
	"Houda", 			"f", "Arabic", "right guidance",
	"Houssam", 			"m", "Arabic", "sword",
	"Huda", 			"f", "Arabic", "right guidance",
	"Husain", 			"m", "Arabic", "good or beautiful",
	"Husam", 			"m", "Arabic", "sword",
	"Husayn", 			"m", "Arabic", "good or beautiful",
	"Husni", 			"m", "Arabic", "beauty or excellence",
	"Hussain", 			"m", "Arabic", "good or beautiful",
	"Hussein", 			"m", "Arabic", "good or beautiful",
	"Hyder", 			"m", "Arabic", "lion",
	"Ibrahim",			"m", "Arabic", "father of many", 
	"Ibtihaj", 			"f", "Arabic", "joy",
	"Ibtisam", 			"f", "Arabic", "smiling",
	"Ihab", 			"e", "Arabic", "gift",
	"Ihsan", 			"e", "Arabic", "charity",
	"Ikraam", 			"f", "Arabic", "honour",
	"Imad", 			"m", "Arabic", "support or pillar",
	"Imam", 			"m", "Arabic", "leader",
	"Iman", 			"f", "Arabic", "faith",
	"Imen", 			"f", "Arabic", "faith",
	"Imran", 			"m", "Arabic", "exalted nation",
	"In'Am", 			"f", "Arabic", "giving or bestowal",
	"Inas", 			"f", "Arabic", "friendliness",
	"Iqbal", 			"m", "Arabic", "fortunate",
	"Irfan", 			"m", "Arabic", "knowledge or learning",
	"Isa", 				"m", "Arabic", "God is salvation",
	"'Isam", 			"m", "Arabic", "security or pledge", 
	"Isma'Il", 			"m", "Arabic", "God will hear",
	"'Ismat", 			"e", "Arabic", "safeguarding",
	"Isra", 			"f", "Arabic", "nocturnal journey",
	"Issa", 			"m", "Arabic", "God is salvation",
	"I'Tidal", 			"f", "Arabic", "temperance or moderation",
	"Izdihar", 			"f", "Arabic", "blossoming",
	"Izz-Al-Din", 		"m", "Arabic", "glory of religion",
	"Izz-Ed-Din", 		"m", "Arabic", "glory of religion",
	"Jabir", 			"m", "Arabic", "comforter",
	"Jabr", 			"m", "Arabic", "consolation or assistance",
	"Jabril", 			"m", "Arabic", "strong man of God",
	"Jafar", 			"m", "Arabic", "stream",
	"Jalal", 			"m", "Arabic", "greatness",
	"Jalila", 			"f", "Arabic", "important or exalted",
	"Jamaal", 			"m", "Arabic", "beauty",
	"Jamal", 			"e", "Arabic", "beauty",
	"Jamil", 			"m", "Arabic", "beautiful",
	"Jamila", 			"f", "Arabic", "beautiful",
	"Jamillah", 		"f", "Arabic", "beautiful",
	"Janan", 			"f", "Arabic", "heart or soul",
	"Jathbiyya", 		"f", "Arabic", "charm or attractiveness",
	"Jathibiyya", 		"f", "Arabic", "charm or attractiveness",
	"Javed", 			"m", "Arabic", "eternal",
	"Jawahir", 			"f", "Arabic", "jewels",
	"Jawdat", 			"m", "Arabic", "goodness or excellence",
	"Jessenia", 		"f", "Arabic", "flower",
	"Jinan", 			"e", "Arabic", "garden or paradise",
	"Jadu", 			"m", "Arabic", "goodness or excellence",
	"Jamana", 			"f", "Arabic", "pearl",
	"Jumanah", 			"f", "Arabic", "pearl",
	"Kader", 			"m", "Arabic", "capable or powerful",
	"Kamal",	 		"m", "Arabic", "perfection",
	"Kamil",	 		"m", "Arabic", "perfect",
	"Karam", 			"e", "Arabic", "generosity",
	"Kareem", 			"m", "Arabic", "noble or generous",
	"Karim", 			"m", "Arabic", "noble or generous",
	"Karima", 			"f", "Arabic", "noble or generous",
	"Khadiga", 			"f", "Arabic", "premature child",
	"Khadija", 			"f", "Arabic", "premature child",
	"Khalid", 			"m", "Arabic", "eternal",
	"Khalida", 			"f", "Arabic", "eternal",
	"Khalifa", 			"m", "Arabic", "successor or caliph",
	"Khalil", 			"m", "Arabic", "friend",  
	"Khalilah", 		"f", "Arabic", "friend", 
	"Khaliq", 			"m", "Arabic", "creator",
	"Khatijah", 		"f", "Arabic", "premature child",
	"Khayrat", 			"m", "Arabic", "good deed",
	"Khayri", 			"m", "Arabic", "charitable",  
	"Khayriyya", 		"f", "Arabic", "charitable",
	"Khayyam", 			"m", "Arabic", "tent maker",
	"Khorshed", 		"e", "Arabic", "sun",
	"Khurshid", 		"e", "Arabic", "sun",
	"Khwaja", 			"m", "Arabic", "master or owner",
	"Laila", 			"f", "Arabic", "night",
	"Lamis", 			"f", "Arabic", "soft",
	"Lamya", 			"f", "Arabic", "having beautiful dark lips",
	"Lateefah", 		"f", "Arabic", "gentle, kind",
	"Latif", 			"m", "Arabic", "gentle, kind",
	"Latifa", 			"f", "Arabic", "gentle, kind",
	"Latifah", 			"f", "Arabic", "gentle, kind",
	"Lawahiz", 			"f", "Arabic", "glances",
	"Layla", 			"f", "Arabic", "night",
	"Leila", 			"f", "Arabic", "night",
	"Leilah", 			"f", "Arabic", "night",
	"Lela", 			"f", "Arabic", "night",
	"Leyla", 			"f", "Arabic", "night",
	"Lina",		 		"f", "Arabic", "palm tree or tender",
	"Lubna", 			"f", "Arabic", "storax tree",
	"Lujayn", 			"f", "Arabic", "silver",
	"Lutfi", 			"m", "Arabic", "kind or gentle",
	"Maha", 			"f", "Arabic", "wild cow",
	"Mahmud", 			"m", "Arabic", "praiseworthy",
	"Mahomet", 			"m", "Arabic", "praiseworthy",
	"Makram", 			"m", "Arabic", "generous or noble",
	"Malak", 			"e", "Arabic",	"angel",
	"Malik", 			"m", "Arabic", "king",
	"Malika", 			"f", "Arabic", "queen",
	"Mansur", 			"m", "Arabic", "victorious",
	"Maram", 			"e", "Arabic", "wish or desire",
	"Mariam", 			"f", "Arabic", "beloved or love",
	"Marwa", 			"f", "Arabic", "a fragrant plant",
	"Maryam", 			"f", "Arabic", "beloved or love",
	"Mas'Ud", 			"m", "Arabic", "lucky",
	"Mazin", 			"m", "Arabic", "rain clouds",
	"Midha", 			"f", "Arabic", "praise or eulogy",
	"Midhat", 			"m", "Arabic", "praise or eulogy",
	"Mihammad", 		"m", "Arabic", "praiseworthy",
	"Miraj", 			"m", "Arabic", "place of ascent",
	"Mirza", 			"m", "Arabic", "prince",
	"Mis'Id", 			"m", "Arabic", "lucky",
	"Mohamed", 			"m", "Arabic", "praiseworthy",
	"Mohammad", 		"m", "Arabic", "praiseworthy",
	"Mohammed", 		"m", "Arabic", "praiseworthy",
	"Mona",		 		"f", "Arabic", "wish or desire",
	"Muhammad", 		"m", "Arabic", "praiseworthy",
	"Muhammed", 		"m", "Arabic", "praiseworthy",
	"Muhsin", 			"m", "Arabic", "beneficent",
	"Muhsina", 			"f", "Arabic", "beneficent",
	"Mukhtar", 			"m", "Arabic", "chosen",
	"Muna", 			"f", "Arabic", "wish or desire",
	"Munir", 			"m", "Arabic", "bright or shining",
	"Munira", 			"f", "Arabic", "bright or shining",
	"Musa", 			"m", "Arabic", "son",
	"Mus'Ad", 			"m", "Arabic", "lucky",
	"Mustafa", 			"m", "Arabic", "the chosen one",
	"Mustapha", 		"m", "Arabic", "the chosen one",
	"Mu'Tasim", 		"m", "Arabic", "faithful to God",  
	"Nabil", 			"m", "Arabic", "noble",
	"Nada", 			"f", "Arabic", "generous or dew",
	"Nader", 			"m", "Arabic", "rare",
	"Nadia", 			"f", "Arabic", "generous or dew",
	"Nadim", 			"m", "Arabic", "drinking companion",
	"Nadir", 			"m", "Arabic", "rare",
	"Nadira", 			"f", "Arabic", "rare",
	"Nadra", 			"f", "Arabic", "rare",
	"Nadya", 			"f", "Arabic", "generous or dew",
	"Nagi", 			"m", "Arabic", "safe",
	"Nagib", 			"m", "Arabic", "noble or intelligent",
	"Nail", 			"m", "Arabic", "attainer",
	"Naila", 			"f", "Arabic", "attainer",
	"Na'Im", 			"m", "Arabic", "tranquil or at ease",
	"Na'Ima", 			"f", "Arabic", "tranquil or at ease",
	"Naji", 			"m", "Arabic", "safe", 
	"Najib", 			"m", "Arabic", "noble or intelligent",
	"Naseer", 			"m", "Arabic", "helper",
	"Nasib", 			"m", "Arabic", "noble",
	"Nasim", 			"f", "Arabic", "breeze",
	"Nasir", 			"m", "Arabic", "helper",
	"Nasira", 			"f", "Arabic", "helper",
	"Nasser", 			"m", "Arabic", "helper",
	"Naveed", 			"m", "Arabic", "good news",
	"Nawal", 			"f", "Arabic", "gift",
	"Nawra", 			"f", "Arabic", "flower or blossom",
	"Nazih", 			"m", "Arabic", "honest or virtuous",
	"Nazli", 			"f", "Arabic", "delicate or beautiful",
	"Nima", 			"m", "Arabic", "blessing",
	"Nizar", 			"m", "Arabic", "to be little",
	"Noor", 			"e", "Arabic", "light",
	"Nuha", 			"f", "Arabic",  "mind or wisdom",
	"Nur",				"e", "Arabic", "light",
	"Nura", 			"f", "Arabic", "light",
	"Omar", 			"m", "Arabic", "populous or flourishing",
	"Osama", 			"m", "Arabic", "lion",
	"Parvaiz", 			"m", "Arabic", "fortunate or happy",
	"ParveenARVEEN", 			"f", "Arabic", "the Pleiades",
	"Parvin", 			"f", "Arabic", "the Pleiades (constellation)",
	"Parwiz", 			"m", "Arabic", "fortunate or happy",
	"Qadir", 			"m", "Arabic", "capable or powerful",
	"Qasim", 			"m", "Arabic", "one who divides goods among his people",
	"Qusay", 			"m", "Arabic", "distant",
	"Rabab", 			"f", "Arabic", "a musical instrument",
	"Ra'D", 			"m", "Arabic", "thunder",
	"Rafiq", 			"m", "Arabic", "friend or gentle",
	"Rafiqa", 			"f", "Arabic", "friend or gentle",
	"Rahat", 			"e", "Arabic", "rest or comfort",  
	"Raheem", 			"m", "Arabic", "kind or compassionate",
	"Rahim", 			"m", "Arabic", "kind or compassionate",
	"Rais", 			"m", "Arabic", "leader or chief",  
	"Raisa", 			"f", "Arabic", "leader or chief",
	"Raja", 			"f", "Arabic", "hope",
	"Rajya", 			"f", "Arabic", "hopeful",
	"Rana", 			"f", "Arabic", "an eye-catching object",
	"Ranya", 			"f", "Arabic", "looking at",
	"Rasha", 			"f", "Arabic", "young gazelle",
	"Rashad", 			"m", "Arabic", "good sense or guidance",
	"Rashid", 			"m", "Arabic", "rightly guided",  
	"Rashida", 			"f", "Arabic", "rightly guided",
	"Rasul", 			"m", "Arabic", "prophet or messenger",
	"Rawiya", 			"f", "Arabic", "storyteller",
	"Rawya", 			"f", "Arabic", "storyteller",
	"Raza", 			"m", "Arabic", "contentment",
	"Riaz", 			"m", "Arabic", "meadows or gardens",
	"Rim", 				"f", "Arabic", "white antelope",
	"Rizwan", 			"m", "Arabic", "satisfaction",
	"Roshan",  			"e", "Arabic", "light",
	"Roshanara", 		"f", "Arabic", "light of the assembly",
	"Ruba", 			"f", "Arabic", "hill",
	"Ruqayya", 			"f", "Arabic", "ascent or incantation",
	"Rusul", 			"m", "Arabic", "prophets or messengers",
	"Ruwa", 			"f", "Arabic", "beauty",
	"Ruya", 			"f", "Arabic", "vision or sight",
	"Sabah", 			"f", "Arabic", "morning",
	"Sabeen", 			"f", "Arabic", "follower of another religion",
	"Sa'D", 			"m", "Arabic", "fortune or good luck",
	"Sadaf", 			"f", "Arabic", "seashell",
	"Saddam", 			"m", "Arabic", "crushing or one who confronts",
	"Sa'Dia", 			"f", "Arabic", "fortune or good luck",
	"Safi", 			"m", "Arabic", "pure",
	"Safiya", 			"f", "Arabic", "pure",
	"Safiyyah", 		"f", "Arabic", "pure",
	"Sahar", 			"f", "Arabic", "dawn",
	"Sa'Id", 			"m", "Arabic", "happy or lucky",
	"Sa'Ida", 			"f", "Arabic", "happy or lucky",
	"Saiful", 			"m", "Arabic", "sword of the",
	"Saifullah", 		"m", "Arabic", "sword of God",
	"Saira", 			"f", "Arabic", "traveller",
	"Sakhr", 			"m", "Arabic", "solid rock",
	"Sakina", 			"f", "Arabic", "calmness or peace",
	"Salah", 			"m", "Arabic", "righteousness",
	"Salah Al-Din", 	"m", "Arabic", "righteousness of religion",
	"Saleh", 			"m", "Arabic", "righteousness",
	"Salha", 			"f", "Arabic", "virtuous",
	"Salih", 			"m", "Arabic", "virtuous",
	"Salil", 			"m", "Arabic", "sword or son",
	"Salim", 			"m", "Arabic", "safe", 
	"Salima",			"f", "Arabic", "safe",
	"Salma", 			"f", "Arabic", "safe",
	"Samad", 			"m", "Arabic", "eternal",
	"Sameer", 			"m", "Arabic", "companion in evening talk",
	"Sameera", 			"f", "Arabic", "companion in evening talk",
	"Samina", 			"f", "Arabic", "healthy",
	"Samir", 			"m", "Arabic", "companion in evening talk",
	"Samira", 			"f", "Arabic", "companion in evening talk",
	"Sana", 			"f", "Arabic", "brilliance or splendour",
	"Sana'", 			"f", "Arabic", "radiance",
	"Sani", 			"m", "Arabic", "brilliant or splendid",
	"Saniyya", 			"f", "Arabic", "brilliant or splendid",
	"Sanya", 			"f", "Arabic", "radiant",  
	"Sara", 			"f", "Arabic", "lady or princess",
	"Sayyid", 			"m", "Arabic", "lord or master",
	"Sayyida", 			"f", "Arabic", "lady or mistress",
	"Shadi",			"m", "Arabic", "singer",
	"Shadya", 			"f", "Arabic", "singer",
	"Shafaqat",			"e", "Arabic", "compassion or pity",
	"Shafiq", 			"m", "Arabic", "compassionate",
	"Shafiqa", 			"f", "Arabic", "compassionate",
	"Shahira", 			"f", "Arabic", "renowned",
	"Shahjahan", 		"m", "Arabic", "king of the world",
	"Shahnaz", 			"f", "Arabic", "pride of the king",
	"Shahrazad", 		"f", "Arabic", "person of the city",
	"Shahrizad", 		"f", "Arabic", "person of the city",
	"Shahzad", 			"m", "Arabic", "prince",
	"Shakeel", 			"m", "Arabic", "handsome",
	"Shakil", 			"m", "Arabic", "handsome",
	"Shakila", 			"f", "Arabic", "handsome",
	"Shakir", 			"m", "Arabic", "thankful", 
	"Shakira", 			"f", "Arabic", "thankful",
	"Shama", 			"f", "Arabic", "lamp or mark",
	"Sharif", 			"m", "Arabic", "eminent or virtuous",
	"Sharifa", 			"f", "Arabic", "eminent or virtuous",
	"Shazi", 			"f", "Arabic", "fragrant",
	"Sheherazade", 		"f", "Arabic", "person of the city", 
	"Sher", 			"m", "Arabic", "lion",
	"Shukri", 			"m", "Arabic", "thanking",
	"Shukriya", 		"f", "Arabic", "thanking",
	"Shula", 			"f", "Arabic", "flame",
	"Soraya", 			"f", "Arabic", "the Pleiades (constelation)",
	"Suha", 			"f", "Arabic", "star",
	"Suhail", 			"m", "Arabic", "Canopus (star)",
	"Suhayl", 			"m", "Arabic", "Canopus (star)",
	"Sulayman", 		"m", "Arabic", "pease",
	"Suleiman", 		"m", "Arabic", "pease",
	"Suleyman",  		"m", "Arabic", "pease",
	"Sultan", 			"m", "Arabic", "ruler or king",
	"Sultana", 			"f", "Arabic", "ruler or king",
	"Sumayya", 			"f", "Arabic", "high above",
	"Saraya", 			"f", "Arabic", "the Pleiades (constelation)",
	"Surayya", 			"f", "Arabic", "the Pleiades (constelation)",
	"Tabassum", 		"f", "Arabic", "smiling",
	"Tahir", 			"m", "Arabic", "virtuous or pure or chaste",
	"Tahira", 			"f", "Arabic", "virtuous or pure or chaste",
	"Taliba", 			"f", "Arabic", "seeker of knowledge",
	"Tamid", 			"m", "Arabic", "praiseworthy",
	"Tarek", 			"m", "Arabic", "he who pounds at the door",
	"Tariq", 			"m", "Arabic", "he who pounds at the door",
	"Tasneen", 			"f", "Arabic", "a spring in paradise",
	"Tawfiq", 			"m", "Arabic", "good fortune",
	"Thurayya", 		"f", "Arabic", "the Pleiades (constelation)",
	"Tufayl", 			"m", "Arabic", "small child",
	"Umar", 			"m", "Arabic", "populous or flourishing",
	"Usama", 			"m", "Arabic", "lion",
	"Uthman", 			"m", "Arabic", "small precious stone",
	"Uzma", 			"f", "Arabic", "supreme or greatest",
	"Wafi", 			"m", "Arabic", "trustworthy or reliable",
	"Wafiya", 			"f", "Arabic", "trustworthy or reliable",
	"Waheed", 			"m", "Arabic", "peerless or unique",
	"Waheeda", 			"f", "Arabic", "peerless or unique",
	"Wahid", 			"m", "Arabic", "peerless or unique",
	"Wahida", 			"f", "Arabic", "peerless or unique",
	"Walid", 			"m", "Arabic", "newborn",
	"Wasi", 			"m", "Arabic", "broad-minded or liberal or learned",
	"Wasim", 			"m", "Arabic", "handsome",
	"Wassim", 			"m", "Arabic", "handsome",
	"Widad", 			"f", "Arabic", "love",
	"Yahya", 			"m", "Arabic", "God is gracious",
	"Yasir", 			"m", "Arabic", "to be rich",
	"Yasser", 			"m", "Arabic", "to be rich",
	"Yousef", 			"m", "Arabic", "he will add",
	"Youssef", 			"m", "Arabic", "he will add",
	"Yusef", 			"m", "Arabic", "he will add",
	"Yushua", 			"m", "Arabic", "God is salvation",
	"Yusra", 			"f", "Arabic", "wealth or ease",
	"Yusuf",   			"m", "Arabic", "he will add",
	"Zahi", 			"m", "Arabic", "beautiful or brilliant",
	"Zahia", 			"f", "Arabic", "beautiful or brilliant",
	"Zahid", 			"m", "Arabic", "pious or devout",
	"Zahida", 			"f", "Arabic", "pious or devout",
	"Zahir", 			"m", "Arabic", "shining or radiant or blossoming",
	"Zahira", 			"f", "Arabic", "shining or radiant or blossoming",
	"Zahra", 			"f", "Arabic", "blooming flower",
	"Zahrah", 			"f", "Arabic", "blooming flower",
	"Zaid", 			"m", "Arabic", "growth",
	"Zaida", 			"f", "Arabic", "growth",
	"Zain", 			"m", "Arabic", "beauty or grace",
	"Zaina", 			"f", "Arabic", "beauty or grace",
	"Zainab", 			"f", "Arabic", "a fragrant flowering plant",
	"Zaira", 			"f", "Arabic", "blooming flower",
	"Zaki", 			"m", "Arabic", "pure",
	"Zakiyya", 			"f", "Arabic", "pure",
	"Zaray", 			"f", "Arabic", "blooming flower",
	"Zaria", 			"f", "Arabic", "blooming flower",
	"Zayd", 			"m", "Arabic", "growth",
	"Zayn", 			"m", "Arabic", "beauty or grace",
	"Zayna", 			"f", "Arabic", "beauty or grace",
	"Zaynab", 			"f", "Arabic", "a fragrant flowering plant",
	"Zia", 				"m", "Arabic", "splendor or light",
	"Ziya", 			"m", "Arabic", "splendor or light",
	"Ziyad", 			"m", "Arabic", "growth",
	"Zulaykha", 		"f", "Arabic", "brilliant beauty",
	"Zulekha", 			"f", "Arabic", "brilliant beauty",
	"Zulfikar", 		"m", "Arabic", "cleaver of the spine",
	"Zulifqar", 		"m", "Arabic", "cleaver of the spine"
	)
	MSG = ""
	for( x=0; x < 3 ; x++ ){	
		//Empty the text caches
		thisNameArabic = ""
		thisNameEnglish = ""
		gender = ""
		nasab = ""
		nasabEnglish = ""
		
		//Select a name at random
		i = Math.floor(Math.random() * (names.length/4))
		
		//Determine gender
		if(names[i*4+1]=="e"){
			x = Math.floor(Math.random() * 2)
			if(x==0){ 
				gender = "m"
			}
			else{
				gender = "f"
			}
		}
		if((names[i*4+1]=="m")||(gender == "m")){
			//thisNameArabic += "Male <br>"
			MSG += "Male <br>"
			nasab = "bin "
			nasabEnglish = "son of"
		}
		else{
			//thisNameArabic += "Female <br>"
			MSG += "Female <br>"
			nasab = "bint "
			nasabEnglish = "daughter of"
		}

		//Write given name
		thisNameArabic += names[i*4] + " " 
		thisNameEnglish += "[" + names[i*4+3] + "] " 
		
		//Start building nasab
		for( n = 5 ; n > 0 ; n-- ){
			//Select next name of nasab at random
			i = Math.floor(Math.random() * (names.length/4))
			if(names[i*4+1]!="f"){
				thisNameArabic += nasab + names[i*4] + " " 
				thisNameEnglish += "[" + nasabEnglish + "] [" + names[i*4+3] + "] " 
				nasab = "bin "
				nasabEnglish = "son of"
			}
		}
		MSG += "" + thisNameArabic + " Al-TownOrRegion" + "<br>" + thisNameEnglish + " [from/of TownOrRegion]<br><br>"
		thisNameArabic = ""
		thisNameEnglish = ""
		gender = ""
		nasab = ""
		nasabEnglish = ""
	}
	document.getElementById("ArabicNames").innerHTML = MSG
}
