function set_handlers() {
	var questions = document.getElementsByTagName('dt');
	for (var i = 0; i < questions.length; i++)
		questions[i].firstChild.onclick = show_answer;

	if(location.hash && document.getElementById('a_' + location.hash.substring(1, location.hash.length)))
		document.getElementById('a_' + location.hash.substring(1, location.hash.length)).style.display = 'block';
}

function show_answer(e) {
	var targ;
	if (!e) var e = window.event;
	if (e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;
	else return;
	if (targ.nodeType == 3) targ = targ.parentNode;

	if (targ.tagName.toLowerCase() == 'a') {
		targ = targ.parentNode;
		if (targ.nextSibling.style.display != 'block')
			targ.nextSibling.style.display = 'block';
//		else
//			targ.nextSibling.style.display = 'none';
	}
}
