function validateWebForm()
{
	formName = document.getElementById('webFrm');
	if(!notnullpat.test(formName.nameTxt.value))
	{
		alert("Enter your name.");
		formName.nameTxt.select();
		return false;
	}
	if(!noSplCharpat.test(formName.nameTxt.value))
	{
		alert(blockedChars);
		formName.nameTxt.select();
		return false;
	}
	if(!notnullpat.test(formName.emailTxt.value))
	{
		alert("Enter your valid E-mail ID.");
		formName.emailTxt.select();
		return false;
	}
	if(!emailpat.test(formName.emailTxt.value))
	{
		alert("Enter your valid E-mail ID.");
		formName.emailTxt.select();
		return false;
	}
	if(formName.orgTxt.value)
	{
		if(!noSplCharpat.test(formName.orgTxt.value))
		{
			alert(blockedChars);
			formName.orgTxt.select();
			return false;
		}
	}
	if(formName.designTxt.value)
	{
		if(!noSplCharpat.test(formName.designTxt.value))
		{
			alert(blockedChars);
			formName.designTxt.select();
			return false;
		}
	}
	if(formName.addressTxt.value)
	{
		if(!noSplCharpat.test(formName.addressTxt.value))
		{
			alert(blockedChars);
			formName.addressTxt.select();
			return false;
		}
	}

	if(formName.phoneTxt.value)
	{
		if(!rephonepat.test(formName.phoneTxt.value))
		{
			alert("Enter your valid Phone Number.");
			formName.phoneTxt.select();
			return false;
		}
	}

	if(!notnullpat.test(formName.commentsTxt.value))
	{
		alert("Enter your comments.");
		formName.commentsTxt.select();
		return false;
	}
	if(!noSplCharpat.test(formName.commentsTxt.value))
	{
		alert(blockedChars);
		formName.commentsTxt.select();
		return false;
	}

	document.getElementById('hideValidate').value = 1;
	document.getElementById('webFrm').action = "how-can-i-help-u.php";
	document.getElementById('webFrm').submit();

}
