function MoreInfo(Title,Text) {
	var w = 480, h = 340;
	w = screen.width;
	h = screen.height;
	var popW = 300, popH = 150;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	window.open( relroot + '/moreinfo.cfm?title=' + Title + '&text=' + Text ,'popupwin','top=' + topPos + ',left=' + leftPos + ',width=' + popW + ',height=' + popH + ',scrollbars=yes');
}

function toggleDisplay(chkobj, displayobj, invertcheck) {
	if ((chkobj.checked && invertcheck) || (!chkobj.checked && !invertcheck))
		displayobj.style.display = 'none';
	else
		displayobj.style.display = '';
}

function toggleAnswer(id) {
	ansobj = document.getElementById('answer_' + id);
	if (ansobj.style.display == 'none')
		ansobj.style.display = '';
	else
		ansobj.style.display = 'none';
}

function SpeedComparison() {
	var w = 420, h = 260;
	w = screen.width;
	h = screen.height;
	var popW = 410, popH = 250;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	window.open( relroot + '/speedcomparison.htm','popupwin','top=' + topPos + ',left=' + leftPos + ',width=' + popW + ',height=' + popH + ',scrollbars=no');
}
