// validate function for Canadian bankrutpcy city sites
function validate( form ){



  if ( form.contact.value.length < 1 ) {

    alert( "Please enter an email address or phone number so that we can get back to you with a response to your question." );

    return false;

  }

  if ( form.message.value.length < 1 ) {

    alert( "Please enter a message or question.  Our team is pleased to help." );

    return false;

  }

  return true;

}
function validateblogquestion(form)
{
	if ( form.subject.value.length < 1 ) 
	{
		alert( "Please enter a subject of your question." );
		form.subject.focus();
		return false;
	}
	if ( form.message.value.length < 1 ) 
	{
		alert( "Please enter a question.  Our team is pleased to help." );
		form.message.focus();
		return false;
	}
	return true;
}

function validatenoteboxemail( form ){



  if ( form.noteboxcontact.value.length < 1 ) {

    alert( "Please enter an email address or phone number so that we can get back to you with a response to your question." );

    return false;

  }

  if ( form.noteboxmessage.value.length < 1 ) {

    alert( "Please enter a message or question.  Our team is pleased to help." );

    return false;

  }

  return true;

}