function noBlanks (f)
{
    var i, e;
    for (i=0; i<f.elements.length; i++)
    {
       e = f.elements[i];

        switch (e.type)
        {
        case 'select-one':
            if (e.selectedIndex == 0)
            {
                alert ("Please select a state.");
                return false;
            }
        break;
        case 'text':
			if (e.name == 'WorkPhone')
			{
				continue; // for the honeypot
			}
            if (e.value.length == 0)
            {
                alert ("Please fill out all form fields.");
                return false;
            }
        break;
        case 'checkbox':
            if (!e.checked)
            {
                alert ("You must agree to our Terms of Use and Privacy Policy to continue.");
                return false;
            }
        break;

        }

    }
   
    return true;

}



