# Source: event.js

    /**

     * @namespace WPGMZA

     * @module Event

     * @requires WPGMZA

     */

    (function($) {

    	WPGMZA.Event = function(options)

    	{

    		if(typeof options == "string")

    			this.type = options;

    		this.bubbles		= true;

    		this.cancelable		= true;

    		this.phase			= WPGMZA.Event.PHASE_CAPTURE;

    		this.target			= null;

    		this._cancelled = false;

    		if(typeof options == "object")

    			for(var name in options)

    				this[name] = options[name];

    	}

    	WPGMZA.Event.CAPTURING_PHASE		= 0;

    	WPGMZA.Event.AT_TARGET				= 1;

    	WPGMZA.Event.BUBBLING_PHASE			= 2;

    	WPGMZA.Event.prototype.stopPropagation = function()

    	{

    		this._cancelled = true;

    	}

    })(jQuery);