;+
; NAME        : EIT_SUB_MDI
;
; PURPOSE     : Toggle the displaying of the MDI FOV 
;
; CATEGORY    : eit subfield
;
; EXPLANATION : 
;
; SYNTAX      : 
;
; EXAMPLES    : none
; 
; CALLED BY   :
;
; CALLS TO    : none
;
; ARGUMENTS   :	none
;
; KEYWORDS    : none
;
; OUTPUTS     : none
;
; COMMON      : none
;
; RESTRICTIONS: none
;
; SIDE EFFECTS: none
;
; PROJECT     : SOHO - EIT
;
; HISTORY     : V1,  Elaine Einfalt (HSTX)
;
; CONTACT     : eit@xanado.nascom.nasa.gov
;-
pro eit_sub_mdi, substruc=substruc, new_sub_ids=new_sub_ids


   ; If MDI Fov was displayed then turn it off and display,
   ; else turn it on and display

   if substruc.mdi_fov then substruc.mdi_fov = 0b $
		       else substruc.mdi_fov = 1b 

   ; Display this way
   
   ; File        : same
   ; Grid        : same
   ; Rotation    : current displayed in tool interface
   ; Offset      : current displayed in tool interface
   ; Subfields   : same
   ; Window size : same

   EIT_SUB_DISP,    /refile,				$
    		    sub_ids    = new_sub_ids, 		$
   		    substruc   = substruc


return
end
