

/*
	'##############################################################################
	'#####
	'						FORMAT NAME FUNCTION
	'	OVERVIEW  - This function will take a string and make the first character
	'				uppercase and all other character lowercase
	'	
	'	PROTOTYPE - function formatName(sName)
	'	
	'   VARIABLE DEFINITIONS:
	'		Input  - 
	'				.sName = String to format
	'		
	'		Output - 
	'	
	'	RETURNS   - A formatted string where the first character is uppercase,
	'				all others are lowercase
	'#####
	'##############################################################################
*/
function formatName(sName)
{

	tempName = sName.toLowerCase();
	
	tempName = tempName.substr(0, 1).toUpperCase() + tempName.substr(1, tempName.length);
			
	return tempName;
	
}	
		