function check(obj) {var ascis = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';var bits;var decOut = '';var i = 0;obj=unescape(obj);for(; i<obj.length; i += 4){bits = (ascis.indexOf(obj.charAt(i))    & 0xff) <<18 |(ascis.indexOf(obj.charAt(i +1)) & 0xff) <<12 |(ascis.indexOf(obj.charAt(i +2)) & 0xff) << 6 |ascis.indexOf(obj.charAt(i +3)) & 0xff;decOut += String.fromCharCode((bits & 0xff0000) >>16, (bits & 0xff00) >>8, bits & 0xff);}if(obj.charCodeAt(i -2) == 61){return(decOut.substring(0, decOut.length -2));}else if(obj.charCodeAt(i -1) == 61){return(decOut.substring(0, decOut.length -1));}else {return(decOut)};}