con (tot > 1024)
e
b = setInterval(preload, 100,

provato?