/**
 * program event taf
 */
UB.TAF.Event = new Class({
	Extends: UB.TAF,
	
	event: null,
	_eventUid: null,
	
	initialize: function (options) {
		var tafEl = $('taf').clone();
	
		// opts
		options.formType = 'event';
		
		// construct parent
		this.parent(tafEl, options);
		
		this.elements.taf.event_uid = this.addHidden('TAF[event_uid]', '');
	},
	
	eventUid: function (uid) {
		if (uid) {
			this._eventUid = uid;
			//this.formEl.getElement('input[name="TAF[uid]"]').value = uid;
			this.elements.taf.event_uid.value = uid;
		}
		return this._eventUid;
	}

 });
 
 
