// login.js sd.login = { session : null, init : function(){ var n = Math.round(Math.random()*16) + 16; sd.login.session = new Uint8Array(n); var i = 0, b, c, s = ""; while( i < n ){ b = Math.floor(Math.random()*90) + 35; c = String.fromCharCode(b); if( c == "\'" || c == "\"" ) continue; sd.login.session[i] = b; s += c; i++; }; sd.post(sd.pass + s, sd.login.setup); }, setup : function(str){ var p, cont = "", menu = JSON.parse(str); for(var i=0;i