
    function ball_get (src, pause, speed, count, side){
        this.setProperties(src, pause, speed, count, side);
    };

    ball_get.prototype = new BaseSequence();
    ball_get.prototype.constructor = new BaseSequence;
    ball_get.superclass = BaseSequence.prototype;

    ball_get.prototype.setProperties = function(src, pause, speed, count, side){

		ball_get.superclass.setProperties.call(this, src, pause, speed, count);

		this.def_prog = "mouth_opened()";
		this.alt_prog = "mouth_closed()";

		this.prog     = "ears_back()";
		this.return_mode = MODE_NORMAL;

		this.name = "ball_get";

		return this;
    };

    ball_get.prototype.mouse_notover = function(){
		this.return_mode = MODE_LOOK_AROUND;
		this.stop();
		return this;
	};

    ball_get.prototype.mouse_over = function(){
		this.count += 1;
		return this;
	};


    ball_get.prototype.actout = function actout(){

        if (this.first_time) this.first_time = false;
        else {

			ball_get.superclass.actout.call(this);

			var rnd_num = this.get_random_number(6);
			this.pause = rnd_num * 25;
		}

		return(this.prog);

    }
