function checkInputChars(theForm)
{
	var isFormValid=true;
	for(var i = 0; i < theForm.length;i++)
	{
		var fld = theForm.elements[i];
		if ((fld.type=="text") || (fld.type=="password") || (fld.type=="textarea"))
		{
			if(fld.value.search(/[^A-Za-z0-9\-\.\,;_#@\/\s]/g)!=-1)
			{
				highlightErrorInput(fld);
				isFormValid=false;
			}
			else
			{
				if (fld.className!='inputlabel')
				{
					highlightNormalInput(fld);
				}
			}
		}
	}
	
	return isFormValid;
}

function containSpaces(theField)
{
	if(theField.value.search(/\s/g)!=-1)
	{
		return true;
	}	
	else
	{
		return false;
	}
}