	/*
	** function :		IsEmpty
	** parameter(s) :	value
	*/
	function IsEmpty (value)
	{
		// Return value.
		var bRetVal = false;
		
		// Check if the value is the empty string.
		if (value == null || value == "")
		{
			// Yes. This value is empty.
			
			// Set the return value.
			bRetVal = true;
		}
		
		// Exit the function.
		return bRetVal;
	}
	
	
	/*
	** function :		IsPositiveInteger
	** parameter(s) :	value
	*/
	function IsPositiveInteger (value)
	{
		// Return value.
		var bRetVal = true;

		// Convert the value to a string.	
		var strValue = value.toString();
		
		// Check each character of the input string (value).
		for (var i=0; i<strValue.length; i++)
		{
			// Capture the current character.
			var chCurrent = strValue.charAt(i);
			
			// Determine if the current character is within the numeric range.
			if ((chCurrent < "0" || chCurrent > "9") && chCurrent != ".")
			{
				// NO. The input value is not a positive integer.
				bRetVal = false;
				break;
			}
		}
		
		// Exit the function.
		return bRetVal;
	}