function While(fn,ed,fq){ var i=0,whileID=setInterval(function(){ fn(i++)===false&&(clearInterval(whileID),ed&&ed()); },fq||10); return whileID;};