move base NotificationView to cw.common.mail, we may want to use it to send notification from the web ui
functionset_tab(tabname,cookiename){// set appropriate cookieasyncRemoteExec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}