bulletware = function(){
	/** 
	* @description Element refs
	* @private
	*/
	var elAboutMore = null;

	/** 
	* @description Animation objects
	* @private
	* @return void
	*/
	var oAnim = {};
	var oFade = {};

	/** 
	* @description Ref to YAHOO DOM utiltity
	* @private
	* @return void
	*/
	var _d = YAHOO.util.Dom;

	/** 
	* @description Ref to YAHOO EVENT utiltity
	* @private
	* @return void
	*/
	var yuiEVENT = YAHOO.util.Event;

	/** 
	* @description Handles click event
	* @method doClick
	* @private
	* @return void
	*/
	var doClick = function(e){
        window.focus();

		var sStyle = _d.getStyle( elAboutMore, 'display' );
		
		if (sStyle == 'none'){
			_d.setStyle( elAboutMore, 'display', 'block' );
            _d.setStyle( elAboutMore, 'visibility', 'visible' );

			oAnim = new YAHOO.util.Anim(
				elAboutMore, 
				{height: { from: 1, to: 200 }}, 
				0.5, 
				YAHOO.util.Easing.backOut
			);

			oAnim.animate();
		}
		else{
            var hide = function(){
				_d.setStyle( elAboutMore, 'display', 'none' );
            }

            _d.setStyle( elAboutMore, 'visibility', 'hidden' );

		    oAnim = new YAHOO.util.Anim(
			    elAboutMore, 
			    {height: { to: 1 }}, 
			    0.5, 
			    YAHOO.util.Easing.backIn
		    );

		    oAnim.onComplete.subscribe(hide);
		    oAnim.animate();
		}
	}

	/** 
	* @description Executes layout specfic initializations 
	* when the DOM is fully loaded
	* @method initOnDOM
	* @private
	* @return void
	*/
	var initOnDOM = function(){
		elAboutMore = _d.get( 'about_more' );
		yuiEVENT.on( 'link_more', 'click', doClick );
	}

	return {

		/** 
		* @description Executes initialization
		* @method init
		* @public
		* @return void
		*/
		init: function(){
			yuiEVENT.onDOMReady( initOnDOM );
		}

	}
}();

bulletware.init();
