[Hastymail-cvs] SF.net SVN: hastymail:[2044] trunk/hastymail2/js
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2012-02-07 14:08:45
|
Revision: 2044 http://hastymail.svn.sourceforge.net/hastymail/?rev=2044&view=rev Author: sailfrog Date: 2012-02-07 14:08:33 +0000 (Tue, 07 Feb 2012) Log Message: ----------- javascript fixes for IE Modified Paths: -------------- trunk/hastymail2/js/site-min.js trunk/hastymail2/js/site-min2.js trunk/hastymail2/js/site.js Modified: trunk/hastymail2/js/site-min.js =================================================================== --- trunk/hastymail2/js/site-min.js 2012-02-03 19:38:15 UTC (rev 2043) +++ trunk/hastymail2/js/site-min.js 2012-02-07 14:08:33 UTC (rev 2044) @@ -1 +1 @@ -eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([9r-wyzA-Z]|[12]\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('t 14=1000;t 15=null;t M=0;t C={};t 16=v;t 17=v;T.onbeforeunload=u(){16=E};u 18(a){s(disable_hl){y v}s(a.C){a.H.H.O=\'hl_row\'}A{a.H.H.O=\'normal_row\'}y v}u 19(a,b){s(9.r(\'P\')){D(\'<1o><b><i>\'+b+\'<\\/i><\\/b></1o>\',9.r("P"))}s(a){a.form.submit()}}u 1p(a){t b=0;s(9.r("1q")){b=9.r("1q").w}s(b==1){y confirm(a)}A{y E}}u expand_folder(a,b){s(!9.r(a)){s(9.r(b).F==\'-\'){9.r(b).F=\'+\';9.r(b).H.O=\'1r\'}A{9.r(b).F=\'-\';9.r(b).H.O=\'1s\'}y v}s(9.r(a).z.B==\'Q\'){9.r(a).z.B=\'I\';9.r(b).F=\'+\';9.r(b).H.O=\'1r\'}A{9.r(a).z.B=\'Q\';9.r(b).F=\'-\';9.r(b).H.O=\'1s\'}y v}u 1t(h,f){s(9.r("1u")){t g=9.r("1u").w}A{t g=v}s(9.r("show_pages")){t 1a=E}A{t 1a=v}19(v,update_notice);u j(a){t b=a.split(\'^^\'+g+\'^^\');s(b.1v==8){s(b[0]){D(b[0],9.r("new_page"));1b()}s(b[1]){D(b[1],9.r("dd_inner"))}s(b[2]){D(b[2],9.r("P"))}s(b[3]){D(b[3],9.r("unread_total"))}s(b[4]){t c=9.createElement("textarea");c.F=b[4];t d=c.w;9.title=d}s(b[5]){D(b[5],9.r("folder_outer"))}s(b[6]){D(b[6],9.r("mbx_inner"));1b()}s(b[7]){D(b[7],9.r("mailbox_title"))}}D(\'\',9.r(\'U\'))}17=E;x_ajax_update_page(v,h,g,f,V,do_folder_list,mailbox_page,sort_by,filter_by,1a,j)}u toggle_all(a,b,c){t d=0;t h=0;t f=0;t g=\'J\';s(c){g=c}s(a&&b){d=b;h=a}A{s(9.r("1c")){d=9.r("1c").w;h=1}}s(h&&d){W(f=h;f<=d;f++){s(9.r(g+f)){s(9.r(g+f).C){9.r(g+f).C=v}A{9.r(g+f).C=\'C\'}s(!c){1w(f)}}}}}u 1w(a){t b=9.r("J"+a).w;t c=9.r("J"+a).C;s(c){C[b]=9.r("1x-"+b+"").w}A{C[b]=v}18(9.r("J"+a))}u 1b(){t a=9.r("1c").w;t b;t c;t d;t h=\'\';W(1d in C){h+=1d+\' \'+C[1d]}W(N=1;N<a;N++){s(9.r("J"+N)){b=9.r("J"+N).w;d=9.r("1x-"+b+"").w;s(C[b]==d){9.r("J"+N).C=E;18(9.r("J"+N))}}}}u show_prev_next(a){s(9.r(a)){s(9.r(a).z.B==\'I\'){9.r(a).z.B="Q"}A{9.r(a).z.B="I"}}}u check_search_submit(a){s(a.keyCode==13||a.which==13){9.r("search_button").click();y v}A{y E}}u show_contacts(){s(9.r("X")){s(9.r("X").z.B==\'I\'){9.r("X").z.B=\'Q\';9.r("1y").w=1}A{9.r("X").z.B=\'I\';9.r("1y").w=0}}}u add_address(a){s(9.r(a)){s(9.r("1z")){t b=9.r("1z");t c;t d=9.r(a).w;while(b.K!=-1){c=b.Y[b.K].w;b.Y[b.K].selected=v;s(d){d=d+\', \'}d=d+c}9.r(a).w=d;b.K=-1}}}u 1A(){t b=v;t c=v;t d=v;t h=v;t f=v;t g=v;t j=v;t k=v;t l=v;t m=v;t n=v;t o=v;s(9.r("1B")){b=9.r("1B").w}s(9.r("1C")){d=9.r("1C").w}s(9.r("1D")){f=9.r("1D").w}s(9.r("compose_message")){c=get_compose_message()}s(!d&&!f&&!c&&!b){y}s(9.r("1E")){g=9.r("1E").w}s(9.r("1F")){h=9.r("1F").K}s(9.r("1G")){o=9.r("1G").w}s(9.r("1e")){j=9.r("1e").w}s(9.r("1H")){k=9.r("1H").w}s(9.r("1I")){l=9.r("1I").w}s(9.r("1J")){m=9.r("1J").K+1}s(9.r("1K")){n=9.r("1K").C}t p;s(9.r(\'P\')){p=9.r("P").F}u q(a){s(a){9.r("1e").w=a}9.r("P").F=p}19(v,\'Auto-saving message ...\');x_ajax_save_outgoing_message(v,b,c,d,f,h,j,k,l,m,n,o,g,q)}u D(a,b){s(b){b.F=a}y}u redirect_msg_controls(){t a=1f();t b=9.r("1g").1L;9.r("1g").1L=a;9.r("1g").onsubmit=1M(b,900,950,a);y E}u 1h(){M=M+1;s(1N&&M%1N==0){1A()}s(new_win){15=1O.1P("1h()",14);y}s((V&&M%V==0)||(M%update_delay==0&&1Q&&!V)){s(!17){1t(1Q,page_title);s(1i){W(i=0;i<1i.1v;i++){1j{T[1i[i]]()}1k(e){}}}}}s(16){1j{sajax_cancel()}1k(e){}y}15=1O.1P("1h()",14)}u reset_timer(){M=0}u get_contact_page(b){u c(a){D(a,9.r("compose_contacts"))}s(b){x_ajax_next_contacts(1,c)}A{x_ajax_prev_contacts(0,c)}}u 1l(a){x_ajax_save_folder_vis_state(v,a,v)}u hide_folder_list(){s(9.r("Z")){s(9.r("Z").z.B==\'I\'){9.r("Z").z.B=\'Q\';9.r("1R").z.B=\'I\';1l(0)}A{9.r("Z").z.B=\'I\';9.r("1R").z.B=\'inline\';1l(1)}}}u save_folder_state(a){x_ajax_save_folder_state(v,a,v);y v}u check_prev_next_del(a){t b=9.r(\'1S\').w;s(b==\'delete\'){y 1p(a)}A{y E}}u disable_destination(){t a=9.r(\'1S\');t b=a.Y[a.K].w;s(b==\'move\'||b==\'copy\'){9.r(\'1T\').1U=v}A{9.r(\'1T\').1U=E}}u autoAdjustIFrame(a){1j{s(a.S.10.11.indexOf(\'http\')!=-1){t b=a.S.9.body;t c=Math.max(b.offsetHeight,b.scrollHeight);c+=40;s(c>640){a.z.L="1W";a.z.L=c+"px"}A{s(a.S.9.1m){s(a.S.9.1m.1X){c=a.S.9.1m.1X(b,"").getPropertyValue("L")}}A{s(b.1Y["L"]){c=b.1Y["L"]}}c=c.G(/px$/,\'\');c=c*1+40;s(c<1Z){c=1Z}a.z.minHeight=c+"px";a.z.L="1W";a.z.L=c+"px"}y c}}1k(err){}}u 1M(a,b,c,d){s(!d){d=1f()}T.22(a,d,\'scrollbars=23,statusbar=no,resizable=23,width=\'+b+\',L=\'+c);y v}u refresh_parent(){s(R&&R.1n){R.1n()}y v}u 1n(){9.10.11=9.10.11;y v}u 24(a){s(R&&R.24){R.9.10.11=a}A{T.22(a,\'_0\',\'\')}}u check_full_mailbox(a){s(9.r("25")){t b=9.r("25");t c=b.Y[b.K].w;s(c==1){alert(a)}}}u send_message(a){s(9.r(\'U\')){9.r(\'U\').z.B=\'Q\';D(a,9.r("U"))}9.r(\'send_btn\').z.26=\'2a\';9.r(\'send_btn2\').z.26=\'2a\'}u 1f(){t a=new Date;y\'x\'+a.getTime()+\'x\'}u esc_sq(a){y a.G("\'","\\\'")}u esc_dq(a){y a.G(\'"\',\'\\"\')}u urlencode(a){y encodeURIComponent(a).G(/!/g,\'%21\').G(/\'/g,\'%27\').G(/\\(/g,\'%28\').G(/\\)/g,\'%29\').G(/\\*/g,\'%2A\').G(/\\+/,\'%20\')}',[],135,'|||||||||document||||||||||||||||||getElementById|if|var|function|false|value||return|style|else|display|checked|innerXHTML|true|innerHTML|replace|parentNode|none|message_|selectedIndex|height|secs|index|className|clock_div|block|opener|contentWindow|window|notices|do_new_page_refresh|for|contacts_select|options|folder_cell_inner|location|href|||delay|timerID|loading|reloading|highlight_row|display_notice|show_all|restore_checked_state|page_count|key|message_id|window_name|msg_controls_form1|start_timer|js_update_functions|try|catch|save_folder_vis_state|defaultView|refresh_self|div|hm_confirm|enable_delete_warning|folder|open_folder|update_page|page_id|length|save_checked_state|mailboxes|contacts_visible|contacts|autosave_message|compose_subject|compose_to|compose_cc|compose_content_type|compose_from|compose_session|compose_in_reply_to|compose_references|compose_priority|compose_mdn|target|open_window|c_autosave|self|setTimeout|do_folder_dropdown|show_folders|prev_next_action|prev_next_folder|disabled||auto|getComputedStyle|currentStyle|300|||open|yes|open_parent_window|full_mailbox|visibility||||hidden'.split('|'),0,{})) +eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('q 10=2a;q 11=2b;q J=0;q z={};q 12=s;q 14=s;Q.2c=r(){12=B};r 15(a){p(2d){t s}p(a.z){a.E.E.L=\'2e\'}w{a.E.E.L=\'2f\'}t s}r 16(a,b){p(9.o(\'M\')){A(\'<1l><b><i>\'+b+\'<\\/i><\\/b></1l>\',9.o("M"))}p(a){a.2g.2h()}}r 1m(a){q b=0;p(9.o("1n")){b=9.o("1n").u}p(b==1){t 2i(a)}w{t B}}r 2j(a,b){p(!9.o(a)){p(9.o(b).C==\'-\'){9.o(b).C=\'+\';9.o(b).E.L=\'1o\'}w{9.o(b).C=\'-\';9.o(b).E.L=\'1p\'}t s}p(9.o(a).v.y==\'N\'){9.o(a).v.y=\'F\';9.o(b).C=\'+\';9.o(b).E.L=\'1o\'}w{9.o(a).v.y=\'N\';9.o(b).C=\'-\';9.o(b).E.L=\'1p\'}t s}r 1q(e,f){p(9.o("1r")){q g=9.o("1r").u}w{q g=s}p(9.o("2k")){q h=B}w{q h=s}16(s,2l);r 1s(a){q b=a.2m(\'^^\'+g+\'^^\');p(b.1t==8){p(b[0]){A(b[0],9.o("2n"));17()}p(b[1]){A(b[1],9.o("2o"))}p(b[2]){A(b[2],9.o("M"))}p(b[3]){A(b[3],9.o("2p"))}p(b[4]){q c=9.2q("2r");c.C=b[4];q d=c.u;9.2s=d}p(b[5]){A(b[5],9.o("2t"))}p(b[6]){A(b[6],9.o("2u"));17()}p(b[7]){A(b[7],9.o("2v"))}}A(\'\',9.o(\'R\'))}14=B;2w(s,e,g,f,S,2x,2y,2z,2B,h,1s)}r 2C(a,b,c){q d=0;q e=0;q i=0;q f=\'G\';p(c){f=c}p(a&&b){d=b;e=a}w{p(9.o("18")){d=9.o("18").u;e=1}}p(e&&d){T(i=e;i<=d;i++){p(9.o(f+i)){p(9.o(f+i).z){9.o(f+i).z=s}w{9.o(f+i).z=\'z\'}p(!c){1u(i)}}}}}r 1u(a){q b=9.o("G"+a).u;q c=9.o("G"+a).z;p(c){z[b]=9.o("1v-"+b+"").u}w{z[b]=s}15(9.o("G"+a))}r 17(){q a=9.o("18").u;q b;q c;q d;q e=\'\';T(19 2D z){e+=19+\' \'+z[19]}T(K=1;K<a;K++){p(9.o("G"+K)){b=9.o("G"+K).u;d=9.o("1v-"+b+"").u;p(z[b]==d){9.o("G"+K).z=B;15(9.o("G"+K))}}}}r 2E(a){p(9.o(a)){p(9.o(a).v.y==\'F\'){9.o(a).v.y="N"}w{9.o(a).v.y="F"}}}r 2F(a){p(a.2G==13||a.2H==13){9.o("2I").2J();t s}w{t B}}r 2K(){p(9.o("U")){p(9.o("U").v.y==\'F\'){9.o("U").v.y=\'N\';9.o("1w").u=1}w{9.o("U").v.y=\'F\';9.o("1w").u=0}}}r 2L(a){p(9.o(a)){p(9.o("1x")){q b=9.o("1x");q c;q d=9.o(a).u;2M(b.H!=-1){c=b.V[b.H].u;b.V[b.H].2N=s;p(d){d=d+\', \'}d=d+c}9.o(a).u=d;b.H=-1}}}r 1y(){q b=s;q c=s;q d=s;q e=s;q f=s;q g=s;q h=s;q i=s;q j=s;q k=s;q l=s;q m=s;p(9.o("1z")){b=9.o("1z").u}p(9.o("1A")){d=9.o("1A").u}p(9.o("1B")){f=9.o("1B").u}p(9.o("2O")){c=2P()}p(!d&&!f&&!c&&!b){t}p(9.o("1C")){g=9.o("1C").u}p(9.o("1D")){e=9.o("1D").H}p(9.o("1E")){m=9.o("1E").u}p(9.o("1a")){h=9.o("1a").u}p(9.o("1F")){i=9.o("1F").u}p(9.o("1G")){j=9.o("1G").u}p(9.o("1H")){k=9.o("1H").H+1}p(9.o("1I")){l=9.o("1I").z}q n;p(9.o(\'M\')){n=9.o("M").C}r 1J(a){p(a){9.o("1a").u=a}9.o("M").C=n}16(s,\'2Q-2R 2S ...\');2T(s,b,c,d,f,e,h,i,j,k,l,m,g,1J)}r A(a,b){p(b){b.C=a}t}r 2U(){q a=1b();q b=9.o("1c").1K;9.o("1c").1K=a;9.o("1c").2V=1L(b,2W,2X,a);t B}r 1d(){J=J+1;p(1M&&J%1M==0){1y()}p(2Y){11=1N.1O("1d()",10);t}p((S&&J%S==0)||(J%2Z==0&&1P&&!S)){p(!14){1q(1P,30);p(1e){T(i=0;i<1e.1t;i++){1f{Q[1e[i]]()}1g(e){}}}}}p(12){1f{31()}1g(e){}t}11=1N.1O("1d()",10)}r 32(){J=0}r 33(b){r 1h(a){A(a,9.o("34"))}p(b){35(1,1h)}w{36(0,1h)}}r 1i(a){37(s,a,s)}r 38(){p(9.o("W")){p(9.o("W").v.y==\'F\'){9.o("W").v.y=\'N\';9.o("1Q").v.y=\'F\';1i(0)}w{9.o("W").v.y=\'F\';9.o("1Q").v.y=\'39\';1i(1)}}}r 3a(a){3b(s,a,s);t s}r 3c(a){q b=9.o(\'1R\').u;p(b==\'3d\'){t 1m(a)}w{t B}}r 3e(){q a=9.o(\'1R\');q b=a.V[a.H].u;p(b==\'3f\'||b==\'3g\'){9.o(\'1S\').1T=s}w{9.o(\'1S\').1T=B}}r 3h(a){1f{p(a.P.X.Y.3i(\'3j\')!=-1){q b=a.P.9.3k;q c=3l.3m(b.3n,b.3o);c+=1U;p(c>3p){a.v.I="1V";a.v.I=c+"Z"}w{p(a.P.9.1j){p(a.P.9.1j.1W){c=a.P.9.1j.1W(b,"").3q("I")}}w{p(b.1X["I"]){c=b.1X["I"]}}c=c.D(/Z$/,\'\');c=c*1+1U;p(c<1Y){c=1Y}a.v.3r=c+"Z";a.v.I="1V";a.v.I=c+"Z"}t c}}1g(3s){}}r 1L(a,b,c,d){p(!d){d=1b()}Q.1Z(a,d,\'3t=22,3u=3v,3w=22,3x=\'+b+\',I=\'+c);t s}r 3y(){p(O&&O.1k){O.1k()}t s}r 1k(){9.X.Y=9.X.Y;t s}r 23(a){p(O&&O.23){O.9.X.Y=a}w{Q.1Z(a,\'3z\',\'\')}}r 3A(a){p(9.o("24")){q b=9.o("24");q c=b.V[b.H].u;p(c==1){3B(a)}}}r 3C(a){p(9.o(\'R\')){9.o(\'R\').v.y=\'N\';A(a,9.o("R"))}9.o(\'3D\').v.25=\'26\';9.o(\'3E\').v.25=\'26\'}r 1b(){q a=3F 3G;t\'x\'+a.3H()+\'x\'}r 3I(a){p(a){t a.D("\'","\\\'")}w{t\'\'}}r 3J(a){p(a){t a.D(\'"\',\'\\"\')}w{t\'\'}}r 3K(a){t 3L(a).D(/!/g,\'%21\').D(/\'/g,\'%27\').D(/\\(/g,\'%28\').D(/\\)/g,\'%29\').D(/\\*/g,\'%2A\').D(/\\+/,\'%20\')}',62,234,'|||||||||document|||||||||||||||getElementById|if|var|function|false|return|value|style|else||display|checked|innerXHTML|true|innerHTML|replace|parentNode|none|message_|selectedIndex|height|secs|index|className|clock_div|block|opener|contentWindow|window|notices|do_new_page_refresh|for|contacts_select|options|folder_cell_inner|location|href|px|delay|timerID|loading||reloading|highlight_row|display_notice|restore_checked_state|page_count|key|message_id|window_name|msg_controls_form1|start_timer|js_update_functions|try|catch|contact_page_callback|save_folder_vis_state|defaultView|refresh_self|div|hm_confirm|enable_delete_warning|folder|open_folder|update_page|page_id|update_page_callback|length|save_checked_state|mailboxes|contacts_visible|contacts|autosave_message|compose_subject|compose_to|compose_cc|compose_content_type|compose_from|compose_session|compose_in_reply_to|compose_references|compose_priority|compose_mdn|autosave_callback|target|open_window|c_autosave|self|setTimeout|do_folder_dropdown|show_folders|prev_next_action|prev_next_folder|disabled|40|auto|getComputedStyle|currentStyle|300|open|||yes|open_parent_window|full_mailbox|visibility|hidden||||1000|null|onbeforeunload|disable_hl|hl_row|normal_row|form|submit|confirm|expand_folder|show_pages|update_notice|split|new_page|dd_inner|unread_total|createElement|textarea|title|folder_outer|mbx_inner|mailbox_title|x_ajax_update_page|do_folder_list|mailbox_page|sort_by||filter_by|toggle_all|in|show_prev_next|check_search_submit|keyCode|which|search_button|click|show_contacts|add_address|while|selected|compose_message|get_compose_message|Auto|saving|message|x_ajax_save_outgoing_message|redirect_msg_controls|onsubmit|900|950|new_win|update_delay|page_title|sajax_cancel|reset_timer|get_contact_page|compose_contacts|x_ajax_next_contacts|x_ajax_prev_contacts|x_ajax_save_folder_vis_state|hide_folder_list|inline|save_folder_state|x_ajax_save_folder_state|check_prev_next_del|delete|disable_destination|move|copy|autoAdjustIFrame|indexOf|http|body|Math|max|offsetHeight|scrollHeight|640|getPropertyValue|minHeight|err|scrollbars|statusbar|no|resizable|width|refresh_parent|_blank|check_full_mailbox|alert|send_message|send_btn|send_btn2|new|Date|getTime|esc_sq|esc_dq|urlencode|encodeURIComponent'.split('|'),0,{})) Modified: trunk/hastymail2/js/site-min2.js =================================================================== --- trunk/hastymail2/js/site-min2.js 2012-02-03 19:38:15 UTC (rev 2043) +++ trunk/hastymail2/js/site-min2.js 2012-02-07 14:08:33 UTC (rev 2044) @@ -1 +1 @@ -var sajax_request_type="POST";var sajax_target_id="";var sajax_failure_redirect="";function sajax_init_object(){var A;var _3=new Array("Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(var i=0;i<_3.length;i++){try{A=new ActiveXObject(_3[i]);}catch(e){A=null;}}if(!A&&typeof XMLHttpRequest!="undefined"){A=new XMLHttpRequest();}if(!A){}return A;}var sajax_requests=new Array();function sajax_cancel(){for(var i=0;i<sajax_requests.length;i++){sajax_requests[i].abort();}reloading=false;}function sajax_do_call(_6,_7){var i,x,n;var _9;var _a;var _b;_b=sajax_target_id;if(typeof (sajax_request_type)=="undefined"||sajax_request_type==""){sajax_request_type="GET";}_9="";if(sajax_request_type=="GET"){if(_9.indexOf("?")==-1){_9+="?rs="+escape(_6);}else{_9+="&rs="+escape(_6);}if (document.getElementById("sid")){_9+="&PHPSESSID="+document.getElementById("sid").value;}_9+="&rst="+escape(sajax_target_id);_9+="&rsrnd="+new Date().getTime();for(i=0;i<_7.length-1;i++){_9+="&rsargs[]="+escape(_7[i]);}_a=null;}else{if(sajax_request_type=="POST"){_a="rs="+escape(_6);_a+="&rst="+escape(sajax_target_id);if (document.getElementById("sid")){_a+="&PHPSESSID="+document.getElementById("sid").value;}_a+="&rsrnd="+new Date().getTime();for(i=0;i<_7.length-1;i++){_a=_a+"&rsargs[]="+escape(_7[i]);}}}x=sajax_init_object();if(x==null){if(sajax_failure_redirect!=""){location.href=sajax_failure_redirect;return false;}else{return false;}}else{x.open(sajax_request_type,'index.php',true);sajax_requests[sajax_requests.length]=x;if(sajax_request_type=="POST"){x.setRequestHeader("Method","POST "+_9+" HTTP/1.1");x.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");}x.onreadystatechange=function(){if(x.readyState!=4){return;};reloading=false;var _c;var _d;var _e=x.responseText.replace(/^\s*|\s*$/g,"");_c=_e.charAt(0);_d=_e.substring(2);if(_c==""){}else{if(_c=="-"){}else{if(_b!=""){document.getElementById(_b).innerHTML=eval(_d);}else{try{var _f;var _10=false;if(typeof _7[_7.length-1]=="object"){_f=_7[_7.length-1].callback;_10=_7[_7.length-1].extra_data;}else{_f=_7[_7.length-1];}_f(eval(_d),_10);}catch(e){}}}}};}x.send(_a);delete x;return true;}function x_ajax_update_page(){sajax_do_call("ajax_update_page",x_ajax_update_page.arguments);}function x_ajax_save_outgoing_message(){sajax_do_call("ajax_save_outgoing_message",x_ajax_save_outgoing_message.arguments);}function x_ajax_prev_contacts(){sajax_do_call("ajax_prev_contacts",x_ajax_prev_contacts.arguments);}function x_ajax_next_contacts(){sajax_do_call("ajax_next_contacts",x_ajax_next_contacts.arguments);}function x_ajax_save_folder_state(){sajax_do_call("ajax_save_folder_state",x_ajax_save_folder_state.arguments);}function x_ajax_save_folder_vis_state(){sajax_do_call("ajax_save_folder_vis_state",x_ajax_save_folder_vis_state.arguments);}/* split */eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([9r-wyzA-Z]|[12]\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('t 14=1000;t 15=null;t M=0;t C={};t 16=v;t 17=v;T.onbeforeunload=u(){16=E};u 18(a){s(disable_hl){y v}s(a.C){a.H.H.O=\'hl_row\'}A{a.H.H.O=\'normal_row\'}y v}u 19(a,b){s(9.r(\'P\')){D(\'<1o><b><i>\'+b+\'<\\/i><\\/b></1o>\',9.r("P"))}s(a){a.form.submit()}}u 1p(a){t b=0;s(9.r("1q")){b=9.r("1q").w}s(b==1){y confirm(a)}A{y E}}u expand_folder(a,b){s(!9.r(a)){s(9.r(b).F==\'-\'){9.r(b).F=\'+\';9.r(b).H.O=\'1r\'}A{9.r(b).F=\'-\';9.r(b).H.O=\'1s\'}y v}s(9.r(a).z.B==\'Q\'){9.r(a).z.B=\'I\';9.r(b).F=\'+\';9.r(b).H.O=\'1r\'}A{9.r(a).z.B=\'Q\';9.r(b).F=\'-\';9.r(b).H.O=\'1s\'}y v}u 1t(h,f){s(9.r("1u")){t g=9.r("1u").w}A{t g=v}s(9.r("show_pages")){t 1a=E}A{t 1a=v}19(v,update_notice);u j(a){t b=a.split(\'^^\'+g+\'^^\');s(b.1v==8){s(b[0]){D(b[0],9.r("new_page"));1b()}s(b[1]){D(b[1],9.r("dd_inner"))}s(b[2]){D(b[2],9.r("P"))}s(b[3]){D(b[3],9.r("unread_total"))}s(b[4]){t c=9.createElement("textarea");c.F=b[4];t d=c.w;9.title=d}s(b[5]){D(b[5],9.r("folder_outer"))}s(b[6]){D(b[6],9.r("mbx_inner"));1b()}s(b[7]){D(b[7],9.r("mailbox_title"))}}D(\'\',9.r(\'U\'))}17=E;x_ajax_update_page(v,h,g,f,V,do_folder_list,mailbox_page,sort_by,filter_by,1a,j)}u toggle_all(a,b,c){t d=0;t h=0;t f=0;t g=\'J\';s(c){g=c}s(a&&b){d=b;h=a}A{s(9.r("1c")){d=9.r("1c").w;h=1}}s(h&&d){W(f=h;f<=d;f++){s(9.r(g+f)){s(9.r(g+f).C){9.r(g+f).C=v}A{9.r(g+f).C=\'C\'}s(!c){1w(f)}}}}}u 1w(a){t b=9.r("J"+a).w;t c=9.r("J"+a).C;s(c){C[b]=9.r("1x-"+b+"").w}A{C[b]=v}18(9.r("J"+a))}u 1b(){t a=9.r("1c").w;t b;t c;t d;t h=\'\';W(1d in C){h+=1d+\' \'+C[1d]}W(N=1;N<a;N++){s(9.r("J"+N)){b=9.r("J"+N).w;d=9.r("1x-"+b+"").w;s(C[b]==d){9.r("J"+N).C=E;18(9.r("J"+N))}}}}u show_prev_next(a){s(9.r(a)){s(9.r(a).z.B==\'I\'){9.r(a).z.B="Q"}A{9.r(a).z.B="I"}}}u check_search_submit(a){s(a.keyCode==13||a.which==13){9.r("search_button").click();y v}A{y E}}u show_contacts(){s(9.r("X")){s(9.r("X").z.B==\'I\'){9.r("X").z.B=\'Q\';9.r("1y").w=1}A{9.r("X").z.B=\'I\';9.r("1y").w=0}}}u add_address(a){s(9.r(a)){s(9.r("1z")){t b=9.r("1z");t c;t d=9.r(a).w;while(b.K!=-1){c=b.Y[b.K].w;b.Y[b.K].selected=v;s(d){d=d+\', \'}d=d+c}9.r(a).w=d;b.K=-1}}}u 1A(){t b=v;t c=v;t d=v;t h=v;t f=v;t g=v;t j=v;t k=v;t l=v;t m=v;t n=v;t o=v;s(9.r("1B")){b=9.r("1B").w}s(9.r("1C")){d=9.r("1C").w}s(9.r("1D")){f=9.r("1D").w}s(9.r("compose_message")){c=get_compose_message()}s(!d&&!f&&!c&&!b){y}s(9.r("1E")){g=9.r("1E").w}s(9.r("1F")){h=9.r("1F").K}s(9.r("1G")){o=9.r("1G").w}s(9.r("1e")){j=9.r("1e").w}s(9.r("1H")){k=9.r("1H").w}s(9.r("1I")){l=9.r("1I").w}s(9.r("1J")){m=9.r("1J").K+1}s(9.r("1K")){n=9.r("1K").C}t p;s(9.r(\'P\')){p=9.r("P").F}u q(a){s(a){9.r("1e").w=a}9.r("P").F=p}19(v,\'Auto-saving message ...\');x_ajax_save_outgoing_message(v,b,c,d,f,h,j,k,l,m,n,o,g,q)}u D(a,b){s(b){b.F=a}y}u redirect_msg_controls(){t a=1f();t b=9.r("1g").1L;9.r("1g").1L=a;9.r("1g").onsubmit=1M(b,900,950,a);y E}u 1h(){M=M+1;s(1N&&M%1N==0){1A()}s(new_win){15=1O.1P("1h()",14);y}s((V&&M%V==0)||(M%update_delay==0&&1Q&&!V)){s(!17){1t(1Q,page_title);s(1i){W(i=0;i<1i.1v;i++){1j{T[1i[i]]()}1k(e){}}}}}s(16){1j{sajax_cancel()}1k(e){}y}15=1O.1P("1h()",14)}u reset_timer(){M=0}u get_contact_page(b){u c(a){D(a,9.r("compose_contacts"))}s(b){x_ajax_next_contacts(1,c)}A{x_ajax_prev_contacts(0,c)}}u 1l(a){x_ajax_save_folder_vis_state(v,a,v)}u hide_folder_list(){s(9.r("Z")){s(9.r("Z").z.B==\'I\'){9.r("Z").z.B=\'Q\';9.r("1R").z.B=\'I\';1l(0)}A{9.r("Z").z.B=\'I\';9.r("1R").z.B=\'inline\';1l(1)}}}u save_folder_state(a){x_ajax_save_folder_state(v,a,v);y v}u check_prev_next_del(a){t b=9.r(\'1S\').w;s(b==\'delete\'){y 1p(a)}A{y E}}u disable_destination(){t a=9.r(\'1S\');t b=a.Y[a.K].w;s(b==\'move\'||b==\'copy\'){9.r(\'1T\').1U=v}A{9.r(\'1T\').1U=E}}u autoAdjustIFrame(a){1j{s(a.S.10.11.indexOf(\'http\')!=-1){t b=a.S.9.body;t c=Math.max(b.offsetHeight,b.scrollHeight);c+=40;s(c>640){a.z.L="1W";a.z.L=c+"px"}A{s(a.S.9.1m){s(a.S.9.1m.1X){c=a.S.9.1m.1X(b,"").getPropertyValue("L")}}A{s(b.1Y["L"]){c=b.1Y["L"]}}c=c.G(/px$/,\'\');c=c*1+40;s(c<1Z){c=1Z}a.z.minHeight=c+"px";a.z.L="1W";a.z.L=c+"px"}y c}}1k(err){}}u 1M(a,b,c,d){s(!d){d=1f()}T.22(a,d,\'scrollbars=23,statusbar=no,resizable=23,width=\'+b+\',L=\'+c);y v}u refresh_parent(){s(R&&R.1n){R.1n()}y v}u 1n(){9.10.11=9.10.11;y v}u 24(a){s(R&&R.24){R.9.10.11=a}A{T.22(a,\'_0\',\'\')}}u check_full_mailbox(a){s(9.r("25")){t b=9.r("25");t c=b.Y[b.K].w;s(c==1){alert(a)}}}u send_message(a){s(9.r(\'U\')){9.r(\'U\').z.B=\'Q\';D(a,9.r("U"))}9.r(\'send_btn\').z.26=\'2a\';9.r(\'send_btn2\').z.26=\'2a\'}u 1f(){t a=new Date;y\'x\'+a.getTime()+\'x\'}u esc_sq(a){y a.G("\'","\\\'")}u esc_dq(a){y a.G(\'"\',\'\\"\')}u urlencode(a){y encodeURIComponent(a).G(/!/g,\'%21\').G(/\'/g,\'%27\').G(/\\(/g,\'%28\').G(/\\)/g,\'%29\').G(/\\*/g,\'%2A\').G(/\\+/,\'%20\')}',[],135,'|||||||||document||||||||||||||||||getElementById|if|var|function|false|value||return|style|else|display|checked|innerXHTML|true|innerHTML|replace|parentNode|none|message_|selectedIndex|height|secs|index|className|clock_div|block|opener|contentWindow|window|notices|do_new_page_refresh|for|contacts_select|options|folder_cell_inner|location|href|||delay|timerID|loading|reloading|highlight_row|display_notice|show_all|restore_checked_state|page_count|key|message_id|window_name|msg_controls_form1|start_timer|js_update_functions|try|catch|save_folder_vis_state|defaultView|refresh_self|div|hm_confirm|enable_delete_warning|folder|open_folder|update_page|page_id|length|save_checked_state|mailboxes|contacts_visible|contacts|autosave_message|compose_subject|compose_to|compose_cc|compose_content_type|compose_from|compose_session|compose_in_reply_to|compose_references|compose_priority|compose_mdn|target|open_window|c_autosave|self|setTimeout|do_folder_dropdown|show_folders|prev_next_action|prev_next_folder|disabled||auto|getComputedStyle|currentStyle|300|||open|yes|open_parent_window|full_mailbox|visibility||||hidden'.split('|'),0,{})) +var sajax_request_type="POST";var sajax_target_id="";var sajax_failure_redirect="";function sajax_init_object(){var A;var _3=new Array("Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(var i=0;i<_3.length;i++){try{A=new ActiveXObject(_3[i]);}catch(e){A=null;}}if(!A&&typeof XMLHttpRequest!="undefined"){A=new XMLHttpRequest();}if(!A){}return A;}var sajax_requests=new Array();function sajax_cancel(){for(var i=0;i<sajax_requests.length;i++){sajax_requests[i].abort();}reloading=false;}function sajax_do_call(_6,_7){var i,x,n;var _9;var _a;var _b;_b=sajax_target_id;if(typeof (sajax_request_type)=="undefined"||sajax_request_type==""){sajax_request_type="GET";}_9="";if(sajax_request_type=="GET"){if(_9.indexOf("?")==-1){_9+="?rs="+escape(_6);}else{_9+="&rs="+escape(_6);}if (document.getElementById("sid")){_9+="&PHPSESSID="+document.getElementById("sid").value;}_9+="&rst="+escape(sajax_target_id);_9+="&rsrnd="+new Date().getTime();for(i=0;i<_7.length-1;i++){_9+="&rsargs[]="+escape(_7[i]);}_a=null;}else{if(sajax_request_type=="POST"){_a="rs="+escape(_6);_a+="&rst="+escape(sajax_target_id);if (document.getElementById("sid")){_a+="&PHPSESSID="+document.getElementById("sid").value;}_a+="&rsrnd="+new Date().getTime();for(i=0;i<_7.length-1;i++){_a=_a+"&rsargs[]="+escape(_7[i]);}}}x=sajax_init_object();if(x==null){if(sajax_failure_redirect!=""){location.href=sajax_failure_redirect;return false;}else{return false;}}else{x.open(sajax_request_type,'index.php',true);sajax_requests[sajax_requests.length]=x;if(sajax_request_type=="POST"){x.setRequestHeader("Method","POST "+_9+" HTTP/1.1");x.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");}x.onreadystatechange=function(){if(x.readyState!=4){return;};reloading=false;var _c;var _d;var _e=x.responseText.replace(/^\s*|\s*$/g,"");_c=_e.charAt(0);_d=_e.substring(2);if(_c==""){}else{if(_c=="-"){}else{if(_b!=""){document.getElementById(_b).innerHTML=eval(_d);}else{try{var _f;var _10=false;if(typeof _7[_7.length-1]=="object"){_f=_7[_7.length-1].callback;_10=_7[_7.length-1].extra_data;}else{_f=_7[_7.length-1];}_f(eval(_d),_10);}catch(e){}}}}};}x.send(_a);delete x;return true;}function x_ajax_update_page(){sajax_do_call("ajax_update_page",x_ajax_update_page.arguments);}function x_ajax_save_outgoing_message(){sajax_do_call("ajax_save_outgoing_message",x_ajax_save_outgoing_message.arguments);}function x_ajax_prev_contacts(){sajax_do_call("ajax_prev_contacts",x_ajax_prev_contacts.arguments);}function x_ajax_next_contacts(){sajax_do_call("ajax_next_contacts",x_ajax_next_contacts.arguments);}function x_ajax_save_folder_state(){sajax_do_call("ajax_save_folder_state",x_ajax_save_folder_state.arguments);}function x_ajax_save_folder_vis_state(){sajax_do_call("ajax_save_folder_vis_state",x_ajax_save_folder_vis_state.arguments);}/* split */ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('q 10=2a;q 11=2b;q J=0;q z={};q 12=s;q 14=s;Q.2c=r(){12=B};r 15(a){p(2d){t s}p(a.z){a.E.E.L=\'2e\'}w{a.E.E.L=\'2f\'}t s}r 16(a,b){p(9.o(\'M\')){A(\'<1l><b><i>\'+b+\'<\\/i><\\/b></1l>\',9.o("M"))}p(a){a.2g.2h()}}r 1m(a){q b=0;p(9.o("1n")){b=9.o("1n").u}p(b==1){t 2i(a)}w{t B}}r 2j(a,b){p(!9.o(a)){p(9.o(b).C==\'-\'){9.o(b).C=\'+\';9.o(b).E.L=\'1o\'}w{9.o(b).C=\'-\';9.o(b).E.L=\'1p\'}t s}p(9.o(a).v.y==\'N\'){9.o(a).v.y=\'F\';9.o(b).C=\'+\';9.o(b).E.L=\'1o\'}w{9.o(a).v.y=\'N\';9.o(b).C=\'-\';9.o(b).E.L=\'1p\'}t s}r 1q(e,f){p(9.o("1r")){q g=9.o("1r").u}w{q g=s}p(9.o("2k")){q h=B}w{q h=s}16(s,2l);r 1s(a){q b=a.2m(\'^^\'+g+\'^^\');p(b.1t==8){p(b[0]){A(b[0],9.o("2n"));17()}p(b[1]){A(b[1],9.o("2o"))}p(b[2]){A(b[2],9.o("M"))}p(b[3]){A(b[3],9.o("2p"))}p(b[4]){q c=9.2q("2r");c.C=b[4];q d=c.u;9.2s=d}p(b[5]){A(b[5],9.o("2t"))}p(b[6]){A(b[6],9.o("2u"));17()}p(b[7]){A(b[7],9.o("2v"))}}A(\'\',9.o(\'R\'))}14=B;2w(s,e,g,f,S,2x,2y,2z,2B,h,1s)}r 2C(a,b,c){q d=0;q e=0;q i=0;q f=\'G\';p(c){f=c}p(a&&b){d=b;e=a}w{p(9.o("18")){d=9.o("18").u;e=1}}p(e&&d){T(i=e;i<=d;i++){p(9.o(f+i)){p(9.o(f+i).z){9.o(f+i).z=s}w{9.o(f+i).z=\'z\'}p(!c){1u(i)}}}}}r 1u(a){q b=9.o("G"+a).u;q c=9.o("G"+a).z;p(c){z[b]=9.o("1v-"+b+"").u}w{z[b]=s}15(9.o("G"+a))}r 17(){q a=9.o("18").u;q b;q c;q d;q e=\'\';T(19 2D z){e+=19+\' \'+z[19]}T(K=1;K<a;K++){p(9.o("G"+K)){b=9.o("G"+K).u;d=9.o("1v-"+b+"").u;p(z[b]==d){9.o("G"+K).z=B;15(9.o("G"+K))}}}}r 2E(a){p(9.o(a)){p(9.o(a).v.y==\'F\'){9.o(a).v.y="N"}w{9.o(a).v.y="F"}}}r 2F(a){p(a.2G==13||a.2H==13){9.o("2I").2J();t s}w{t B}}r 2K(){p(9.o("U")){p(9.o("U").v.y==\'F\'){9.o("U").v.y=\'N\';9.o("1w").u=1}w{9.o("U").v.y=\'F\';9.o("1w").u=0}}}r 2L(a){p(9.o(a)){p(9.o("1x")){q b=9.o("1x");q c;q d=9.o(a).u;2M(b.H!=-1){c=b.V[b.H].u;b.V[b.H].2N=s;p(d){d=d+\', \'}d=d+c}9.o(a).u=d;b.H=-1}}}r 1y(){q b=s;q c=s;q d=s;q e=s;q f=s;q g=s;q h=s;q i=s;q j=s;q k=s;q l=s;q m=s;p(9.o("1z")){b=9.o("1z").u}p(9.o("1A")){d=9.o("1A").u}p(9.o("1B")){f=9.o("1B").u}p(9.o("2O")){c=2P()}p(!d&&!f&&!c&&!b){t}p(9.o("1C")){g=9.o("1C").u}p(9.o("1D")){e=9.o("1D").H}p(9.o("1E")){m=9.o("1E").u}p(9.o("1a")){h=9.o("1a").u}p(9.o("1F")){i=9.o("1F").u}p(9.o("1G")){j=9.o("1G").u}p(9.o("1H")){k=9.o("1H").H+1}p(9.o("1I")){l=9.o("1I").z}q n;p(9.o(\'M\')){n=9.o("M").C}r 1J(a){p(a){9.o("1a").u=a}9.o("M").C=n}16(s,\'2Q-2R 2S ...\');2T(s,b,c,d,f,e,h,i,j,k,l,m,g,1J)}r A(a,b){p(b){b.C=a}t}r 2U(){q a=1b();q b=9.o("1c").1K;9.o("1c").1K=a;9.o("1c").2V=1L(b,2W,2X,a);t B}r 1d(){J=J+1;p(1M&&J%1M==0){1y()}p(2Y){11=1N.1O("1d()",10);t}p((S&&J%S==0)||(J%2Z==0&&1P&&!S)){p(!14){1q(1P,30);p(1e){T(i=0;i<1e.1t;i++){1f{Q[1e[i]]()}1g(e){}}}}}p(12){1f{31()}1g(e){}t}11=1N.1O("1d()",10)}r 32(){J=0}r 33(b){r 1h(a){A(a,9.o("34"))}p(b){35(1,1h)}w{36(0,1h)}}r 1i(a){37(s,a,s)}r 38(){p(9.o("W")){p(9.o("W").v.y==\'F\'){9.o("W").v.y=\'N\';9.o("1Q").v.y=\'F\';1i(0)}w{9.o("W").v.y=\'F\';9.o("1Q").v.y=\'39\';1i(1)}}}r 3a(a){3b(s,a,s);t s}r 3c(a){q b=9.o(\'1R\').u;p(b==\'3d\'){t 1m(a)}w{t B}}r 3e(){q a=9.o(\'1R\');q b=a.V[a.H].u;p(b==\'3f\'||b==\'3g\'){9.o(\'1S\').1T=s}w{9.o(\'1S\').1T=B}}r 3h(a){1f{p(a.P.X.Y.3i(\'3j\')!=-1){q b=a.P.9.3k;q c=3l.3m(b.3n,b.3o);c+=1U;p(c>3p){a.v.I="1V";a.v.I=c+"Z"}w{p(a.P.9.1j){p(a.P.9.1j.1W){c=a.P.9.1j.1W(b,"").3q("I")}}w{p(b.1X["I"]){c=b.1X["I"]}}c=c.D(/Z$/,\'\');c=c*1+1U;p(c<1Y){c=1Y}a.v.3r=c+"Z";a.v.I="1V";a.v.I=c+"Z"}t c}}1g(3s){}}r 1L(a,b,c,d){p(!d){d=1b()}Q.1Z(a,d,\'3t=22,3u=3v,3w=22,3x=\'+b+\',I=\'+c);t s}r 3y(){p(O&&O.1k){O.1k()}t s}r 1k(){9.X.Y=9.X.Y;t s}r 23(a){p(O&&O.23){O.9.X.Y=a}w{Q.1Z(a,\'3z\',\'\')}}r 3A(a){p(9.o("24")){q b=9.o("24");q c=b.V[b.H].u;p(c==1){3B(a)}}}r 3C(a){p(9.o(\'R\')){9.o(\'R\').v.y=\'N\';A(a,9.o("R"))}9.o(\'3D\').v.25=\'26\';9.o(\'3E\').v.25=\'26\'}r 1b(){q a=3F 3G;t\'x\'+a.3H()+\'x\'}r 3I(a){p(a){t a.D("\'","\\\'")}w{t\'\'}}r 3J(a){p(a){t a.D(\'"\',\'\\"\')}w{t\'\'}}r 3K(a){t 3L(a).D(/!/g,\'%21\').D(/\'/g,\'%27\').D(/\\(/g,\'%28\').D(/\\)/g,\'%29\').D(/\\*/g,\'%2A\').D(/\\+/,\'%20\')}',62,234,'|||||||||document|||||||||||||||getElementById|if|var|function|false|return|value|style|else||display|checked|innerXHTML|true|innerHTML|replace|parentNode|none|message_|selectedIndex|height|secs|index|className|clock_div|block|opener|contentWindow|window|notices|do_new_page_refresh|for|contacts_select|options|folder_cell_inner|location|href|px|delay|timerID|loading||reloading|highlight_row|display_notice|restore_checked_state|page_count|key|message_id|window_name|msg_controls_form1|start_timer|js_update_functions|try|catch|contact_page_callback|save_folder_vis_state|defaultView|refresh_self|div|hm_confirm|enable_delete_warning|folder|open_folder|update_page|page_id|update_page_callback|length|save_checked_state|mailboxes|contacts_visible|contacts|autosave_message|compose_subject|compose_to|compose_cc|compose_content_type|compose_from|compose_session|compose_in_reply_to|compose_references|compose_priority|compose_mdn|autosave_callback|target|open_window|c_autosave|self|setTimeout|do_folder_dropdown|show_folders|prev_next_action|prev_next_folder|disabled|40|auto|getComputedStyle|currentStyle|300|open|||yes|open_parent_window|full_mailbox|visibility|hidden||||1000|null|onbeforeunload|disable_hl|hl_row|normal_row|form|submit|confirm|expand_folder|show_pages|update_notice|split|new_page|dd_inner|unread_total|createElement|textarea|title|folder_outer|mbx_inner|mailbox_title|x_ajax_update_page|do_folder_list|mailbox_page|sort_by||filter_by|toggle_all|in|show_prev_next|check_search_submit|keyCode|which|search_button|click|show_contacts|add_address|while|selected|compose_message|get_compose_message|Auto|saving|message|x_ajax_save_outgoing_message|redirect_msg_controls|onsubmit|900|950|new_win|update_delay|page_title|sajax_cancel|reset_timer|get_contact_page|compose_contacts|x_ajax_next_contacts|x_ajax_prev_contacts|x_ajax_save_folder_vis_state|hide_folder_list|inline|save_folder_state|x_ajax_save_folder_state|check_prev_next_del|delete|disable_destination|move|copy|autoAdjustIFrame|indexOf|http|body|Math|max|offsetHeight|scrollHeight|640|getPropertyValue|minHeight|err|scrollbars|statusbar|no|resizable|width|refresh_parent|_blank|check_full_mailbox|alert|send_message|send_btn|send_btn2|new|Date|getTime|esc_sq|esc_dq|urlencode|encodeURIComponent'.split('|'),0,{})) Modified: trunk/hastymail2/js/site.js =================================================================== --- trunk/hastymail2/js/site.js 2012-02-03 19:38:15 UTC (rev 2043) +++ trunk/hastymail2/js/site.js 2012-02-07 14:08:33 UTC (rev 2044) @@ -479,10 +479,20 @@ return 'x' + newDate.getTime() + 'x'; } function esc_sq(str) { - return str.replace("'", "\'"); + if (str) { + return str.replace("'", "\'"); + } + else { + return ''; + } } function esc_dq(str) { - return str.replace('"', '\"'); + if (str) { + return str.replace('"', '\"'); + } + else { + return ''; + } } function urlencode(str) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |