Declare content_window before it's used in changeSub().