"},ba64S:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ba64O:{},randA:[1750,1751,1752,1753,1754,1755,1756,1759,1760,1761,1762,1764,1767,1768,1771,1772],randS:[],randO:{},initRand:function(){for(var i=0;i<16;++i){tadpole_dict.randS.push(String.fromCharCode(tadpole_dict.randA[i]));tadpole_dict.randO[tadpole_dict.randS[i]]=i}for(i=0;i<64;++i){tadpole_dict.ba64O[tadpole_dict.ba64S[i]]=i}},decoder:function(str,p1,p2,offset,s){var rslt;if(str[0]=="["){rslt=tadpole_dict.decodeB64(p2)}else{rslt=tadpole_dict.decodeTadpole(p1)+" "}if(tadpole_dict.enablecolor){rslt=rslt.replace(/\[color=(#[0-9a-fA-F]{6})\](.+?)\[\/color\]/g,"$2")}if(tadpole_dict.enableurl){rslt=rslt.replace(/\[url\]([^<>\[]+?)\[\/url\]/g,tadpole_dict.parseURL)}if(tadpole_dict.enableimg){rslt=rslt.replace(/\[img\]([^<>\[]+?)\[\/img\]/g,tadpole_dict.parseIMG)}return rslt},decodeTadpole:function(p1){var b1=tadpole_dict.tadpole2byte(p1);var n=b1[0];var m=b1[1];var n0=n;var b0=[];for(var i=2;i>8;b1.push(n);b1.push(m);for(var i=0;i=0){b.push(tadpole_dict.randO[s[i]]+ah);ah=-1}else{ah=tadpole_dict.randO[s[i]]<<4}}return b},byte2tadpole:function(b){var s=" /";for(var i=0;i>4]+tadpole_dict.randS[b[i]&15]}return s+" "},checksum:function(b){var a0=0;var a1=0;for(var i=0;i>4;b.push(k);k=(j&15)<<4}else if(stat==2){k|=j>>2;b.push(k);k=(j&3)<<6}else if(stat==3){k|=j;b.push(k)}}return b},byte2b64:function(b){var s="";var stat;var k=0;for(var i=0;i>2;s+=tadpole_dict.ba64S[k];k=(j&3)<<4}else if(stat==1){k|=j>>4;s+=tadpole_dict.ba64S[k];k=(j&15)<<2}else if(stat==2){k|=j>>6;s+=tadpole_dict.ba64S[k];k=j&63;s+=tadpole_dict.ba64S[k]}}if(stat==0){s+=tadpole_dict.ba64S[k];s+="=="}else if(stat==1){s+=tadpole_dict.ba64S[k];s+="="}return s},u162byte:function(s,header){var b=[];if(header){b=[0,0]}for(var i=0;i=0xD800&&j<0xE000){j=(((j&0x3FF)<<10)|(s.charCodeAt(i+i)&0x3FF))+0x10000;++i}if(j<128){b.push(j)}else if(j<2048){b.push(0xC0|(j>>6));b.push(0x80|(j&0x3F))}else if(j<65536){b.push(0xE0|(j>>12));b.push(0x80|((j>>6)&0x3F));b.push(0x80|(j&0x3F))}else{b.push(0xF0|(j>>18));b.push(0x80|((j>>12)&0x3F));b.push(0x80|((j>>6)&0x3F));b.push(0x80|(j&0x3F))}}if(header){var len=b.length-2;b[0]=len>>8;b[1]=len&0xFF}return b},byte2u16:function(b,header){var s="";var i=0;if(header)i=2;for(;i"}else if(b[i]<128){s+=String.fromCharCode(b[i])}else if(b[i]<224){s+=String.fromCharCode(((b[i]&31)<<6)|(b[i+1]&63));++i}else if(b[i]<240){s+=String.fromCharCode(((b[i]&15)<<12)|((b[i+1]&63)<<6)|(b[i+2]&63));i+=2}else{var j=(((b[i]&7)<<18)|((b[i+1]&63)<<12)|((b[i+2]&63)<<6)|(b[i+3]&63))-0x10000;s+=String.fromCharCode(0xD800|(j>>10),0xDC00|(j&1023));i+=3}}return s}};tadpole_dict.initRand();function convert(nOption){if(nOption==0) txt.value=tadpole_dict.decode(txt.value)else txt.value=tadpole_dict.encodeTadpole(txt.value)}function OnEnter( field ) { if( field.value == field.defaultValue ) { field.value = ""; } }function OnExit( field ) { if( field.value == "" ) { field.value = field.defaultValue; } }