function notifications_sort(sortKey) { var rev = 'rev'; var f=document.forms[0]; if (f.sort.value.indexOf(sortKey) == -1) f.sort.value = sortKey; else { if (f.sort.value.indexOf(rev) == -1) f.sort.value = rev + sortKey; else f.sort.value = sortKey; } f.action = '/notifications/list_folder.do'; f.submit(); } function notifications_compose(toid){ notifications_openfixedwin('/notifications/compose.do?toId=' + toid,'Compose'); } function notifications_reply(mid){ notifications_openfixedwin('/notifications/reply.do?mid=' + mid,''); } function notifications_forward(mid){ notifications_openfixedwin('/notifications/forward.do?mid=' + mid,''); } function notifications_openfixedwin(url, name){ window.open(url,name,'width=628,height=390,status=no,menu=no,scrolls=yes'); } function notifications_openwin(url, name, width, height){ window.open(url,name,'width='+width+',height='+height+',resizable=yes,status=no,menu=no,scrollbars=yes'); } function markAs(value) { document.forms[0].action = '/notifications/update_message_state.do'; document.forms[0].mark_as.value = value; document.forms[0].submit(); } function archiveSelected(){ alert('Esta función aun no se encuentra implementada'); } function showVCard(uid){ window.open('/my_account/show_vcard.do?uid=' + uid, 'vcard', 'width=270,height=110,toolbar=no,menu=no,status=no,scrolls=no'); } function SelectAll() { for (var i=0;i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i