function adapt_user_edit (editee_user_status) {
	
	var editor_user_status = user_status; // user_status is defined in javascript by page_top.php
	
		//alert ('Adapting User Record Edit to Editor (' + editor_user_status + ') / Editee (' + editee_user_status + ')');
	
//	NOTES:	editor_user_status 	SHOULD BE the User Status of the logged-in User who's EDITING the record (i.e.: an Admin working on a non-member's record needs to see fields the NM doesn't get shown
//			editee_user_status 	is the User Status of the record being EDITED
	
	
	
	
//	TOP ROW /////////////////////////////////////////////
	
	if (getCorrectId('tbl_toprow')) {
		
			/* FOR TESTING ONLY */ //alert ("got the tbl_toprow table");
		
	//	Account Status pulldown
		if (editee_user_status != '') {	// A new User would have no status
		
			getCorrectId('row_account_status').className 	= '';
			getCorrectId(    'account_status').disabled 	= false;
			
			getCorrectId('account_status').onchange = function () {
				if (this.options[getCorrectId(this.id).selectedIndex].value == 'ID') {
					alert ("Please update the death date below.");
					getCorrectId('row_date_death').className 	= '';
					getCorrectId(    'date_death').disabled 	= false;
				} else {
					getCorrectId('row_date_death').className 	= 'hidden';
					getCorrectId(    'date_death').disabled 	= true;
				}
			}
			
		} else {
			
			getCorrectId('row_account_status').className	= 'hidden';
			getCorrectId(    'account_status').disabled 	= true;
		}
		
	//	Member /Fellow Date fields
		if (
			editee_user_status == 'RM' || 
			editee_user_status == 'AM' || 
			editee_user_status == 'SM' || 
			editee_user_status == 'HM' || 
			editee_user_status == 'FM'
		) {
			
			if (editee_user_status != 'FM') {
				
				getCorrectId('row_date_member').className 	= '';
				getCorrectId(    'date_member').disabled 	= false;
				
			} else {
				
				getCorrectId('row_date_member').className 	= 'hidden';
				getCorrectId(    'date_member').disabled 	= true;
			}
			
			if (editee_user_status == 'FM' || getCorrectId('date_fellow').value != '0000-00-00') {
				
				getCorrectId('row_date_fellow').className 	= '';
				getCorrectId(    'date_fellow').disabled 	= false;
				
			} else {
				
				getCorrectId('row_date_fellow').className 	= 'hidden';
				getCorrectId(    'date_fellow').disabled 	= true;
			}
		}
	}
		
//	END TOP ROW
	
	
		/* FOR TESTING ONLY */ //alert ('got this far');
	
	
//	MAIN TABLE /////////////////////////////////////////////	
	
	if (getCorrectId('tbl_user_record_edit_main')) {
		
			/* FOR TESTING ONLY */ //alert ("got the tbl_user_record_edit_main table");
		
		if (editee_user_status != '' || getCorrectId('new_user').value) {
			
				/* FOR TESTING ONLY */ //alert ("Editee User Status = " + editee_user_status);
			
			getCorrectId('tbl_user_record_edit_main').className = 'table';
			
			getCorrectId('name_title').disabled		= false;
			getCorrectId('name_first').disabled 	= false;
			getCorrectId('name_middle').disabled 	= false;
			getCorrectId('name_last').disabled 		= false;
			getCorrectId('name_suffix').disabled 	= false;
			getCorrectId('gender_m').disabled		= false;
			getCorrectId('gender_f').disabled		= false;
			
			getCorrectId('degrees_all').disabled 	= false;
			getCorrectId('degrees[]').disabled 		= false;
			getCorrectId('degrees_other').disabled 	= false;
			
			getCorrectId('location_0_job_title').disabled 	= false;
			getCorrectId('location_0_institution').disabled = false;
			getCorrectId('location_0_department').disabled 	= false;
			
			getCorrectId('location_0_address_country_code_iso2').disabled = false;
		/*	
			Do this with the location_0_country func
			
			getCorrectId('location_0_address_street_1').disabled 			= false;
			getCorrectId('location_0_address_street_2').disabled 			= false;
			getCorrectId('location_0_address_city').disabled 				= false;
			getCorrectId('location_0_address_zip_code').disabled 			= false;
			getCorrectId('location_0_address_postal_code').disabled 		= false;
			getCorrectId('location_0_address_zip_postal_code').disabled 	= false;
		*/	
			location_0_country_func(getCorrectId('location_0_address_country_code_iso2').value);
			
			getCorrectId('location_0_telephone_1_country_code').disabled 	= false;
			getCorrectId('location_0_telephone_1_number').disabled 			= false;
			getCorrectId('location_0_telephone_1_extension').disabled 		= false;
			
			getCorrectId('location_0_telephone_2_area_city_code').disabled 	= false;
			getCorrectId('location_0_telephone_2_number').disabled 			= false;
			getCorrectId('location_0_telephone_2_extension').disabled 		= false;
			getCorrectId('location_0_telephone_2_description').disabled 	= false;
			
			getCorrectId('location_0_fax_1_area_city_code').disabled 		= false;
			getCorrectId('location_0_fax_1_number').disabled 				= false;
			
			getCorrectId('location_0_email_1').disabled 					= false;
			
			getCorrectId('location_0_email_2').disabled 					= false;
			getCorrectId('location_0_email_2_description').disabled 		= false;
			
			getCorrectId('location_0_url').disabled = false;
			
		//	MAILING ADDRESS
			
			getCorrectId('tbl_location_1').className = 'table';
			
			getCorrectId('location_1_Y').disabled = false;
			getCorrectId('location_1_N').disabled = false;
			
			getCorrectId('location_1_address_country_code_iso2').disabled 	= false;
		/*
			Do this with the location_1_country_func
			getCorrectId('location_1_address_street_1').disabled 			= false;
			getCorrectId('location_1_address_street_2').disabled 			= false;
			getCorrectId('location_1_address_city').disabled 				= false;
			getCorrectId('location_1_address_state_prov_ter_AU').disabled 	= false;
			getCorrectId('location_1_address_state_prov_ter_CA').disabled 	= false;
			getCorrectId('location_1_address_state_prov_ter_UK').disabled 	= false;
			getCorrectId('location_1_address_state_prov_ter_US').disabled 	= false;
			getCorrectId('location_1_address_state_prov_ter_YY').disabled 	= false;
			getCorrectId('location_1_address_zip_code').disabled 			= false;
			getCorrectId('location_1_address_postal_code').disabled 		= false;
			getCorrectId('location_1_address_zip_postal_code').disabled 	= false;
		*/
			location_1_country_func(getCorrectId('location_1_address_country_code_iso2').value);

			
			
		} else {
			
				/* FOR TESTING ONLY */ //alert ("No editee_user_status");
				
			getCorrectId('tbl_user_record_edit_main').className		= 'table hidden';
			
			getCorrectId('name_title').disabled 					= true;
			getCorrectId('name_first').disabled 					= true;
			getCorrectId('name_middle').disabled 					= true;
			getCorrectId('name_last').disabled 						= true;
			getCorrectId('name_suffix').disabled 					= true;
			getCorrectId('gender_m').disabled						= true;
			getCorrectId('gender_f').disabled						= true;
			
			getCorrectId('degrees_all').disabled 					= true;
			getCorrectId('degrees[]').disabled 						= true;
			getCorrectId('degrees_other').disabled 					= true;
			
			getCorrectId('location_0_job_title').disabled 			= true;
			getCorrectId('location_0_institution').disabled 		= true;
			getCorrectId('location_0_department').disabled 			= true;
			
		/*	
			Do this with the location_0_country func
			
			getCorrectId('location_0_address_country_code_iso2').disabled	= true;
			getCorrectId('location_0_address_street_1').disabled 			= true;
			getCorrectId('location_0_address_street_2').disabled 			= true;
			getCorrectId('location_0_address_city').disabled 				= true;
			getCorrectId('location_0_address_state_prov_ter_AU').disabled 	= true;
			getCorrectId('location_0_address_state_prov_ter_CA').disabled 	= true;
			getCorrectId('location_0_address_state_prov_ter_UK').disabled 	= true;
			getCorrectId('location_0_address_state_prov_ter_US').disabled 	= true;
			getCorrectId('location_0_address_state_prov_ter_YY').disabled 	= true;
			getCorrectId('location_0_address_zip_code').disabled 			= true;
			getCorrectId('location_0_address_postal_code').disabled 		= true;
			getCorrectId('location_0_address_zip_postal_code').disabled 	= true;
		*/	
			location_0_country_func(getCorrectId('location_0_address_country_code_iso2').value);
			
			getCorrectId('location_0_telephone_1_country_code').disabled 	= true;
			getCorrectId('location_0_telephone_1_area_city_code').disabled 	= true;
			getCorrectId('location_0_telephone_1_number').disabled 			= true;
			getCorrectId('location_0_telephone_1_extension').disabled 		= true;
			
			getCorrectId('location_0_telephone_2_country_code').disabled 	= true;
			getCorrectId('location_0_telephone_2_area_city_code').disabled 	= true;
			getCorrectId('location_0_telephone_2_number').disabled 			= true;
			getCorrectId('location_0_telephone_2_extension').disabled 		= true;
			getCorrectId('location_0_telephone_2_description').disabled 	= true;
			
			getCorrectId('location_0_fax_1_area_city_code').disabled 		= true;
			getCorrectId('location_0_fax_1_number').disabled 				= true;
			
			getCorrectId('location_0_email_1').disabled 					= true;
			
			getCorrectId('location_0_email_2').disabled 					= true;
			getCorrectId('location_0_email_2_description').disabled 		= true;
			
			getCorrectId('location_0_url').disabled = true;
			
			
		//	MAILING ADDRESS
			
			getCorrectId('tbl_location_1').className = 'table hidden';
			
			getCorrectId('location_1_Y').disabled = true;
			getCorrectId('location_1_N').disabled = true;
			
		/*
			Do this with the location_1_country_func
			getCorrectId('location_1_address_country_code_iso2').disabled 	= true;
			getCorrectId('location_1_address_street_1').disabled 			= true;
			getCorrectId('location_1_address_street_2').disabled 			= true;
			getCorrectId('location_1_address_city').disabled 				= true;
			
			getCorrectId('location_1_address_state_prov_ter_AU').disabled 	= true;
			getCorrectId('location_1_address_state_prov_ter_CA').disabled 	= true;
			getCorrectId('location_1_address_state_prov_ter_UK').disabled 	= true;
			getCorrectId('location_1_address_state_prov_ter_US').disabled 	= true;
			getCorrectId('location_1_address_state_prov_ter_YY').disabled 	= true;
			
			getCorrectId('location_1_address_zip_code').disabled 			= true;
			getCorrectId('location_1_address_postal_code').disabled 		= true;
			getCorrectId('location_1_address_zip_postal_code').disabled 	= true;
		*/
			location_1_country_func(getCorrectId('location_1_address_country_code_iso2').value);
		}
	}
	
//	END MAIN TABLE /////////////////////////////////////////////
	
	
	
	
//	MAIN LOCATION EMAIL PERMISSIONS /////////////////////////////////////////////

	if (
		
		getCorrectId('tbl_location_0_email_1_permissions') &&
		getCorrectId('tbl_location_0_email_2_permissions')
		
	) {
		
		if (			
			//editor_user_status == 'SU' || 
			//editor_user_status == 'PT' || 
			
			editee_user_status == 'RM' ||
			editee_user_status == 'AM' ||
			editee_user_status == 'SM' ||
			editee_user_status == 'HM'
		) {
			
			getCorrectId('tbl_location_0_email_1_permissions').className		= 'no_width';
			getCorrectId('row_location_0_email_1_in_search_member').className	= '';
			getCorrectId(    'location_0_email_1_in_search_member_Y').disabled	= false;
			getCorrectId(    'location_0_email_1_in_search_member_N').disabled	= false;
			
			
			
			getCorrectId('tbl_location_0_email_2_permissions').className		= 'no_width';
			getCorrectId('row_location_0_email_2_in_search_member').className	= '';
			getCorrectId(    'location_0_email_2_in_search_member_Y').disabled	= false;
			getCorrectId(    'location_0_email_2_in_search_member_N').disabled	= false;
		
			if (			
				//editor_user_status == 'SU' ||
				//editor_user_status == 'PT' ||
				
				editee_user_status == 'RM'
			) {
				
				getCorrectId('row_location_0_email_1_in_search_public').className	= '';
				
				getCorrectId(    'location_0_email_1_in_search_public_Y').disabled	= false;
				getCorrectId(    'location_0_email_1_in_search_public_N').disabled	= false;
				
				getCorrectId('row_location_0_email_2_in_search_public').className	= '';
				
				getCorrectId(    'location_0_email_2_in_search_public_Y').disabled	= false;
				getCorrectId(    'location_0_email_2_in_search_public_N').disabled	= false;
			
			} else {
				
				getCorrectId('row_location_0_email_1_in_search_public').className	= 'hidden';
				
				getCorrectId(    'location_0_email_1_in_search_public_Y').disabled	= true;
				getCorrectId(    'location_0_email_1_in_search_public_N').disabled	= true;
				
				getCorrectId('row_location_0_email_2_in_search_public').className	= 'hidden';
				
				getCorrectId(    'location_0_email_2_in_search_public_Y').disabled	= true;
				getCorrectId(    'location_0_email_2_in_search_public_N').disabled	= true;
			}
		
		} else {
			
			getCorrectId('tbl_location_0_email_1_permissions').className 		= 'hidden';
			
			getCorrectId('row_location_0_email_1_in_search_member').className 	= 'hidden';
			
			getCorrectId(    'location_0_email_1_in_search_member_Y').disabled 	= true;
			getCorrectId(    'location_0_email_1_in_search_member_N').disabled 	= true;
			
			getCorrectId('row_location_0_email_1_in_search_member').className 	= 'hidden';
			
			getCorrectId(    'location_0_email_1_in_search_public_Y').disabled 	= true;
			getCorrectId(    'location_0_email_1_in_search_public_N').disabled 	= true;
			
			
			
			getCorrectId('tbl_location_0_email_2_permissions').className 		= 'hidden';
						  
			getCorrectId('row_location_0_email_2_in_search_member').className 	= 'hidden';
			
			getCorrectId(    'location_0_email_2_in_search_member_Y').disabled 	= true;
			getCorrectId(    'location_0_email_2_in_search_member_N').disabled 	= true;
			
			getCorrectId('row_location_0_email_2_in_search_public').className 	= 'hidden';
			
			getCorrectId(    'location_0_email_2_in_search_public_Y').disabled 	= true;
			getCorrectId(    'location_0_email_2_in_search_public_N').disabled 	= true;
		}
	}
	
//	END MAIN LOCATION EMAIL PERMISSIONS /////////////////////////////////////////////
	
	
	
	
//	ADDITIONAL LOCATIONS /////////////////////////////////////////////

	for (var y=0; y<10; y++) {
		
		if (getCorrectId('tbl_additional_location_' + y)) {
				
			if (
					editor_user_status == 'SU' ||
					editor_user_status == 'PT' ||
					
					editee_user_status == 'RM' ||
					editee_user_status == 'AM' ||
					editee_user_status == 'SM' ||
					editee_user_status == 'HM'
				)
			{
			
				getCorrectId('tbl_additional_location_' + y).className								= 'table';
				
				getCorrectId(    'additional_location_' + y + '_Y').disabled							= false;
				getCorrectId(    'additional_location_' + y + '_N').disabled							= false;
				
				getCorrectId(    'additional_location_' + y + '_description').disabled 					= false;
				
				getCorrectId(    'additional_location_' + y + '_in_search_member_Y').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_in_search_member_N').disabled			= false;
				
				getCorrectId(    'additional_location_' + y + '_job_title').disabled					= false;
				getCorrectId(    'additional_location_' + y + '_institution').disabled					= false;
				getCorrectId(    'additional_location_' + y + '_department').disabled					= false;
				
				getCorrectId(    'additional_location_' + y + '_address_country_code_iso2').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_address_street_1').disabled				= false;
				getCorrectId(    'additional_location_' + y + '_address_street_2').disabled				= false;
				getCorrectId(    'additional_location_' + y + '_address_city').disabled					= false;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_AU').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_CA').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_UK').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_US').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_YY').disabled	= false;
				
			/*	Let the locations javascript file handle this...
				getCorrectId(    'additional_location_' + y + '_address_zip_code').disabled				= false;
				getCorrectId(    'additional_location_' + y + '_address_postal_code').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_address_zip_postal_code').disabled		= false;
			*/
				
				getCorrectId(    'additional_location_' + y + '_telephone_1_country_code').disabled		= false;
				getCorrectId(    'additional_location_' + y + '_telephone_1_area_city_code').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_telephone_1_number').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_telephone_1_extension').disabled		= false;
			/*	
				getCorrectId(    'additional_location_' + y + '_telephone_2_country_code').disabled		= false;
				getCorrectId(    'additional_location_' + y + '_telephone_2_area_city_code').disabled	= false;
				getCorrectId(    'additional_location_' + y + '_telephone_2_number').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_telephone_2_extension').disabled		= false;
				getCorrectId(    'additional_location_' + y + '_telephone_2_description').disabled 		= true;
			*/	
				getCorrectId(    'additional_location_' + y + '_fax_1_country_code').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_fax_1_area_city_code').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_fax_1_number').disabled					= false;
			/*
				getCorrectId(    'additional_location_' + y + '_fax_2_country_code').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_fax_2_area_city_code').disabled			= false;
				getCorrectId(    'additional_location_' + y + '_fax_2_number').disabled					= false;
				getCorrectId(    'additional_location_' + y + '_fax_2_description').disabled			= false;
			*/	
				getCorrectId(    'additional_location_' + y + '_email_1').disabled						= false;
			/*
				getCorrectId(    'additional_location_' + y + '_email_2').disabled						= false;
				getCorrectId(    'additional_location_' + y + '_email_2_description').disabled			= false;
			*/	
				getCorrectId(    'additional_location_' + y + '_url').disabled							= false;
				
				if (
					getCorrectId('additional_location_' + y + '_Y').checked == true
					
						&&
					
					(
						//editor_user_status == 'SU' ||
						//editor_user_status == 'PT' ||
						
						editee_user_status == 'RM'
					)
				) {
					
					getCorrectId('row_additional_location_' + y + '_in_search_public').className	= '';
			
					getCorrectId(    'additional_location_' + y + '_in_search_public_Y').disabled	= false;
					getCorrectId(    'additional_location_' + y + '_in_search_public_N').disabled	= false;
					
				} else {
					
					getCorrectId('row_additional_location_' + y + '_in_search_public').className	= 'hidden';
			
					getCorrectId(    'additional_location_' + y + '_in_search_public_Y').disabled	= true;
					getCorrectId(    'additional_location_' + y + '_in_search_public_N').disabled	= true;
				}
			
			} else {
				
				getCorrectId('tbl_additional_location_' + y).className								= 'table hidden';
				
				getCorrectId(    'additional_location_' + y + '_Y').disabled							= true;
				getCorrectId(    'additional_location_' + y + '_N').disabled							= true;
				
				getCorrectId(    'additional_location_' + y + '_description').disabled					= true;
				
				getCorrectId(    'additional_location_' + y + '_in_search_member_Y').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_in_search_member_N').disabled		= true;
				
				getCorrectId(    'additional_location_' + y + '_in_search_public_Y').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_in_search_public_N').disabled		= true;
				
				getCorrectId(    'additional_location_' + y + '_job_title').disabled					= true;
				getCorrectId(    'additional_location_' + y + '_institution').disabled					= true;
				getCorrectId(    'additional_location_' + y + '_department').disabled					= true;
				
				getCorrectId(    'additional_location_' + y + '_address_country_code_iso2').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_street_1').disabled					= true;
				getCorrectId(    'additional_location_' + y + '_address_street_2').disabled					= true;
				getCorrectId(    'additional_location_' + y + '_address_city').disabled						= true;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_AU').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_CA').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_UK').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_US').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_state_prov_ter_YY').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_address_zip_code').disabled					= true;
				getCorrectId(    'additional_location_' + y + '_address_postal_code').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_address_zip_postal_code').disabled			= true;
				
				getCorrectId(    'additional_location_' + y + '_telephone_1_country_code').disabled			= true;
				getCorrectId(    'additional_location_' + y + '_telephone_1_area_city_code').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_telephone_1_number').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_telephone_1_extension').disabled			= true;
			/*	
				getCorrectId(    'additional_location_' + y + '_telephone_2_country_code').disabled			= true;
				getCorrectId(    'additional_location_' + y + '_telephone_2_area_city_code').disabled		= true;
				getCorrectId(    'additional_location_' + y + '_telephone_2_number').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_telephone_2_extension').disabled			= true;
				getCorrectId(    'additional_location_' + y + '_telephone_2_description').disabled			= true;
			*/	
				getCorrectId(    'additional_location_' + y + '_fax_1_country_code').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_fax_1_area_city_code').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_fax_1_number').disabled						= true;
				
			/*	getCorrectId(    'additional_location_' + y + '_fax_2_country_code').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_fax_2_area_city_code').disabled				= true;
				getCorrectId(    'additional_location_' + y + '_fax_2_number').disabled						= true;
				getCorrectId(    'additional_location_' + y + '_fax_2_description').disabled				= true;
				
			*/	getCorrectId(    'additional_location_' + y + '_email_1').disabled							= true;
				
			/*
				getCorrectId(    'additional_location_' + y + '_email_2').disabled							= true;
				getCorrectId(    'additional_location_' + y + '_email_2_description').disabled				= true;
			*/	
				getCorrectId(    'additional_location_' + y + '_url').disabled								= true;
			}
		}
	}
	
//	END ADDITIONAL LOCATIONS /////////////////////////////////////////////
	
	
	
	
//	CORPORATE SUPPORTER REPRESENTATIVE STUFF /////////////////////////////////////////////
	
	if (getCorrectId('tbl_corporate_supporter_sponsor')) {
		
		if (editee_user_status == 'CR') {
			
			getCorrectId('tbl_corporate_supporter_sponsor').className = 'table';
			getCorrectId('sponsor_id_corporate_supporter').disabled = false;
			getCorrectId('sponsor_id').disabled = true;
			
		} else {
			
			getCorrectId('tbl_corporate_supporter_sponsor').className = 'hidden';
			getCorrectId('sponsor_id_corporate_supporter').disabled = true;
			getCorrectId('sponsor_id').disabled = false;
		}
	}
	
//	END CORPORATE SUPPORTER REPRESENTATIVE STUFF ////////////////////////////////////////
	
	
	
	
//	MEETING STUFF /////////////////////////////////////////////
	
	if (getCorrectId('tbl_meeting')) {
		
		if (
			editee_user_status == 'AS' || 
			editee_user_status == 'NN' || 
			editee_user_status == 'NM' ||
			editee_user_status == 'RN' || 
			editee_user_status == 'FN'
		) {
			
			getCorrectId('tbl_meeting').className = 'table';
			
/*
			if (
				editee_user_status == 'AS' || 
				editee_user_status == 'NN' || 
				editee_user_status == 'NM'
			) {
				
*/
				getCorrectId('row_sponsor_id_1').className	= '';
				getCorrectId('row_sponsor_id_2').className	= '';
				getCorrectId(    'sponsor_id').disabled		= false;
/*
				
			} else {
				
				getCorrectId('row_sponsor_id_1').className	= 'hidden';
				getCorrectId('row_sponsor_id_2').className	= 'hidden';
				getCorrectId(    'sponsor_id').disabled		= true;
			}
*/
			
			if (
				editee_user_status == 'RN' || 
				editee_user_status == 'FN'
			) {
				
				getCorrectId('row_training_name').className	= '';
				getCorrectId('row_training_year').className	= '';
				getCorrectId(    'training_name').disabled	= false;
				getCorrectId(    'training_year').disabled	= false;
				
			} else {
				
				getCorrectId('row_training_name').className	= 'hidden';
				getCorrectId('row_training_year').className	= 'hidden';
				getCorrectId(    'training_name').disabled	= true;
				getCorrectId(    'training_year').disabled	= true;
			}
			
		} else {
			
			getCorrectId('tbl_meeting').className = 'table hidden';
			
			getCorrectId('row_sponsor_id_1').className	= 'hidden';
			getCorrectId('row_sponsor_id_2').className	= 'hidden';
			getCorrectId('row_training_name').className	= 'hidden';
			getCorrectId('row_training_year').className	= 'hidden';
			getCorrectId(    'sponsor_id').disabled		= true;
			getCorrectId(    'training_name').disabled	= true;
			getCorrectId(    'training_year').disabled	= true;
		}
	}
	
//	END MEETING STUFF /////////////////////////////////////////////
	
	
	
	
//	LOGIN /////////////////////////////////////////////
	
	if (getCorrectId('tbl_login')) {
		
		if (
			
			editor_user_status == 'SU' ||
			editor_user_status == 'PT'
			
				||
			
			(
				editee_user_status != 'NM' &&
				editee_user_status != 'NN' &&
				editee_user_status != 'RN' &&
				editee_user_status != 'FN' &&
				editee_user_status != ''
			)
		) {
			
			getCorrectId('tbl_login').className = 'table';
			
		} else {
			
			getCorrectId('tbl_login').className = 'table hidden';
		}
	}
		
//	END LOGIN /////////////////////////////////////////////
	
	
	
	
//	ADMIN-ONLY /////////////////////////////////////////////
	
	if (getCorrectId('tbl_admin_only')) {
		
			/* FOR TESTING ONLY */ //alert ("got the admin table");
		
		if (
			editor_user_status == 'SU' || 
			editor_user_status == 'PT'
		) {
			
				/* FOR TESTING ONLY */ //alert ("you are an " + editor_user_status + ".");
			
			getCorrectId('tbl_admin_only').className = 'table';
			
		//	Handle Death Date field
			if (getCorrectId('account_status').options[getCorrectId(getCorrectId('account_status').id).selectedIndex].value == 'ID') {
				getCorrectId('row_date_death').className 	= '';
				getCorrectId(    'date_death').disabled 	= false;
			} else {
				getCorrectId('row_date_death').className 	= 'hidden';
				getCorrectId(    'date_death').disabled 	= true;
			}
			
		//	Handle User in Public Search checks
			if (
				editee_user_status == 'RM' ||
				editee_user_status == 'AM' ||
				editee_user_status == 'SM' ||
				editee_user_status == 'HM'
			) {
				
				getCorrectId('row_in_search_public').className = '';
				
			} else {
				
				getCorrectId('row_in_search_public').className = 'hidden';
			}
			
		} else {
			
				/* FOR TESTING ONLY */ //alert ("user_stauts = " + editor_user_status + ".");
			
			getCorrectId('tbl_admin_only').className = 'table hidden';
		}
	}
	
//	END ADMIN-ONLY /////////////////////////////////////////////
	
	
	
	
//	SUBMIT BUTTON /////////////////////////////////////////////
	
	if (getCorrectId('preview')) {
		
			//alert ("Got the button");
		
		if (editee_user_status != '') {
			
			getCorrectId('preview').style.display	= 'block';
			getCorrectId('preview').disabled		=  false;
			
		} else {
			
			getCorrectId('preview').style.display	= 'none';
			getCorrectId('preview').disabled		=  true;
		}
	}
	
	
//	END SUBMIT BUTTON /////////////////////////////////////////////
	
	
	
	
		/* FOR TESTING ONLY */ //alert ('Form adapted for ' + editee_user_status + ' record);
}
