function validRequired(formField,fieldLabel)
{
	var result = true;

	if (formField.value == "")
	{
		alert('Please enter a value for the ' + fieldLabel +' field');
		formField.focus();
		result = false;
	}
	return result;
}

function allDigits(str)
{
	return inValidCharSet(str,"0123456789");
}

function PCase(STRING)
{
	var strReturn_Value = "";
	var iTemp = STRING.length;

	if(iTemp==0)
	{
		return"";
	}

	var UcaseNext = false;
	strReturn_Value += STRING.charAt(0).toUpperCase();
	for(var iCounter=1;iCounter < iTemp;iCounter++)
	{
		if(UcaseNext == true)
		{
			strReturn_Value += STRING.charAt(iCounter).toUpperCase();
		}
		else
		{
			strReturn_Value += STRING.charAt(iCounter).toLowerCase();
		}

	var iChar = STRING.charCodeAt(iCounter);

	if(iChar == 32 || iChar == 45 || iChar == 46)
	{
		UcaseNext = true;
	}
	else
	{
		UcaseNext = false
	}
	if(iChar == 99 || iChar == 67)
	{
		if(STRING.charCodeAt(iCounter-1)==77 || STRING.charCodeAt(iCounter-1)==109){
		UcaseNext = true;
	}
	}


	} //End For

return strReturn_Value;
} //End Function
