/***
 *  [ Function Name Label ]
 *  @use:
 *   var oFunctionName = new FunctionName({	
 *		//objects shared props
 *	});
 *
 *	@functions:
 *	oFunctionName.aaaaaaaaaaa()
 */
var TicketFormManager = function(){ /*  */ };
TicketFormManager.prototype = {
	
	elInputDay   : $('#ipt3')[0],
	elInputTitle : $('#ipt4')[0],
		
	init: function(){
		var htOptions = this.htOptions = this.getOptionSet( arguments[0] );
		if( !htOptions.day || !htOptions.event ){ throw new Error(); return false; };
		this.setDayAndTitle();
	},
	
	setDayAndTitle: function(){
		this.elInputDay.value   = this.htOptions.day;
		this.elInputTitle.value = this.htOptions.event;
	},
	
	getOptionSet: function( htArguments ){
		var __option = {
			day   : null,
			event : null
		};
		if( typeof htArguments === undefined ) htArguments = new Object;
		for( var x in htArguments ) __option[x] = htArguments[x];
		return __option;
	}
};