dholdbuff = 0; uholdbuff = 0; ubuff = 0; mpos = 0; con = 0; timer = 0; noquit = false; drawbox = true; cur_jewel = 0; side = 0; depth = 0; maxnum = 5; txtcolor = 16777215; xoff = 0; yoff = 0; boxwidth = -1; boxheight = 3; result = -1; entrystring = ""; numcount = 3; for (var i = 0; i < 10; i++) { correctcode[i] = 0; num[i] = 0; }