function verifyForm()
	{
		with(document.all.ServiceForm)
		{
			if(name.value == "")
			{
					alert('vui long nhap ten')
					name.focus()
					return false
			}
			if(code.value == "")	{
				alert('vui long nhap CMND hoac MST cua ban !')
				code.focus()
				return false
			}
			else
			{
				if(isNaN(code.value) || (code.value.length<9 || code.value.length>10))	{
						alert('Ma so phai la kieu so va co 9-10 ky tu!')
						code.focus()
						return false
					}
			}
			if(address.value == "")
			{
					alert('vui long nhap vao dia chi cua ban')
					address.focus()
					return false
			}
			if(tel.value == "")	{
				alert('vui long nhap vao so dien thoai cua ban')
				tel.focus()
				return false
			}
			else if(isNaN(tel.value))	{
						alert('Dien thoai phai la kieu so !')
						tel.focus()
						return false
					}
			if(fax.value != "")
				if (isNaN(fax.value))
				{
					alert('Fax phai la kieu so !')
					fax.focus()
					return false
				}
			if(email.value == "")	{
				alert('vui long nhap email cua ban')
				email.focus()
				return false
			}
			else	{
				if(email.value.indexOf('@') < 0 || email.value.indexOf('.') <= email.value.indexOf('@')+1)	{
					alert('Email khong dung. Vui long nhap lai. Vi du: name@company.com');
					email.focus();
					return false;
				}
			}
			if(email2.value != "")	{
				if(email2.value.indexOf('@') < 0 || email2.value.indexOf('.') <= email2.value.indexOf('@')+1)	{
					alert('Email thu 2 khong dung. Vui long nhap lai. Vi du: name@company.com');
					email2.focus();
					return false;
				}
			}

			if(service.value == 0)
			{
					alert('hay chon dich vu muon dang ky')
					service.focus()
					return false
			}
			if(duetime.value == 0)
			{
					alert('hay nhap vao thoi gian hen cua Quy khach!')
					duetime.focus()
					return false
			}
			if(security2.value == "")
			{
					alert('hay nhap vao ma so bao ve')
					security2.focus()
					return false
			}
			if(security2.value != security.value)
			{
					alert('ma so bao ve nhap vao khong dung!')
					security2.focus()
					return false
			}
			if(message.value == '')
			{
					alert('hay nhap vao noi dung yeu cau!')
					message.focus()
					return false
			}
		}
}
