function sideboxes() {
	var typeArr = new Array('Light','Dark');
	with (document.forms['dbquery']) {
		var tempCheck = false;
		if (sideBoth.checked) {
			tempCheck = true;
		}
		for (var i=0; i<typeArr.length; i++) {
			var obj = eval('side'+typeArr[i]);
			obj.disabled = tempCheck;
			obj.checked = false;
		}
	}
}
function cardviewer($cardID,$winx,$winy)
{
  var features = 'width=' + $winx + ',height=' + $winy + ',resizable=no,status=no,screenX=100,screenY=100';
  window.open('card.php?ID='+$cardID,"_blank",features);
}

function groupviewer($gName)
{
  var features = 'width=435,height=490,resizable=no,scrollbars=yes,status=no,screenX=200,screenY=200';
  window.open('group.php?gn='+$gName,"_blank",features);
}
