text: (function(a,b){var c=function(b){return a.getElementById(b)},d=function(a,c,d,f){return typeof f==b&&(f="alpha"),typeof d==b&&(d=!1),Crockford=new e(a,c),Crockford.setSpecialMapping({tab:"	"}),Crockford.setNoncappedMapping({0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",comma:",",dot:".",space:" ","return":"\n"}),Crockford.setCappedMapping({alpha:{low:{a:"a",b:"b",c:"c",d:"d","blank-1":"","blank-2":"",e:"e",f:"f",g:"g",h:"h","blank-3":"","blank-4":"",i:"i",j:"j",k:"k",l:"l",m:"m",n:"n",o:"o",p:"p",q:"q",r:"r",s:"s",t:"t",u:"u",v:"v",w:"w",x:"x",y:"y",z:"z"},cap:{a:"A",b:"B",c:"C",d:"D","blank-1":"","blank-2":"",e:"E",f:"F",g:"G",h:"H","blank-3":"","blank-4":"",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z"}},euro:{low:{a:"\u00e0",b:"\u00e1",c:"\u00e2",d:"\u00e4","blank-1":"\u00e5","blank-2":"\u00e3",e:"\u00e8",f:"\u00e9",g:"\u00ea",h:"\u00eb","blank-3":"\u00e7","blank-4":"\u00e6",i:"\u00ec",j:"\u00ed",k:"\u00ee",l:"\u00ef",m:"\u00df",n:"\u00f1",o:"\u00f2",p:"\u00f3",q:"\u00f4",r:"\u00f6",s:"\u00f8",t:"\u00f5",u:"\u00f9",v:"\u00fa",w:"\u00fb",x:"\u00fc",y:"\u00ff",z:"\u00fd"},cap:{a:"\u00c0",b:"\u00c1",c:"\u00c2",d:"\u00c4","blank-1":"\u00c5","blank-2":"\u00c3",e:"\u00c8",f:"\u00c9",g:"\u00ca",h:"\u00cb","blank-3":"\u00c7","blank-4":"\u00c6",i:"\u00cc",j:"\u00cd",k:"\u00ce",l:"\u00cf",m:"\u00df",n:"\u00d1",o:"\u00d2",p:"\u00d3",q:"\u00d4",r:"\u00d6",s:"\u00d8",t:"\u00d5",u:"\u00d9",v:"\u00da",w:"\u00db",x:"\u00dc",y:"\u0178",z:"\u00dd"}},symb:{low:{a:"(",b:")",c:"\\",d:"/","blank-1":"%","blank-2":"*",e:"[",f:"]",g:"!",h:"?","blank-3":";","blank-4":":",i:"{",j:"}",k:"&",l:"#",m:"-",n:"~",o:"<",p:">",q:"|",r:"_",s:"$",t:"+",u:"`",v:"'",w:"^",x:'"',y:"@",z:"="},cap:{a:"(",b:")",c:"\\",d:"/","blank-1":"%","blank-2":"*",e:"[",f:"]",g:"!",h:"?","blank-3":";","blank-4":":",i:"{",j:"}",k:"&",l:"#",m:"-",n:"~",o:"<",p:">",q:"|",r:"_",s:"$",t:"+",u:"`",v:"'",w:"^",x:'"',y:"@",z:"="}},add:{low:{a:"\u00b0",b:"",c:"\u00a9",d:"\u00f7","blank-1":"","blank-2":"",e:"\u20ac",f:"\u20a3",g:"\u00a1",h:"\u00bf","blank-3":"","blank-4":"",i:"",j:"",k:"\u00b9",l:"\u00a3",m:"\u00b5",n:"\u2022",o:"\u00ab",p:"\u00bb",q:"\u00b2",r:"\u00ae",s:"\u00a7",t:"\u2122",u:"",v:"",w:"\u00b3",x:"\u00a2",y:"\u00a5",z:"\u2260"},cap:{a:"A",b:"B",c:"C",d:"D","blank-1":"","blank-2":"",e:"E",f:"F",g:"G",h:"H","blank-3":"","blank-4":"",i:"I",j:"J",k:"K",l:"L",m:"M",n:"N",o:"O",p:"P",q:"Q",r:"R",s:"S",t:"T",u:"U",v:"V",w:"W",x:"X",y:"Y",z:"Z"}}}),Crockford.setDefaultChartype(f),Crockford.init({"lock-char":d}),Crockford},e=function(a,d){var e=a,f={},g={},h={},i={},j=[],k="",l=[],m=[],n=d,o=function(a){var b=[];for(var c in a)b[n+"-"+c]="string"==typeof a[c]||"number"==typeof a[c]?a[c]:o(a[c]);return b};return{init:function(a){g={cap:n+"-cap",low:n+"-low","lock-cap":n+"-lock-cap","lock-char":n+"-lock-char",lock:n+"-lock",back:n+"-back","char":n+"-char"},f[g.cap]=!1,f[g["lock-cap"]]=!1,f[g["lock-char"]]=!1,f[g.lock]=!1,f[g["char"]]={};for(key in j)f[g["char"]][j[key]]=!1;for(key in a)f[g[key]]=a[key];l=m[k][g.low],this.setFlag(k,!0)},setDefaultChartype:function(a){k=n+"-"+a},setSpecialMapping:function(a){i=o(a)},setNoncappedMapping:function(a){h=o(a)},setCappedMapping:function(a){m=o(a);for(var b in m)j.push(b)},hasClass:function(a,b){return a.className.match(RegExp("(\\s|^)"+b+"(\\s|$)"))},addClass:function(a,b){this.hasClass(a,b)||(a.className+=" "+b)},removeClass:function(a,b){if(this.hasClass(a,b)){var c=RegExp("(\\s|^)"+b+"(\\s|$)");a.className=a.className.replace(c," ")}},unsetFlag:function(a,b){b?f[g["char"]][a]=!1:f[a]=!1,this.removeClass(c(a),"pressed")},setFlag:function(a,b){b?f[g["char"]][a]=!0:f[a]=!0,this.addClass(c(a),"pressed")},toggleFlag:function(a){f[a]?this.unsetFlag(a,!1):this.setFlag(a,!1)},processSpecial:function(a){if(a.id in i)e.value+=i[a.id];else if(a.id==g.back){var d=e.value;e.value=d.slice(0,-1)}else{var h=!1;if(typeof f[g["char"]][a.id]!==b){if(!f[a.id]){for(var j in f[g["char"]])j==a.id?this.setFlag(j,!0):this.unsetFlag(j,!0);h=!0}}else this.toggleFlag(a.id),h=!0;if(h){for(j in f[g["char"]])if(f[g["char"]][j]){l=f[g.cap]?m[j][g.cap]:m[j][g.low];break}for(var k in l)c(k).value=l[k]}}},processAlpha:function(a){a.id in l&&(e.value+=l[a.id],f[g.lock]||(f[g.cap]&&!f[g["lock-cap"]]&&this.processSpecial(c(g.cap)),f[g["char"]][k]||f[g["lock-char"]]||this.processSpecial(c(k))))},processNoncapped:function(a){a.id in h&&(e.value+=h[a.id])}}};$(a).ready(function(){var a=new d(c("cfkb-textbox"),"cfkb");$(".cfkb.v1 .special input").click(function(){a.processSpecial(this)}),$(".cfkb.v1 .numeric input").click(function(){a.processNoncapped(this)}),$(".cfkb.v1 .alpha input").click(function(){a.processAlpha(this)})})})(document,"undefined");