    // 
    // MODIFICATION HISTORY
    //
    // 06-09-2004: Added email formatter for contact page.
    // 05-26-2004: Initial coding 
    // 

    function TurnEverythingOff() // Turns everything off
      {
        // Turn all other languages off
           document.getElementById('EngTran').style.display = 'none';
           document.getElementById('FreTran').style.display = 'none';
           document.getElementById('EspTran').style.display = 'none';
           document.getElementById('DeuTran').style.display = 'none';
           document.getElementById('NTxTran').style.display = 'none';
      }


    function ChooseEnglish() // Turns on the English text
      {
        // Turn all other languages off
           TurnEverythingOff();
        // Turn English on
           document.getElementById('EngTran').style.display = 'inline';
      }

    function ChooseFrench() // Turns on the French text
      {
        // Turn all other languages off
           TurnEverythingOff();
        // Turn French on
        // document.getElementById('FreTran').style.display = 'inline';
      }

    function ChooseSpanish() // Turns on the Spanish text
      {
        // Turn all other languages off
           TurnEverythingOff();
        // Turn French on
        // document.getElementById('EspTran').style.display = 'inline';
      }

    function ChooseGerman() // Turns on the German text
      {
        // Turn all other languages off
           TurnEverythingOff();
        // Turn French on
        // document.getElementById('DeuTran').style.display = 'inline';
      }

    function ChooseNoText() // Turns off all text
      {
        // Turn all other languages off
           TurnEverythingOff();
      }

    function update_message_body()
      // This function composes an e-mail message using the contents of 
      // another form on the same page.
      {
        var PM_Question = document.Contact.PM_Question.value;
        var UserName = document.Contact.UserName.value;
        var Company = document.Contact.Company.value;
        var Address1 = document.Contact.Address1.value;
        var Address2 = document.Contact.Address2.value;
        var City = document.Contact.City.value;
        var State = document.Contact.State.value;
        var ZIPCode = document.Contact.ZIPCode.value;
        var Country = document.Contact.Country.value;
        var Phone = document.Contact.Phone.value;
        var Email = document.Contact.Email.value;
        var HowDidYouHear_Mag = document.Contact.HowDidYouHear[0].checked;
        var HowDidYouHear_Ref = document.Contact.HowDidYouHear[1].checked;
        var HowDidYouHear_Tra = document.Contact.HowDidYouHear[2].checked;
        var HowDidYouHear_Usr = document.Contact.HowDidYouHear[3].checked;
        var HowDidYouHear_Web = document.Contact.HowDidYouHear[4].checked;
        var RapidPCB = document.Contact.RapidPCB.checked;
        var SMTStencil = document.Contact.SMTStencil.checked;
        var HDI = document.Contact.HDI.checked;
        var CurrentDate = new Date();

        document.ProxyForm.MessageBody.value = "\n\n" + "-= Start of Message =-" + "\n\n"
                                                + "Question from ProtoMat FAQ" + "\n\n"
                                                + "Time received: " + CurrentDate + "\n\n"
                                                + "Question asked: " + PM_Question + "\n\n"
                                                + "User Name: " + UserName + "\n\n"
                                                + "Company: " + Company + "\n\n"
                                                + "Address line 1: " + Address1 + "\n\n"
                                                + "Address line 2: " + Address2 + "\n\n"
                                                + "City: " + City + "\n\n"
                                                + "State: " + State + "\n\n"
                                                + "ZIP Code: " + ZIPCode + "\n\n"
                                                + "Country: " + Country + "\n\n"
                                                + "Phone: " + Phone + "\n\n"
                                                + "Email: " + Email + "\n\n"
                                                + "They heard about us in a magazine: " + HowDidYouHear_Mag + "\n\n"
                                                + "They were referred to us: " + HowDidYouHear_Ref + "\n\n"
                                                + "They met us at a trade show: " + HowDidYouHear_Tra + "\n\n"
                                                + "They're a previous user: " + HowDidYouHear_Usr + "\n\n"
                                                + "They found us by using a search engine: " + HowDidYouHear_Web + "\n\n"
                                                + "Are they interestd in Rapid PCB Prototyping: " + RapidPCB + "\n\n"
                                                + "Are they interestd in SMT Stencil Technology: " + SMTStencil + "\n\n"
                                                + "Are they interested in HDI Circuitry and Microvia Formation: " + HDI + "\n\n"
                                                + "\n\n" + "-= End of Message =-";
        return true;
      }

