/**
 *	@package	*
 *	@class		InputFocus
**/
{
	/**
	 *	constructor
	 *	
	 *	@access		public
	 *	@param		void
	 *	@return		void
	**/
	InputFocus = function()
	{
	}
	
	/**
	 *	
	 *	
	 *	@access		public static
	 *	@param		input		argInput
	 *	@return		void
	**/
	InputFocus.onFocus = function(argInput)
	{
		// save values in the argInput.custom.InputFocus namespace
		if (undefined === argInput.custom) argInput.custom = new Object();
		if (undefined === argInput.custom.InputFocus)
		{
			argInput.custom.InputFocus = new Object();
			argInput.custom.InputFocus.strOriginalValue = argInput.value;
			
			argInput.onblur = function()
			{
				InputFocus.onBlur(argInput);
			}
		}
		
		if (argInput.custom.InputFocus.strOriginalValue === argInput.value) argInput.value = '';
	}
	
	/**
	 *	
	 *	
	 *	@access		public static
	 *	@param		input		argInput
	 *	@return		void
	**/
	InputFocus.onBlur = function(argInput)
	{
		if ('' === argInput.value) argInput.value = argInput.custom.InputFocus.strOriginalValue;
	}
}