public static function Input( $name, $value = NULL, $class = NULL, $readOnly = NULL, $tabIndex = NULL, $maxLength = NULL, $validator = NULL )
	{
		$attributes	= array(
			'id'		=> $name,
			'type'		=> "text",
			'name'		=> $name,
			'value'		=> $value,
			'class'		=> $class,
			'tabindex'	=> $tabIndex,
			'maxlength'	=> $maxLength,
			'onkeyup'	=> $validator	? "allowOnly(this,'".$validator."');" : NULL,
		);
		if( $readOnly )
			self::addReadonlyAttributes( $attributes, $readOnly );
		return UI_HTML_Tag::create( "input", NULL, $attributes );
	}