appendWindow returns the id of the new window
New jquery version
New groupSetting: keep_windows_on_page. for forcing windows to stay inside the webpage.