function toggleAnswer(i) {
	var question = document.getElementById('q' + i);
	var answer = document.getElementById('a' + i);
	if (answer.style.display != "block") {
		answer.style.display = "block";
		question.style.fontWeight = "bold";
	}
	else {
		answer.style.display = "none";
		question.style.fontWeight = "normal";
	}
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=600,height=500');");
}

function toggleLogin() {
	var loginbox = document.getElementById('loginbox');
	if (loginbox.style.display=='block') {
		loginbox.style.display = 'none';
	}
	else {
		loginbox.style.display = 'block';
	}
}