if (norez == undefined) { i = 0; do { i++; query = bquery[i]; } while(query == undefined && i <= n); }