function generate_adid()
{
        s = "";
        for(i =0; i < 8;i++){
                n = Math.floor(Math.random()*36);
                if (n < 10){
                        c = String.fromCharCode(48+n);
                }else{
                        c = String.fromCharCode(55+n);
                }
                s += c;
        }
        return s;
}

