; and (B) acts and conditions occurring or existing before, on, or after such date. (2) Subsection (b) The amendments made by subsection (b) shall take effect upon the date of the enactment of this Act, and section 236 of the Immigration and Nationality Act, as amended by subsection (b), shall apply to any alien in detention under provisions of such section on or after such date. 7. Immigration law enforcement training of State and local law enforcement personnel (a) Training manual and pocket guide (1) Publication Not later than 180 days after the date of the enactment of this Act, the Secretary of Homeland Security shall publish— (A) a training manual for State and local law enforcement personnel to train such personnel in the investigation, identification, apprehension, arrest, detention, and transfer to Federal custody of aliens in the United States, including— (i) the transportation of such aliens across State lines to detention centers; and (ii) the identification of fraudulent documents; and (B) an immigration enforcement pocket guide for State and local law enforcement personnel to provide a quick reference for such personnel in the course of duty. (2) Availability The training manual and pocket guide published under paragraph (1) shall be made available to all State and local law enforcement personnel. (3) Applicability Nothing in this subsection may be construed to require State or local law enforcement personnel to keep the training manual or pocket guide with them while on duty. (4) Costs The Secretary shall be responsible for all costs incurred in the publication of the training manual and pocket guide under this subsection. (b) Training flexibility (1) In general The Secretary of Homeland Security shall make training available to State and local law enforcement officers through as many means as possible, including— (A) residential training at— (i) the Federal Law Enforcement Training Center (referred to in this subsection as FLETC ) of the Department of Homeland Security in Glynco, Georgia