function associa_popup(docid) {
	window.open('join.asp?docid=' +docid, 'associa_popup', 'width=500, height=400, toolbar=0, scrollbars=1, location=0, statusbar=1, menubar=0, resizable=1');
}

function checkform(obj) {
	if (obj.elements['MemNo'].value=='' || obj.elements['Surname'].value=='') {
		alert('Please enter your membership number and surname to login');
		return false;
	}
	else
		return true;
}

function closenfocus() {
	window.opener.location.href='http://www.maculardisease.org/check.asp';
	window.close();
}
