Originally Posted by akzes
So I got it working, except its putting 'den' into the array twice
Well, as I see it they get a free Den (whatever that is) whether they want it or not.
alert("Are you sure you don't want a Den? They are free!");
Surely you want confirm box where the user can select OK or cancel.