/*
>--------------------------------------------------------------------------------<
| CREDITS INFORMATION															 |
>--------------------------------------------------------------------------------<
| Created By: Benny McLennan													 |
| File Name: mainAJAX.js														 |
| File Location: javascripts/ajax												 |
| Generic Description: All mainly used AJAX methods for the BMF Generic Framework|
| Date Created: May 20th 2009													 |
| Date Edited: N/A																 |
| Copyright: © Army Roster 2008 - 2009											 |
>--------------------------------------------------------------------------------<
| Website: http://www.armyroster.com											 |
| Website Restriction: Level 0 													 |
| Important Notes: Required on every page of the website. Website runs off AJAX  |
| Date Installed: May 27th 2009	 												 |
| Date Modified: N/A															 |
|																				 |
| Notes: If you wish to use this script, please feel free. No permission is 	 |
|        required. We would, however, like a brief email notifying us of your use|
| 		 of our script(s). 														 |
| 						 														 |
|		 Thank you,																 |
|		 Benny																	 |
>--------------------------------------------------------------------------------<
*/
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}('8 G=z;8 1I=2;C 2Y(a){6($("5.#"+a).7()==\'z\'){$("5.#"+a).7("E")}x{$("5.#"+a).7("z")}}C 1J(){$(\'#1K\').1m(\'26\');$(\'#1K\').1m(\'27\');$("#1K").1m({28:E,29:z,2a:z,2b:E,2c:2d,2e:z,})}C 2Z(){6(($("5.#1n").7()=="")||($("5.#1n").7()=="1n")||($("5.#1n").7()=="1t 2f")){G=E;8 c="1t 2f<K />"}x{8 c="";8 d=$("5.#1n").7()}6(($("5.#10").7()=="")||($("5.#10").7()=="10")||($("5.#10").7()=="1t U")){G=E;8 e="1t U<K />"}x{8 e="";8 f=$("5.#10").7()}6($("5.#1I").7()==\'z\'){8 g=1}x{8 g=2}6(G==z){$.D({W:X(),S:"T",P:"L/1e/D/30.M.O",V:"1n="+d+"&10="+f+"&1I="+g,1o:C(){1J()},Q:C(b){6(b==2g){$.D({W:X(),S:"T",P:"L/1e/D/31.M.O",1o:C(){1J()},Q:C(a){$("#2h").B(a);2i()}})}x{$("#2j").B("<9 y=\\"R\\">"+b+"</9>");H()}}})}x{G=z;$("#2j").B("<9 y=\\"R\\">".32(c,e)+"</9>")}}C 2k(){$.D({S:"T",P:"L/1e/D/33.M.O",V:"1L=1",Q:C(a){$("#2h").B(a)}});$.D({S:"T",P:"L/1e/D/34.M.O",V:"1L=1",Q:C(a){$("#35").B(a)}});$.D({S:"T",P:"L/1e/D/36.M.O",V:"1L=1",Q:C(a){$("#37").B(a)}});H()}C 38(b,c){6(b>0){}x{G=E}6(G==z){$.D({W:X(),S:"T",P:"L/16/D/39.M.O",V:"1C="+J(b),Q:C(a){$(\'#1u\').1m(\'26\');$("#1u").B(a);$("#1u").17("2l","&1v;&1v;&1v;&1v;&1v;3a 3b - "+c);$(\'#1u\').1m(\'27\');$("#1u").1m({28:E,29:z,2a:z,2b:E,2c:2d,2e:E,});H()}})}x{G=z}}C 3c(b,c){6($("1M.#1N").7().1O>1P){G=E;$("#2m").B("2n 1O 1Q 1P 2o <9 y=\\"R\\">1D 2p 1f 3d 3e.</9>")}x{6($("1M.#1N").7()===""){G=E;$("#2m").B("2n 1O 1Q 1P 2o <9 y=\\"R\\">1g 1w 1p a 2p.</9>")}x{8 d=$("1M.#1N").7()}}6(G==z){$.D({W:X(),S:"T",P:"L/16/D/2q.M.O",V:"1C="+J(b)+"&3f="+J(c)+"&3g="+J(d)+"&1E=3h",Q:C(a){$("#1R").17("y","1S");$("#1T").17("y","1U");$("#1V").B(a);H()}})}x{G=z}}C 3i(b,c){6(b>0){}x{G=E}6(G==z){$.D({W:X(),S:"T",P:"L/16/D/2q.M.O",V:"1C="+J(b)+"&2r="+J(c),Q:C(a){6(c===\'3j\'){$("#1R").17("y","1S");$("#1T").17("y","1U")}6(c===\'2r\'){$("#1R").17("y","1U");$("#1T").17("y","1S")}$("#1V").B(a);H()}})}x{G=z}}C 3k(b,c){6(b>0){}x{G=E}6(c>0){}x{G=E}6(G==z){$.D({W:X(),S:"T",P:"L/16/D/3l.M.O",V:"3m="+J(b)+"&1C="+J(c),Q:C(a){$("#1V").B(a);H()}})}x{G=z}}C 3n(){G=z;6(($("5.#1h").7()=="")||($("5.#1h").7()=="1F 3o")||($("5.#1h").7()=="2s 1p 1c 18 1i")){G=E;$("#1W").F("1d","#3p");8 b="1t 1c 18 1i<K />";$("#1W").B(b);6($("5.#1h").7()==""){$("5.#1h").F("1d","#3q");$("5.#1h").B(\'2s 1p 1c 18 1i\')}H()}x{8 b="";8 c=$("5.#1h").7()}6(G==z){$.D({W:X(),S:"T",P:"L/1e/D/3r.M.O",V:"3s="+J(c),Q:C(a){6(a==2g){$("#3t").B("<2t y=\\"3u\\" 3v=\\"0\\" 3w=\\"0\\"><1q><1r y=\\"3x\\"><9 y=\\"3y\\">3z!</9></1r></1q><1q><1r y=\\"3A\\">1g 3B 2u 3C 3D Y 2v 2w\'s 3E 3F. 1g 3G 3H 2x 1Q 3I 3J 2x 3K Y 2v 2w.</1r></1q><1q><1r y=\\"3L\\"></1r></1q></2t>");H()}x{$("#1W").B("<9 y=\\"R\\">"+a+"</9>");H()}}})}}C 3M(c){8 d=z;$("#I").B("");$("#I").F("Z","3N");6(c===\'2y\'){6(($("5.#1j").7()=="")||($("5.#1j").7()=="2z 1G")){8 f="N/A"}x{8 f=$("5.#1j").7()}6(($("5.#1k").7()=="")||($("5.#1k").7()=="2A 1G")){8 g="N/A"}x{8 g=$("5.#1k").7()}6(($("5.#19").7()=="")||($("5.#19").7()=="19")){8 h="N/A"}x{8 h=$("5.#19").7()}6(($("5.#1a").7()=="")||($("5.#1a").7()=="1a/2B")){8 i="N/A"}x{8 i=$("5.#1a").7()}6(($("5.#1b").7()=="")||($("5.#1b").7()=="1b")){8 j="N/A"}x{8 j=$("5.#1b").7()}6(($("5.#1l").7()=="")||($("5.#1l").7()=="2C 2D")){8 k="N/A"}x{8 k=$("5.#1l").7()}6($("5.#2E").7()==\'z\'){8 l=1}x{8 l=0}6($("5.#2F").7()==\'z\'){8 m=1}x{8 m=0}8 n=$("#2G").7();8 o=$("#2H").7();8 p=$("#2I").7();8 q="1E="+c+"&1j="+J(f)+"&1k="+J(g)+"&2G="+n+"&2H="+o+"&2I="+p+"&19="+J(h)+"&1a="+J(i)+"&1b="+J(j)+"&1l="+J(k)+"&2F="+m+"&2E="+l;8 d=z}6(c===\'18\'){8 r="";6($("5.#1F").7()==""){8 d=E;r="<K />1g 1w 1p 3O 18 1i";$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\">"+r);$("#I").F("Z","15")}x{8 s=$("5.#1F").7()}6(d==z){8 q="1E="+c+"&1F="+J(s);8 d=z}}6(c===\'U\'){8 t=$("5.#1H").7();8 r="";6($("5.#1H").7()==""){8 d=E;r=r+"<K />1g 1w 1p 1c 2J U"}x{8 t=$("5.#1H").7()}6($("5.#10").7()==""){8 d=E;r=r+"<K />1g 1w 1p a 1X U"}x{8 u=$("5.#10").7()}6($("5.#2K").7()==""){8 d=E;r=r+"<K />1g 1w 3P 1c 1X U"}6(d==z){6($("5.#10").7()!==$("5.#2K").7()){8 d=E;r=r+"<K />1D U 3Q 3R U 3S 2L 3T"}x{8 t=$("5.#1H").7();8 q="1E="+c+"&3U="+J(t)+"&10="+J(u)}}6(d==E){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\">"+r);$("#I").F("Z","15")}}6(c===\'1Y\'){6($("5.#2M").7()==""){8 d=E}x{8 d=z;8 v=\'2M\';8 w=\'L/16/D/3V.M.O\'}}6(c===\'1Z\'){6($("5.#2N").7()==""){8 d=E}x{8 d=z;8 v=\'2N\';8 w=\'L/16/D/3W.M.O\'}}6(d==z){6(c===\'2y\'){$.D({W:X(),S:"T",P:"L/16/D/20.M.O",V:q,Q:C(a){6($("5.#1j").7()==""){$("5.#1j").F("1d","#1s");$("5.#1j").7(\'2z 1G\')}6($("5.#1k").7()==""){$("5.#1k").F("1d","#1s");$("5.#1k").7(\'2A 1G\')}6($("5.#19").7()==""){$("5.#19").F("1d","#1s");$("5.#19").7(\'19\')}6($("5.#1a").7()==""){$("5.#1a").F("1d","#1s");$("5.#1a").7(\'1a/2B\')}6($("5.#1b").7()==""){$("5.#1b").F("1d","#1s");$("5.#1b").7(\'1b\')}6($("5.#1l").7()==""){$("5.#1l").F("1d","#1s");$("5.#1l").7(\'2C 2D\')}$("#2O").F("1x","1y");$("#2O").1z(1A);H()}})}6(c===\'18\'){$.D({W:X(),S:"T",P:"L/16/D/20.M.O",V:q,Q:C(a){6(a==1){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1B 18 1i 1f 21");$("#I").F("Z","15");H()}x 6(a==2){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1B 18 1i 3X 22 2u 3Y");$("#I").F("Z","15");H()}x 6(a==3){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1B 1f 22 1c 18 1i");$("#I").F("Z","15");H()}x{$("#2P").F("1x","1y");$("#2P").1z(1A);H()}}})}6(c===\'U\'){$.D({W:X(),S:"T",P:"L/16/D/20.M.O",V:q,Q:C(a){6(a==1){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1D 1X U 1f 21");$("#I").F("Z","15");H()}x 6(a==2){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1D 2J U 1f 21");$("#I").F("Z","15");H()}x 6(a==3){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1B 1f 2L 1c 3Z U");$("#I").F("Z","15");H()}x 6(a==4){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />1B 1f 22 1c U");$("#I").F("Z","15");H()}x{$("#2Q").F("1x","1y");$("#2Q").1z(1A);H()}}})}6((c===\'1Y\')||(c===\'1Z\')){$.40({W:X(),P:w,41:E,42:v,43:\'44\',Q:C(a,b){6(45(a.1o)!=\'46\'){6(a.1o!=\'\'){$("#I").B("<9 y=\\"11\\">Y 12 13 14:</9><9 y=\\"R\\"><K />"+a.1o);$("#I").F("Z","15");H()}x{6(c===\'1Y\'){$("#47").17("2R",a.2S);$("5.#2T").F("1x","1y");$("#2T").1z(1A)}6(c===\'1Z\'){$("#48").17("2R",a.2S);$("5.#2U").F("1x","1y");$("#2U").1z(1A)}H()}}},1o:C(a,b,e){}})}}}C 2i(){6((23.24.25!="")||(23.24.25!="#")){8 c=23.24.25;6(G==z){$.D({W:X(),S:"T",P:"L/1e/D/49.M.O",V:"4a="+J(c),Q:C(a){2k();$("#4b").B(a);8 b=$("#4c").B();b=b.2V(/\\&4d;/g,\'&\');b=b.2V(/\\&4e;/g,\'<\');4f.2l=b;6($("#2W").B()!=""){4g.4h($("#2W").B())}H();$(C(){$("#2X").2X({4i:E,4j:z})})}})}}}',62,268,'|||||input|if|val|var|span||||||||||||||||||||||||else|class|true||html|function|ajax|false|css|noErrors|loadedScript|UploadError|encodeURIComponent|br|validatescripts|inc||php|url|success|yellowtext|type|POST|password|data|beforeSend|loadingScript|The|padding|Password|redtext|following|errors|occurred|5px|profiles|attr|email|City|State|Country|your|color|main|is|You|EmailListing|address|FirstName|LastName|CustomTitle|dialog|Username|error|enter|tr|td|999|Enter|dialogprofile|nbsp|must|display|block|fadeOut|1000|That|MemberID|Your|Action|Email|Name|currentPassword|RememberMe|error_message|senderror|Sent|textarea|profilecomment|length|500|of|PostComments|CellLink|ProfileComments|CellLinkOpt|Comments|PowderKegMailError|new|profile|avatar|updateprofile|invalid|already|window|location|hash|destroy|open|bgiframe|closeOnEscape|draggable|resizable|width|632|modal|username|69|ControlPanelBody|AR_getter|LoginBlurb|sessioncontroller|title|commentError|Max|characters|comment|profilecomments|PostComment|Please|table|been|Powder|Keg|updates|generic|First|Last|Province|Custom|Title|HideAge|HideLocation|BirthDay|BirthMonth|BirthYear|old|confirmPassword|not|UploadProfile|UploadAvatar|genericSaved|emailSaved|passwordSaved|src|msg|profileSaved|avatarSaved|replace|scrollAnchor|accordion|checkOption|logger|login|loggedin|concat|sessioncontrol|navigationcontrol|NavBody|recentthreadscontrol|RecentThreads|member_profile|memberprofile|Member|Profile|submit_comments|too|long|UserID|Comment|submit|post_comments|ListComments|delete_comments|deletecomments|CommentID|kegsignup|Address|ffff00|ff0000|powderkegmail|EmailAddress|PowderKegMail|TableSmall|cellpadding|cellspacing|CellTitle|whitetitletext|Thanks|CellEven|have|added|to|mailing|list|will|recieve|all|the|for|CellFooter|update_profile|0px|an|confirm|and|confirmation|do|match|CurrentPassword|uploadprofile|uploadavatar|has|taken|current|ajaxFileUpload|secureuri|fileElementId|dataType|json|typeof|undefined|profilePhotoPreview|avatarPhotoPreview|pagegeneration|ARGet|ContentMain|SectionHeader|amp|lt|document|scrolltotop|scrollup|autoHeight|collapsible'.split('|'),0,{}))