function UpdateInfo()
{
  emailoptions = document.emailform.subject.options[document.emailform.subject.selectedIndex];
  emailto = document.emailform.elements["to"];
  emailto.value = "admin@smtp.vci.net";
  emailbody = document.emailform.elements["body"];
  helplink = document.getElementById("link");
  helplinkinnerHTML = "";
  desclink = document.getElementById("desc");
  desclink.innerHTML = "";

if (emailoptions.value == "Spam")
   {
    emailto.value = "abuse@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/support/email/spamwatch.php>http://www.vci.net/support/email/spamwatch.php</a>";
   }
else if (emailoptions.value == "Blank")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
   }
else if (emailoptions.value == "Classifieds")
   {
    emailto.value = "admin@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://classifieds.vci.net/>http://classifieds.vci.net/</a>";
    desclink.innerHTML = "The VCI Classifieds are free classifieds service provided by VCI Internet Services. Click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Linux")
   {
    emailto.value = "admin@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/support/>http://www.vci.net/support/</a>";
   }
else if (emailoptions.value == "VCI Gold")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/support/vcigold/>http://www.vci.net/support/vcigold/</a>";
    desclink.innerHTML = "VCI Gold is an add-on to your existing dialup service. This service can increase your web surfing speed up to 7 times and is free to existing VCI dialup customers. Click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Extra Mailbox")
   {
    emailto.value = "acct@smtp.vci.net";
    helplink.innerHTML = "<a href=http://www.vci.net/services/mailbox.php>http://www.vci.net/services/mailbox.php</a>";
    desclink.innerHTML = "VCI provides extra mailboxes with some accounts. Click the 'Helpful Link' above to determine if you are eligible for another mailbox. To setup another mailbox call or email VCI with the username and password you would like to use with the mailbox.";
   }
else if (emailoptions.value == "FTTU")
   {
    emailto.value = "sales@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/fttu.php>http://www.vci.net/services/fttu.php</a>";
    desclink.innerHTML = "FTTU, or Fiber to the User, is a service offered in Paducah using Paducah Power System's FiberNet. Click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Windows")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/support/>http://www.vci.net/support/</a>";
   }
else if (emailoptions.value == "Suggestions")
   {
    emailto.value = "admin@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/>http://www.vci.net/</a>";
   }
else if (emailoptions.value == "Mac")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/support/>http://www.vci.net/support/</a>";
   }
else if (emailoptions.value == "Other")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/>http://www.vci.net/</a>";
   }
else if (emailoptions.value == "Busy Signal Report")
   {
    emailbody.value = "\nTime of busy signal? \n\nWhat city do you live in? \n\nWhich VCI number do you use? \n\nDo you have call waiting? \n\nWas the busy signal a 'fast busy signal' or a 'normal busy signal'?\n ";
    emailto.value = "support@smtp.vci.net";
    helplink.innerHTML = "<a href=http://www.vci.net/support/phonenumbers/>http://www.vci.net/support/phonenumbers/</a>";
    desclink.innerHTML = "If you receive a 'busy signal' on a VCI dialup number please let us know. We have many phone numbers you can use. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "DSL Question")
   {
    emailbody.value = "DSL is a service we add to your phone line. Please include the phone number you are inquiring about DSL for: ";
    emailto.value = "support@smtp.vci.net";
    helplink.innerHTML = "<a href=http://www.vci.net/support/dsl/>http://www.vci.net/support/dsl/</a>";
    desclink.innerHTML = "VCI's DSL service allows you to have high speed internet service using your phone line. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "56k")
   {
     emailto.value = "support@smtp.vci.net";
     emailbody.value = "What brand of modem do you have:\nVCI Number Called:";
     helplink.innerHTML = "<a href=http://www.vci.net/support/dialup/>http://www.vci.net/support/dialup/</a>";
   }
else if (emailoptions.value == "Email Question")
   {
    emailbody.value = "";
    emailto.value = "support@smtp.vci.net";
    helplink.innerHTML = "<a href=http://www.vci.net/support/email/>http://www.vci.net/support/email/</a>";
   }
else if (emailoptions.value == "Telephone Service")
   {
    emailto.value = "sales@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/telephone.php>http://www.vci.net/services/telephone.php</a>";
    desclink.innerHTML = "Telephone service is offered in the Paducah, Reidland and Lone Oak areas at $35 / month with long distance costing 4.5 cents per minute.";
   }

else if (emailoptions.value == "800 Access")
   {
    emailto.value = "acct@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/800.php>http://www.vci.net/services/800.php</a>";
    desclink.innerHTML = "Our 800 service is for customers who need internet service while traveling abroad. Click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Business Web Page")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/hosting/business.php>http://www.vci.net/services/hosting/business.php</a>";
    desclink.innerHTML = "VCI provides web hosting and design services for businesses. Click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Disconnect Problem")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "If you complete the information below our tech support can call you and fix this problem. Please complete each question.\n\nCity you live in:\nYour computer brand:\nWindows version:\nYour modem name:\nYour phone number:\nDo you have call waiting:\nAny further details you can give?";
    helplink.innerHTML = "<a href=http://www.vci.net/support/dialup/telco.php>http://www.vci.net/support/dialup/telco.php</a>";
    desclink.innerHTML = "At times a dialup customer can find themselves experiencing disconnects. These problems can be incredibly  frustrating. If you are having a disconnect problem click the 'Helpful Link' above for more details or call our office for assistance. We can offer several suggestions to help you resolve the issue.";
   }
else if (emailoptions.value == "Internet Access")
   {
    emailbody.value = "";
    emailto.value = "support@smtp.vci.net";
    helplink.innerHTML = "<a href=http://www.vci.net/services/>http://www.vci.net/services/</a>";
    desclink.innerHTML = "VCI has been providing internet services to western Kentucky since 1995. We now offer many types of internet access service ranging from 56k dialup service to DSL to very high speed fiber service. To learn more about our internet access services please click the 'Services' option at the top of the page or call VCI to speak with a salesperson.";
   }
else if (emailoptions.value == "Personal Web Page")
   { 
    emailbody.value = "";
    helplink = "<a href=http://www.vci.net/services/hosting/personal.php>http://www.vci.net/services/hosting/personal.php</a>";
    desclink.innerHTML = "VCI provides a small amount of space for anyone wanting to build a personal homepage. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Billing Question")
   {
    emailto.value = "acct@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/billing.php>http://www.vci.net/services/billing.php</a>";
    desclink.innerHTML = "Our billing procedures are outlined on our 'Billing Procedures' page. Most billing questions can be answered on this page. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "WebMail")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://webmail.vci.net/>http://webmail.vci.net/</a>";
    desclink.innerHTML = "VCI provides a WebMail interface for all email accounts hosted at VCI. WebMail is an alternate method of using email without using a single computer in a set location. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "SpamWatch")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/spamwatch/>http://www.vci.net/services/spamwatch/</a>";
   }
else if (emailoptions.value == "Web Site Hosting - Frontpage")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/hosting/business.php>http://www.vci.net/services/hosting/business.php/</a>";
    desclink.innerHTML = "Our Frontpage web hosting is a popular service allowing businesses to manage their own web site using the popular Microsoft Frontpage program. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Web Site Hosting - Unix")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/hosting/business.php>http://www.vci.net/services/hosting/business.php</a>";
    desclink.innerHTML = "Our Linux web hosting allows the more technical designers to manage their own web site using popular open source software such as Perl, PHP and MySQL. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "VOIP")
   {
    emailto.value = "sales@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/voip.php>http://www.vci.net/services/voip.php</a>";
    desclink.innerHTML = "VOIP, or 'voice over IP', is a telephone service that uses your high speed internet connection. VCI will be offering this service soon. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "WebWatch Filtering")
   {
    emailto.value = "support@smtp.vci.net";
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/webwatch/>http://www.vci.net/services/webwatch/</a>";
    desclink.innerHTML = "Our WebWatch filtering service is for our internet acess customers needing to internet sites containing nudity, pornography, gambling, etc.. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "VirusWatch")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/viruswatch/>http://www.vci.net/services/viruswatch/</a>";
    desclink.innerHTML = "Our VirusWatch filtering service blocks emails infected with viruses. This service protects all email accounts VCI hosts. Please click the 'Helpful Link' above for more details.";
   }
else if (emailoptions.value == "Email+ For Business")
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/services/plus/>http://www.vci.net/services/plus/</a>";
    desclink.innerHTML = "Our Email+ For Business service is for businesses wishing to outsource their spam and virus filtering while continuing to manage their own mail service. Please click the 'Helpful Link' above for more details.";
   }
else
   {
    emailbody.value = "";
    helplink.innerHTML = "<a href=http://www.vci.net/>http://www.vci.net/</a>";
   }
return true;
}

function ValidateEmailForm()
  {
      if ( document.emailform.subject.options[document.emailform.subject.selectedIndex].value == "" )
         {
          alert("Please select a subject.");
          document.emailform.subject.focus();
          return (false);
         }
      if ( document.emailform.name.value == "" )
         {
          alert("Please enter your name.");
          document.emailform.name.focus();
          return (false);
         }
      if ( document.emailform.email.value == "" )
         {
          alert("Please enter your email address.");
          document.emailform.email.focus();
          return (false);
         }
      if ( document.emailform.body.value == "" )
         {
          alert("Please enter your message.");
          document.emailform.body.focus();
          return (false);
         }
      if ( document.emailform.captcha_code.value == "" )
         {
          alert("Please type the letters or numbers.");
          document.emailform.captcha_code.focus();
          return (false);
         }
      return (true);
  }
