var names=new Array();
names[0]="Ura Dick";
names[1]="Able Anus";
names[2]="Ernest Wank";
names[3]="Hardon";
names[4]="Arsole";
names[5]="E. Normous Penis";
names[6]="Mount Buggery";
names[7]="Nimrod Shitehead";
names[8]="Fanny Dickwell";
names[9]="Anal McCranie";

var answer=new Array();
answer[0]="True";
answer[1]="True";
answer[2]="True";
answer[3]="True";
answer[4]="True";
answer[5]="False";
answer[6]="True";
answer[7]="True";
answer[8]="True";
answer[9]="True";

var content=new Array();
content[0]="She was born on 17 February 1890 and died in Yonkers, New York, USA, in 1976. She was the mother of Rubin Dick.";
content[1]="He was born in British Columbia, Canada in c.1888 and was living in Sechelt, British Columbia, at the time of the 1911 Canada census. He was the brother of Mary, Maggie and Augustina Anus.";
content[2]="He was born Islington, London, in c.1855, and was in Streatham, London, during the 1911 England census when he was listed as an accountant. In the same household was his son Douglas Wank, a stockbroker, his daughters Marjorie and Muriel Wank both clerks, and his 18-year-old daughter Eleanor Wank, who had ‘no occupation’.";
content[3]="Hardon is a brand of tea from Curaçao.";
content[4]="The Dow Chemical Company’s US patent number 3,412,119 is entitled ‘Substituted Stannoles, Phospholes, Arsoles, and Stiboles’. Arsole is also the subject of a 1983 paper by G. Markl, H. Hauptmann and J. Organomet which is evocatively titled ‘Studies on the Chemistry of the Arsoles’.";
content[5]="";
content[6]="It is located in Victoria, Australia.";
content[7]="He was born in Kentucky, USA, in c.1838 and appears in Harrison, Kentucky, in the 1910 US census. The Shitehead household consisted of twins Florence and Clarence Shitehead (born c.1890) and daughter-in-law Emma Shitehead (born c.1882).";
content[8]="Fanny, the daughter of Willy Dickwell Sr. and sister of Willy Dickwell Jr., was born in Butterwick, Lincolnshire, in c.1859 and was living in Leake, Lincolnshire, at the time of the 1861 census.";
content[9]="The son of Reamer McCranie, he was born in 1914 and was in Pondtown, Dodge, Georgia, at the time of the 1930 US census.";

function displayAnswer(id){
	if(answer[id]=="True"){
		PlayNow("fart.mp3")
		var additional="";
	}else if(answer[id]=="False"){
		PlayNow("chime.mp3")
		var additional="<p>Well done, you have correctly identified the fake name!</p>";
	}
	document.getElementById('boxName').innerHTML = names[id]; 
	document.getElementById('boxAnswer').innerHTML = answer[id]+additional; 
	document.getElementById('boxContent').innerHTML = content[id]; 
	//centering with css
	centerPopup("names");
	//load popup
	loadPopup("names");	
}

function PlayNow(resultSound){
		document.getElementById("MediaMyMediaDiv").innerHTML = '<embed  src="'+resultSound+'" hidden="true" volume="200" loop="0" type="audio/midi" >';
}

