﻿var PB = (function()
{
	var pb = {};

	var memberEmailAddresses = [];
	var txtMemberEmailAddressesClientID = '';
	var chkSelectAllClientID = '';

	pb.resetContactForm = function(
		txtNameClientID,
		txtEmailClientID,
		txtPhoneClientID,
		txtQuestionCommentsClientID)
	{
		if (txtNameClientID)
		{
			var txtName = document.getElementById(
				txtNameClientID);

			if (txtName)
			{
				txtName.value = '';
			}
		}

		if (txtEmailClientID)
		{
			var txtEmail = document.getElementById(
				txtEmailClientID);

			if (txtEmail)
			{
				txtEmail.value = '';
			}
		}

		if (txtPhoneClientID)
		{
			var txtPhone = document.getElementById(
				txtPhoneClientID);

			if (txtPhone)
			{
				txtPhone.value = '';
			}
		}

		if (txtQuestionCommentsClientID)
		{
			var txtQuestionsComments = document.getElementById(
				txtQuestionCommentsClientID);

			if (txtQuestionsComments)
			{
				txtQuestionsComments.value = '';
			}
		}

		return false;
	};

	return pb;
})();