	function validate_form() 
	{
		var validnum = "0123456789";
		
		//Validate Merchant Name
		if (document.frm.merchantName.value == "")
		{
			alert('Please enter your Merchant Registered Trading Name.');
			document.frm.merchantName.focus();
			return false;
		}

		//Validate Outlet Name
		if (document.frm.outletName.value == "")
		{
			alert('Please enter your Outlet Name.');
			document.frm.outletName.focus();
			return false;
		}

		//Validate Business Industry
		if (document.frm.businessIndustry.selectedIndex == 0 || document.frm.businessIndustry.selectedIndex == 1)
		{
			alert('Please select a relevant Business Industry.');
			document.frm.businessIndustry.focus();
			return false;
		} else {
			var StatusBusiness = document.frm.businessIndustry.selectedIndex;
				if (document.getElementById('businessIndustry').options[StatusBusiness].text == "Others"){
								if (document.frm.businessIndustry_others.value == ""){
									alert('Please specify your Business Industry.');
									document.frm.businessIndustry_others.focus();
									return false;
								}
				}
		}
		
		if (document.frm.businessIndustry.selectedIndex == 24)
		{
			if (document.frm.businessIndustry_others.value == "")
			{
				alert('Please specify your Business Industry.');
				document.frm.businessIndustry_others.focus();
				return false;
			}
		}
		

		//Validate Contact Person
		if (document.frm.contactPerson.value == "")
		{
			alert('Please enter the name of a Contact Person for your Company.');
			document.frm.contactPerson.focus();
			return false;
		}
			
		//Validate contactOffice
		if (document.frm.contactOffice.value.length >= 8)
		{
			if (document.frm.contactOffice.value.substring(0,1) != "6")
			{
					alert('Please enter a valid Office Contact Number.');
					document.frm.contactOffice.focus();
					return false;
			}
			
			for (var i=0; i<document.frm.contactOffice.value.length; i++)
			{
				temp = "" + document.frm.contactOffice.value.substring(i,i+1);
				if (validnum.indexOf(temp) == -1)
				{
					alert('Please enter only numerical characters for Office Contact Number.');
					document.frm.contactOffice.focus();
					return false;
				}
			}
		}
		else if (document.frm.contactOffice.value.length == 0)
		{
			alert('Please enter your Office Contact Number.');
			document.frm.contactOffice.focus();
			return false;
		}
		else
		{
			alert('Please enter a valid Office Contact Number.');
			document.frm.contactOffice.focus();
			return false;
		}
		
		//Validate contactMobile
		if (document.frm.contactMobile.value.length >= 8)
		{
			if (document.frm.contactMobile.value.substring(0,1) != "9" && document.frm.contactMobile.value.substring(0,1) != "8")
			{
					alert('Please enter a valid Mobile Number.');
					document.frm.contactMobile.focus();
					return false;
			}
			
			for (var i=0; i<document.frm.contactMobile.value.length; i++)
			{
				temp = "" + document.frm.contactMobile.value.substring(i,i+1);
				if (validnum.indexOf(temp) == -1)
				{
					alert('Please enter only numerical characters for Mobile Contact Number.');
					document.frm.contactMobile.focus();
					return false;
				}
			}
		}
		else if (document.frm.contactMobile.value.length == 0)
		{
			alert('Please enter the Mobile Contact Number of the identified Contact Person.');
			document.frm.contactMobile.focus();
			return false;
		}
		else
		{
			alert('Please enter the Mobile Contact Number of the identified Contact Person.');
			document.frm.contactMobile.focus();
			return false;
		}
		
		//Validate contactFax
		if (document.frm.contactFax.value.length >= 8)
		{
			if (document.frm.contactFax.value.substring(0,1) != "6")
			{
					alert('Please enter a valid Fax Number.');
					document.frm.contactFax.focus();
					return false;
			}
			
			for (var i=0; i<document.frm.contactFax.value.length; i++)
			{
				temp = "" + document.frm.contactFax.value.substring(i,i+1);
				if (validnum.indexOf(temp) == -1)
				{
					alert('Please enter only numerical characters for Fax Number.');
					document.frm.contactFax.focus();
					return false;
				}
			}
		}
		
		//Validate Contact Email	
		if (document.frm.contactEmail.value != "")
		{
			if ((document.frm.contactEmail.value.indexOf("@") == -1) || (document.frm.contactEmail.value.indexOf(".") == -1))
			{
				alert('Please enter a valid Email Address.');
				document.frm.contactEmail.focus();
				return false;
			}
		}
		
		//Validate Participating Outlets
		if (document.frm.participating_outlets.value == "")
		{
			alert('Please enter number of participating outlets.');
			document.frm.participating_outlets.focus();
			return false;
		}
		
		//Validate Proposed Promotion
		if (document.frm.proposed_promotion.value == "")
		{
			alert('Please enter your proposed promotion.');
			document.frm.proposed_promotion.focus();
			return false;
		}
		
	}