local function D()if window.Visible then window.Visible=false end end
-- Define the function to open or close the window with gene-alike effect
local function toggleWindow()
	if window.Visible then
		-- Close the window by tweening back to the button position and size
		window.Visible = false
	end
end
