/**
                          "tax the rich"
			            by jason van anden

               found at http://tax.cf.huffingtonpost.com

                               and/or

                  http://www.smileproject.com/tax

		   you can contact jason at jason@smileproject.com
				   or visit www.smileproject.com


        (c) copyright 2006 Jason Van Anden. All rights reserved.
*/

    function normal (src, pause, speed, count){
        this.setProperties(src, pause, speed, count);
    };

    normal.prototype = new BaseSequence();
    normal.prototype.constructor = new BaseSequence;
    normal.superclass = BaseSequence.prototype;

    normal.prototype.setProperties = function(src, pause, speed, count){

		normal.superclass.setProperties.call(this, src, pause, speed, count);

		// rnd_num = this.get_random_number(1);

		// this.count += rnd_num; // this was added to alter the rythm slightly

		this.return_mode = MODE_BLURB;

		this.name = "normal";

		this.rent.objArt.className ="normal";

		return this;
    };

    normal.prototype.mp = function(posX, posY){

        return;

		normal.superclass.mp.call(this, posX, posY);

		if (this.mmcount > 300){
			this.rent.objArt.className = "look_around";
			this.return_mode = MODE_LOOK_AROUND;
			this.stop();
		}
	}

    normal.prototype.mouse_over = function(){

		return;

		var rnd_num = this.get_random_number(3);

		if (rnd_num == 2) this.return_mode = MODE_BALL_GET;
		else this.return_mode = MODE_PSYCHED;

		this.stop();
		return this;
	};

    normal.prototype.mouse_notover = function(){

		return;

        this.rent.objArt.className = "normal";
		return this;
	};

    normal.prototype.actout = function actout(){

        if (this.first_time) this.first_time = false;
        else {

			normal.superclass.actout.call(this);

			var rnd_num = this.get_random_number(10);

			switch(rnd_num){

				case 1:  this.prog = "blink()";        break;
				default: this.prog = "nothing()";      break;
			}
	    }

        if (this.rent.index == 0) db("behavior: " + this.name + " num: " + rnd_num + " prog: " + this.prog);

        return(this.prog);
    }

