fix select principal so results are predictable during tests
functionset_tab(tabname){// set appropriate cookie// XXX see if we can no just do it with jQueryasync_remote_exec('remember_active_tab',tabname);// trigger show + tabname eventtrigger_load(tabname);}