ane.Repaint();
		requestAnimFrame(function(){
			animate();
		});
	}

	function joystickControlOn(direction){
		keys[direction] = true;
	}
	function joystickControlOff(direction){
		keys[direction] = false;
	}
	function gameStartUp(){ //main function
		document.getElementById("play_btn").disabled = true;	//to prevent button-mashing the start button.
		for(var i=0; i<5; i++){	// Creates prize balls.
			prizes[i] = new Prize(i,{top: Math.ceil(Math.random()*100),left: 400+i*100-Math.ceil(Math.random()*50)},cra