function checkSeekerForm(f, blnJoin) {

		if (blnJoin) {
				if (!checkNull(f.userID, "Please, fill user ID", true)) {
				return false;
			}
			if (f.userID.value.length < 4 || f.userID.value.length > 12) {
					alert("length of userID shoude be more than 4 AND less than 13");
					f.userID.focus();
					return false;
			}
		}		
		if (blnJoin || f.userPwd.value != "") {
			if (!checkNull(f.userPwd, "Please, fill user Password", true)) {
				return false;
			}
			if (f.userPwd.value.length < 4 || f.userPwd.value.length > 12) {
					alert("length of userPwd shoude be more than 4 AND less than 13");
					f.userPwd.focus();
					return false;
			}
		}
		if (!checkNull(f.userName, "Please, fill your Name", true)) {
			return false;
		}
		/*
		if (!hasCheckedBox(f.language)) {
				alert("Please, choose language that you speak");
				return false;
		}
		*/
		if (!checkNull(f.tel_1, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!checkNull(f.tel_2, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!checkNull(f.tel_3, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!isValidEmail(f.email)) {
				alert("Please, fill your email");
				f.email.focus();
				return false;
		}
		if (!checkNull(f.address, "Please, fill your address", true)) {
			return false;
		}

		var seq = (f.industry.selectedIndex) + 1;	
		var obj = eval("f.exPosition" + seq);
		f.exPosition.value = obj.value;
}

function checkEmployerForm(f, blnJoin) {

		if (blnJoin) {
				if (!checkNull(f.userID, "Please, fill user ID", true)) {
				return false;
			}
			if (f.userID.value.length < 4 || f.userID.value.length > 12) {
					alert("length of userID shoude be more than 4 AND less than 13");
					f.userID.focus();
					return false;
			}
		}		
		if (blnJoin || f.userPwd.value != "") {
			if (!checkNull(f.userPwd, "Please, fill user Password", true)) {
				return false;
			}
			if (f.userPwd.value.length < 4 || f.userPwd.value.length > 12) {
					alert("length of userPwd shoude be more than 4 AND less than 13");
					f.userID.focus();
					return false;
			}
		}
		if (!checkNull(f.userName, "Please, fill organization", true)) {
			return false;
		}		
		if (!checkNull(f.tel_1, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!checkNull(f.tel_2, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!checkNull(f.tel_3, "Please, fill your telephone number", true)) {
			return false;
		}
		if (!isValidEmail(f.email)) {
				alert("Please, fill your email");
				f.email.focus();
				return false;
		}
		if (!checkNull(f.address, "Please, fill your address", true)) {
			return false;
		}

		var seq = (f.industry.selectedIndex) + 1;	
		var obj = eval("f.exPosition" + seq);
		f.exPosition.value = obj.value;				
}

