// educate.js

function getQCount (p_id) {
	return 6;
}

function getQ (p_id) {

	if (p_id == 1)
		return 'What is the Answer to the Great Question of Life, the Universe, and Everything?';
	else if (p_id == 2)
		return 'What do women want?';
	else if (p_id == 3)
		return 'If God is Allmighty, why does He not remove all doubt and suffering?';
	else if (p_id == 4)
		return 'Is there a perfect piece of software (and, if yes, what is its name)?';
	else if (p_id == 5)
		return 'What is the point of terrorism?';
	else if (p_id == 6)
		return 'Why don\'t we have Daylight Saving Time all year?';
		// http://www.timeanddate.com/time/aboutdst.html
		// http://webexhibits.org/daylightsaving/b.html
	else
		return '';
}

function getACount (p_id) {

	if (p_id == 1)
		return 2;
	else if (p_id == 2)
		return 1;
	else if (p_id == 3)
		return 1;
	else if (p_id == 4)
		return 0;
	else if (p_id == 5)
		return 0;
	else if (p_id == 6)
		return 0;
	else
		return 0;
}

function oneA (p_date, p_answer, p_name, p_email) {
	return	p_date
	+	(p_name == null ? '' : ', from ' + getMailtoLink(p_email, p_name))
	+	':<blockquote>'
	+	p_answer
	+	'</blockquote>'
	;
}

function getA (p_id) {

	if (p_id == 1)
		return	oneA (
				'05.02.2006'
			,	'The answer would be 42, this according to the Hitchhiker\'s Guide '
			+	'to the Galaxy. Undoubtedly submitted more than once, but one never knows.'
			,	'Mario Visser'
			,	'mario.visser@xs4all.nl'
			)
		+	oneA (
				'26.04.2006'
			,	'42'
			);
	else if (p_id == 2)
		return	oneA (
				'07.05.2006'
			,	'I think the basic thing that women want is economical security. '
			+	'Most women will be kept women most of their lives - supported by '
			+	'a husband - and their main job is to have and raise children and be '
			+	'a housekeeper. To do this job well, a woman wants stability in her life. '
			+	'She wants to be sure there will be enough to eat for her and her kids '
			+	'and she will be protected from the outside world by a home. She also '
			+	'wants a mate to share the responsibilities and burdens of raising a '
			+	'family. She also wants love, respect, social status and whatever things '
			+	'are in fashion in her time and society.'
			,	'Julian Hebbrecht'
			,	'julianh@sun.email.ne.jp'
			);
	else if (p_id == 3)
		return	oneA (
				'15.03.2005'
			,	'If God removed all doubt and suffering, what would be the point of LIVING? '
			+	'A wise man (tm) (or woman) once said that it is only through challenges '
			+	'a person may achieve personal growth; So isn\'t life, and the very act '
			+	'of living, about overcoming difficulties? To paraphrase a Norwegian song lyric; '
			+	'&quot;... Don\'t you know that happiness is only to be found as '
			+	'the companion to pain/suffering?... &quot;'
			);
	else if (p_id == 4)
		return '';
	else if (p_id == 5)
		return '';
	else if (p_id == 6)
		return '';
	else
		return '';
}

