<http://jsfiddle.net/jaredwilli/tZPg4/4/>

here I can add and remove unlimited inputs on my page.

My question is how can I make this function to produce maximum 6 more inputs then hiding the "Add Another Input Box" link.

I am a newbie. This question must be really easy for javascript programmers.