[write security] we must check perm with read security disabled + add missing eid argument to check_perm
functionset_tab(tabname,cookiename){// set appropriate cookieasyncRemoteExec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}