Date.format = 'mm/dd/yyyy';
Date.pattern = new RegExp('^([0-9]{1,2})/([0-9]{1,2})/([0-9]{4})$');

CmsFormAlerts = {
	type_i: "{0} is not a valid number",
	type_d: "{0} is not a valid number",
	type_b: 'This field should only contain 0 or 1',
	type_e: 'This field should be an e-mail address in the format "user@domain.com"',
	type_da: "{0} is not a valid date - it must be in the format "+Date.format,
	type_s: "",
	constraint: "The value in this field is invalid",
	required: "This field is required",
	captcha: "The entered captcha code is wrong",
	FLDN1: "Fields can only contain alphanumeric characters",
	NUMB1: "The value has to equal %1",
	NUMB2: "The value should not equal %1",
	NUMB3: "The value must be smaller than %1",
	NUMB4: "The value must be bigger than %1",
	REGX1: "The value does not match the expected format",
	REGX2: "The value does not match the expected format",
	STRL1: "Exactly %1 characters must be given",
	STRL2: "No more than %1 characters must be given",
	STRL3: "Less than %1 characters must be given",
	STRL4: "More than %1 characters must be given",
	STRL5: "This field may not be empty",
	UNIQ1: "This entry already exists",
	URLN1: "The given URL name already exists",
	URLN2: "The given URL name contains illegal characters",
	USER1: "The given username already exists",
	USER2: "The given username contains illegal characters",
	USER3: "The username must be at least 2 characters long",
	USER4: "The username must be less than 50 characters long",
	TYPE1: "An integer value must be provided",
	TYPE2: "A numeric value must be provided",
	TYPE3: "An array must be provided",
	FLDV1: "An integer value must be provided",
	FLDV2: "The given number is too big",
	FLDV3: "The given number is too small",
	FLDV4: "A numeric value must be provided",
	FLDV5: "The entry is too long to store",
	LINK1: "The value is not a valid link in the format http://(URL)",
	LINK2: "The value is not a valid link in the format ftp://(URL)",
	LINK3: "The value is not a valid link in the format (protocol)://(URL)",
	MAIL1: "The value is not a valid email address"
}

CmsFormLabels = {
	browseFiles: "Browse"
}
