function boxexpand()
{
NameboxValue=document.all.Name.value.length
NameboxSize=document.all.Name.size
minNum=10 // Set this to the MINIMUM size you want your box to be.
maxNum=100 // Set this to the MAXIMUM size you want your box to be.
if (NameboxValue > maxNum)
  {
  }
else
{
  if (NameboxValue > minNum)
    {
      document.all.Name.size = NameboxValue
    }
  else if (NameboxValue < minNum || NameboxValue != minNum)
    {
      document.all.Name.size = minNum
    }
}
EmailboxValue=document.all.Email.value.length
EmailboxSize=document.all.Email.size
minNum=10 // Set this to the MINIMUM size you want your box to be.
maxNum=100 // Set this to the MAXIMUM size you want your box to be.
if (EmailboxValue > maxNum)
  {
  }
else
{
  if (EmailboxValue > minNum)
    {
      document.all.Email.size = EmailboxValue
    }
  else if (EmailboxValue < minNum || EmailboxValue != minNum)
    {
      document.all.Email.size = minNum
    }
}
PhoneboxValue=document.all.Phone.value.length
PhoneboxSize=document.all.Phone.size
minNum=10 // Set this to the MINIMUM size you want your box to be.
maxNum=100 // Set this to the MAXIMUM size you want your box to be.
if (PhoneboxValue > maxNum)
  {
  }
else
{
  if (PhoneboxValue > minNum)
    {
      document.all.Phone.size = PhoneboxValue
    }
  else if (PhoneboxValue < minNum || PhoneboxValue != minNum)
    {
      document.all.Phone.size = minNum
    }
}
MessageboxValue=document.all.Message.value.length
MessageboxSize=document.all.Message.size
minNum=15 // Set this to the MINIMUM size you want your box to be.
maxNum=100 // Set this to the MAXIMUM size you want your box to be.
if (MessageboxValue > maxNum)
  {
  }
else
{
  if (MessageboxValue > minNum)
    {
      document.all.Message.size = MessageboxValue
    }
  else if (MessageboxValue < minNum || MessageboxValue != minNum)
    {
      document.all.Message.size = minNum
    }
}
}

function checkFields()
	{
	  if (document.contact.Name.value == "Your Name")
	   {
	    alert("Please enter your name.")
		document.contact.Name.focus();
		return false;
		}

	  if (document.contact.Email.value == "Your Email" &&
		 document.contact.Phone.value == "Your Phone")
	   {
	    alert("You need to submit either an email address or a phone number \n in order for us to contact you.")
		document.contact.Email.focus();
		return false;
		}


		if ((document.contact.Email.value != "Your Email" && 
		document.contact.Email.value != "") &&
		(document.contact.Email.value.indexOf ('@',0) == -1 &&
		document.contact.Email.value.indexOf ('.',0) == -1))
		{
		alert ("Your email address does not appear to be valid. \n Please re-enter your email address.")
		document.contact.Email.select();
		document.contact.Email.focus();
		return false;
		}

return true;

	}