var d = new Date(); d.setTime(d.getTime() + 3600000 * 24 * 30);
if(getCookie('acceptGrp') == null) setCookie('acceptGrp','false',d);
var acceptGrp = mAlert;
mAlert = function(a,c,d,b){
acceptGrp(a,c,d,b);
if(getCookie('acceptGrp') == 'true' && a.indexOf('Party invitation received from') != -1) $('#a_ok').click();
};
g.loadQueue.push({fun: function () {
$('<div id="checkboxgrp">Automatyczne przyjmowanie zaproszen do grupy</div>').appendTo('#cfg_options').click(function(){
if($('#checkboxgrp').attr('style') == 'background-position: 0px -22px'){
$('#checkboxgrp').attr('style', 'background-position: 0px 0px');
setCookie('acceptGrp','false',d)
}else{
$('#checkboxgrp').attr('style', 'background-position: 0px -22px');
setCookie('acceptGrp','true',d)
}
});
if(getCookie('acceptGrp') == 'true') $('#checkboxgrp').attr('style', 'background-position: 0px -22px');
else $('#checkboxgrp').attr('style', 'background-position: 0px 0px');
}, data: ''});
$(document).keyup(function(e){
if(e.which==75 && e.target.tagName!="TEXTAREA" && e.target.tagName!='INPUT'){
for(n in g.other){
if ((Math.abs(hero.x - g.other[n].x) <= 1 && Math.abs(hero.y - g.other[n].y) <= 1) && !isset(g.party[n])){
_g("party&a=inv&id="+n)
}
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}