1 | var debug = false; |
---|
2 | var _bTime = new Date(); |
---|
3 | _bTime = _bTime.getTime(); |
---|
4 | var hold_session = false; |
---|
5 | var queue_send_errors = false; |
---|
6 | var current_page = 1; |
---|
7 | var current_folder = ''; |
---|
8 | var id_menu_folders = ''; |
---|
9 | var preferences = ''; |
---|
10 | var contacts = ''; |
---|
11 | var search_box_type = 'ALL'; |
---|
12 | var sort_box_type = 'SORTARRIVAL'; |
---|
13 | var sort_box_reverse = 1; |
---|
14 | var last_message_selected = ''; |
---|
15 | var array_lang = new Array(); |
---|
16 | var cyrus_delimiter = ''; |
---|
17 | var ccaddress_array = new Array(); |
---|
18 | var ccoaddress_array = new Array(); |
---|
19 | var toaddress_array = new Array(); |
---|
20 | var tree_folders = ''; |
---|
21 | var folders = new Array(); |
---|
22 | var global_search = 1; |
---|
23 | var title_app_menu = '<table height="16px" align=center border=0 width=100% cellspacing=0 cellpadding=2>'+ |
---|
24 | '<tr><td align=left height=16px width="1%" nowrap class="table_top"> '+ |
---|
25 | '<a href=# onclick="javascript:new_message(\'new\',\'null\')" align=left>'+ |
---|
26 | '<img src="templates/'+template+'/images/menu/createmail.gif">'+ |
---|
27 | ' Novo</a> '+ |
---|
28 | '<a href="#" onclick="javascript:wfolders.makeWindow(\'\', \'change_folder\')" align=left>'+ |
---|
29 | '<img src="templates/'+template+'/images/menu/editfolders.png">'+ |
---|
30 | ' Trocar Pasta</a>  '+ |
---|
31 | '<a href="#" onclick="javascript:refresh();" align=left>'+ |
---|
32 | '<img src="templates/'+template+'/images/menu/checkmail.gif">'+ |
---|
33 | ' Atualizar</a> '+ |
---|
34 | '<a id="link_tools" href="#" align=left>'+ |
---|
35 | '<img height="16px" src="templates/'+template+'/images/menu/tools.gif">'+ |
---|
36 | ' Ferramentas...</a> </td><td style="padding-left:17px" width="1%" id="content_quota" align=left nowrap></td><td class="divAppboxHeader" id="main_title">Expresso Mail</td><td width=* id="div_menu_c3" align="right"></td></tr></table>'; |
---|
37 | |
---|
38 | var title_app = '<table height="16px" border=0 width=100% cellspacing=0 cellpadding=2>'+ |
---|
39 | '<tr>'+ |
---|
40 | '<td style="padding-left:17px" width=33% id="content_quota" align=left></td>'+ |
---|
41 | '<td class="divAppboxHeader" width=33% id="main_title">Expresso Mail</td>'+ |
---|
42 | '<td width=33% id="div_menu_c3" align=right></td>'+ |
---|
43 | '</tr></table>'; |
---|
44 | |
---|
45 | var divStatusBar = document.getElementById("divStatusBar"); |
---|
46 | var denyFileExtensions = new Array('exe','com','reg','chm','cnf','hta','ins','jse','job','lnk','pif','src','scf','sct','shb','vbe','vbs','wsc','wsf','wsh','cer','its','mau','','mda','mar','mdz','prf','pst'); |
---|
47 | var mobile_device = false; |
---|