				top = 347;
				state = 'resting';
			} else if(top > 500 && state =='won') {
				top = 500;
			}
		};

		var CheckGrabbed = function() {
			var tmp = Math.floor(Math.random()*100);
			if(tmp>error) {
				setTimeout(function(){
					state='falling';
					$('#debug-streak').html(0); //reset streak
					setTimeout(gameShutDown,500);	//end game because you dropped it
				},4*error+300);
			}else{
				prizeWon = true;					// Incase you are interupted, you still get a prize.
			}
			state = 'is grabbed';
		};