		function checkInfo()
		{
			window.document.getElementById('lblName').style.color = '#000574';
			window.document.getElementById('lblBusinessAdd').style.color = '#000574';
			window.document.getElementById('lblBillingAdd').style.color = '#000574';
			window.document.getElementById('lblCity').style.color = '#000574';
			window.document.getElementById('lblState').style.color = '#000574';
			window.document.getElementById('lblZipCode').style.color = '#000574';
			window.document.getElementById('lblTelephone').style.color = '#000574';
			window.document.getElementById('lblDate').style.color = '#000574';
			
			var stop = blankField('LegalName'); 
			if(stop)
				showError('LegalName', 'lblName');
			if(!stop)
			{			
				stop = blankField('Business_Address');
				if (stop)				
					showError('Business_Address', 'lblBusinessAdd');
			}
			if(!stop)
			{			
				stop = blankField('Billing_Address');
				if (stop)				
					showError('Billing_Address', 'lblBillingAdd');
			}
			if(!stop)
			{			
				stop = blankField('City');
				if (stop)				
					showError('City', 'lblCity');
			}
			if(!stop)
			{			
				stop = blankField('State');
				if (stop)				
					showError('State', 'lblState');
			}
			if(!stop)
			{			
				stop = blankField('Zip');
				if (stop)				
					showError('Zip', 'lblZipCode');
			}		
			if(!stop)
			{	
				var expPhone = /^1?\d{10}$/
				stop = blankField('Tel');
				if (stop)				
					showError('Tel', 'lblTelephone');
				else
				{
					sPhoneNumber = window.document.getElementById('Tel').value; 
					sPhoneNumber = StripCharsNotInBag(sPhoneNumber, '0123456789');
					if (!expPhone.test(sPhoneNumber))
					{
						showError('Tel', 'lblTelephone');
						stop = true;
					}		
				}
			}		
			if(!stop)
			{			
				stop = blankField('DBO_D');
				if (stop)				
					showError('DBO_D', 'lblDate');
			}
			if(!stop)
			{			
				stop = blankField('DBO_M');
				if (stop)				
					showError('DBO_M', 'lblDate');
			}		
			if(!stop)
			{			
				stop = blankField('DBO_Y');
				if (stop)				
					showError('DBO_Y', 'lblDate');
			}
			return !stop;						
		}
		
		function blankField(name) 
		{
			return (window.document.getElementById(name).value == '');
		}
		
		function showError(name, label)
		{
			window.document.getElementById(name).focus();
			window.document.getElementById(label).style.color = '#ff0000';
			window.document.getElementById('lblError').innerText = "Please Fill out the highlighted field";			
		}
		
		function StripCharsNotInBag(sString, sBag)
		{
		var iIndex, sCurrentChar;
		var sReturnString = '';
		    // Search through string's characters one by one.
		    // If character is in the bag, append to returnString.
		    for (iIndex = 0; iIndex < sString.length; iIndex++) {   
		        sCurrentChar = sString.charAt(iIndex);
		        if (sBag.indexOf(sCurrentChar) != -1) 
					sReturnString += sCurrentChar;
		    }

		    return sReturnString;
		}
