function chkFormular2(Language)
{
	//alert('checkform');
	//
	chkError = false;
	for (i = 0; i < document.all.length; i++)
	{
		if (document.all(i).getAttribute("mandatory"))
		{
			if (document.all(i).getAttribute("mandatory") == 1)
			{
				FieldName = document.all(i).name;
				switch (document.all(i).tagName)
				{
					
					case "SELECT":
								if (document.all(i).selectedIndex == -1)
									chkError = true;
								else if (document.all(i).options(document.all(i).selectedIndex).text == "")
									chkError = true;
								break;
					case "INPUT":
								if (document.all(i).value == "")
									chkError = true;
								break;
					case "TEXTAREA":
								if (document.all(i).innerText == "")
									chkError = true;
								break;
				}
				if (chkError)
				{
					
					if (Language == "en") {
						switch (FieldName)
						{
							case "Anrede":
								FieldName = "Form of address";
								break;
							case "titel":
								FieldName = "Title";
								break;
							case "vorname":
								FieldName = "Name";
								break;
							case "nachname":
								FieldName = "Surname";
								break;
							case "firma":
								FieldName = "Company";
								break;
							case "strasse":
								FieldName = "Address";
								break;
							case "plz":
								FieldName = "ZIP";
								break;
							case "ort":
								FieldName = "City";
								break;
							case "Land":
								FieldName = "Country";
								break;
							case "email":
								FieldName = "email";
								break;
						}
					}
					switch (Language)
					{
						case "de":	
								msg = "Geben Sie bitte einen Wert für das Feld <" + FieldName + "> an!";
								break;
						case "en":	
								msg = "Please enter a value for the field <" + FieldName + ">!";
								break;
					}
					alert(msg);
					document.all(i).focus();
					return false;
				}
			}
		}
	}
}