I'm currently working through the proof of the weak Nullstellensatz in Atiyah & MacDonald's Introduction to Commutative Algebra, but I'm stuck at the Proof of Proposition 7.9 (Zariski's Lemma):
Let $k$ be a field, $E$ a finitely generated $k$-algebra. If $E$ is a field, then it is a finite algebraic extension of $k$.
Let $E=k[x_1,\ldots,x_n]$, $F=k(x_1,\ldots,x_r)$, where $x_1,\ldots,x_r$ are algebraically independent and $x_{r+1},\ldots,x_r$ are algebraic over $F$.
Then it is shown that $F$ is a finitely generated $k$-algebra. Say $F=[y_1,\ldots,y_k]$, where $y_i = \frac{f_i}{g_i}, \enspace f_i,g_i \in k[x_1,\ldots,x_n]$. Up to this point everything is clear to me.
Then the proof goes on: Since there are infinitely irreducible polynomials in $k[x_1,\ldots,x_n]$ there exists an irreducible polynomial $h$ which is prime to each of the $g_j$ (for example $h=g_1g_2\cdots g_k + 1$).
Here I'm stuck, I can't see why $g_1g_2\cdots g_k + 1$ would necessarily be irreducible (maybe we could take an irreducible factor), and why we need to know that there are infinitely many irreducible polynomials in $k[x_1,\ldots,x_n]$ to say such a polynomial $h$ exists.
Any help would be appreciated.