could someone please take a look at this and let me know how to fix it. What I would like to happen is when the dropdown option is selected it displays the buttons for that option. and then when the button is clicked text set for that button displays in the text generator. Thank you.
<head><title>FSA DIARY COMMENTS</title><HTA:APPLICATIONBORDER="thin"BORDERSTYLE="normal"APPLICATIONNAME="FSA Diary Comment"SCROLL="yes"SINGLEINSTANCE="yes"WINDOWSTATE="normal"MAXIMIZEBUTTON="yes">MINIMIZEBUTTON="yes"></head><script language="VBScript">Sub Window_Onload    TextGeneratorTextArea.FocusEnd SubSub CopyTextGeneratorTextArea    strCopy = TextGeneratorTextArea.Value    document.parentwindow.clipboardData.SetData "text", strCopyEnd SubSub RunScript    If UserOption(0).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ AGT " &CALLERNAME.VALUE& "" End If    If UserOption(1).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ CSR " &CALLERNAME.VALUE& "" End If    If UserOption(2).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ PNI " &CALLERNAME.VALUE& "" End If    If UserOption(3).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ DRIVER " &CALLERNAME.VALUE& "" End If    If UserOption(4).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ LEINHOLDER " &CALLERNAME.VALUE& " FROM " & FINANCIALINSTITUTION.VALUE & " " End If End SubSub Button1TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "ENDORSEMENT QUOTE " & ""End SubSub Button2TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "ADVISORY" & " "End SubSub Button3TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "EXCEPTION" & " "End SubSub Button4TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "MPD" & " "End SubSub Button5TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "MILEAGE SURVEY " & " "End SubSub Button6TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "ESC  " & "  "End SubSub Button7TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED ACCOUNTING SERVICE REQUEST TO (REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button8TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED COPY QUOTE REQ TO (REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button9TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED REKEY REQ TO (REASON)EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button10TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED REQ FOR LETTER OF EXPERIENCE TO BE SENT TO: (EMAIL/FAX) EASY LINK TRANACTION ID " & TRANSID.VALUE& " "End SubSub Button11TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED NON URGENT SERVICE REQ TO:(REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button12TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED RETRO REQ TO:(REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE&"  " End SubSub Button13TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED VOID/STOP PAY ON CHECK " & CHECKNUMBER.VALUE & " ISSUED ON " &CHKDATE.VALUE& " FOR " &AMOUNT.VALUE& " (REASON WHY)AND HAVE (RESISSUED/REAPPLIED)  EASY LINK TRANSACTION ID ID: " & TRANSID.VALUE& ""End SubSub Button14TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DMV DOES NOT HAVE COMPLIANCE RECORD, SUBMITTED DMV VERIFICATION REQUEST TO VERIFY COVERAGE ON " &VINNUMBER.VALUE& " "&LPNUMBER.VALUE& " AND RESUBMIT COMPLIANCE RECORD TO DMV EASY LINK TRANSACTION ID:" &TRANSID.VALUE& ""End SubSub Button15TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADV AMOUNT DUE ON POLICY IS: " &AMOUNT.VALUE& " (REASON WHY)"End subSub Button16TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED POLICY INCREASE DUE TO RATE INCREASE ON " &DATETIME.VALUE&   " ADV AVERAGE OF 0.0% INCREASE "End SubSub Button17TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED MILEAGE SURVEY HAS NOT BEEN RETURNED CAUSING MILEAGE TO DEFAULT TO 13000" & " "End SubSub Button18TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO VERIFY REFUND STATUS. ADVISED REFUND SET TO GENERATE FOR " &AMOUNT.VALUE& " ON " &CHKDATE.VALUE& " ADVISED APROXIMATELY 7-10 BUSINESS DAYS TO ARRIVE" End SubSub Button19TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO ADD EFT ADVISED CANNOT ADD OVER THE PHONE DUE TO RECORDED LINES ADVISED NEEDS TO HAVE INSURED SIGNED DIRECT DEBIT AUTHORIZATION AGREEMENT AND CAN FAX/EMAIL FORM TO US FOR PROCESSING" & " "End SubSub Button20TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO ADD EFT ADVISED CANNOT ADD OVER THE PHONE DUE TO RECORED LINES ADVISED CAN EMAIL DIRECT DEBIT AUTHORIZATION AGREEMENT TO INSURED AND THEY CAN FAX OR EMAIL TO US OR CAN VISIT AGENT AND THEY CAN ASSIST IN SETTING THIS UP." & " "End SubSub Button21TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO TERMINATE EFT VERFIED HAS SIGNED EFT TERMINATION FORM FROM PRIMARY NAMED INSURED IN OFFICE" & ""End SubSub Button22TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO TERMINATE EFT, VERIFIED ZIP CODE " & ""End SubSub Button23TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD VEHICLE " &VINNUMBER.VALUE& " " &YEARMAKEMODEL.VALUE& " AT " &ANNMILES.VALUE& "W/ BIPD " &BIPD.VALUE& " COMP/COLL DED AT " &COMPCOLL.VALUE& " TOW AT " &TOW.VALUE& " AND RENTAL AT  " &RENTAL.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS "End SubSub Button24TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE VEHICLE " &VEHICLENUMBER.VALUE& " EFFECTIVE " &DATETIME.VALUE& " VERRIFIED SIGNED REQUEST IN OFFICE FROM PNI. APRX AP/RP: APRX FTP: NEXT PAYMENT APRX: FUTURE PAYMENTS APRX:" End SubSub Button25TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REPLACE VEHICLE " &VEHICLENUMBER.VALUE& " WITH " &VINNUMBER.VALUE& " " &YEARMAKEMODEL.VALUE& " AT " &ANNMILES.VALUE& " W/ BI/PD " &BIPD.VALUE&  " COMP/COLL DED AT " &COMPCOLL.VALUE& " TOW AT " &TOW.VALUE&  "  AND RENTAL AT " &RENTAL.VALUE& " EFFECTIVE "  &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PYMTS APRX:" End SubSub Button26TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD DRIVER " &DRIVERNAME.VALUE& " DOB:" &DATEOFBIRTH.VALUE& " DL#: " &DRIVERSLICENSENUMBER.VALUE& " YLV: " &YLV.VALUE& " ITV: " &ITV.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS: "End SubSub Button27TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE DRIVER "&DRIVERNAME.VALUE& " VERIFIED SIGNED REQUEST IN OFFICE FROM PNI REMOVED EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT APRX: FUTURE PAYMENTS APRX:" & " "End SubSub Button28TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REPLACE DRIVER " &DRIVERNUMBER.VALUE& " W/ DRIVER " &DRIVERNAME.VALUE& " DOB:" &DATEOFBIRTH.VALUE& " DL#: " &DRIVERSLICENSENUMBER.VALUE& " YLV: " &YLV.VALUE& " ITV: " &ITV.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS: " End SubSub Button29TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD SR22 TO DRIVER " &DRIVERNUMBER.VALUE& " " &DRIVERNAME.VALUE& " FOR (DUI OR INS) EFFECTIVE " &DATETIME.VALUE& " "End SubSub Button30TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE SR22 FROM DRIVER " &DRIVERNUMBER.VALUE& " " &DRIVERNAME.VALUE& " EFFECTIVE " &DATETIME.VALUE& " "End SubSub Button31TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " APPROVED NSF WAIVE FOR (WHY)" & " "End SubSub Button32TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DECLINED NSF DUE TO (WHY)" & " "End SubSub Button33TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " APPROVED PAPER DOC FEE WAIVE DUE TO (WHY)" & " "End SubSub Button34TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DECLINED PAPER DOC FEE ADV OF 5 REMINDER EMAILS AND PAPER DOC REMINDER SENT TO INSURED" & " "End SubSub Button35TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " VERIFIED SIGNED REQ IN OFFICE (DUP COV W/ FARMERS POLICY #) CNX POLICY (PIR/PIB/PFN) APRX REFUND/AMOUNT DUE: " &AMOUNT.VALUE& ""End SubSub Button36TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " INSURED REQUEST CANCEL OF POLICY ADVISED CANNOT CANCEL OVER PHONE TO SEND SIGNED WRITTEN CANCEL REQUEST TO(FAX/EMAIL) OR CONTACT AGT TO SET UP APPOINTMENT TO CANCEL POLICY " & " "End SubSub Button37TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " INQUIRE ON NON RENEWAL ADVISED NON RENEWAL DUE TO() ADVISE NEED () TO LIFT NON RENEWAL" & " "End SubSub Button38TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN REINSTATE POLICY FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button39TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN REINSTATE POLICY WITH LAPSE FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button40TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN RENEW POLICY FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& " "End SubSub Button41TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN RENEW POLICY WITH LAPSE FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button42TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND () TO 844-843-7572" & " "End SubSub Button43TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND () TO CAPOLICYSERVICE@FARMERSINSURANCE.COM" & " "End SubSub Button44TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND () TO 844-786-1599" & " "End SubSub Button45TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND () CABILLINGSERVICE@FARMERSINSURANCE.COM" & " "End SubSub Button46TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND QUOTE TO CAQUOTES@FARMERSINSURANCE.COM" & " "End SubSub Button47TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO VERIFY WHY QUOTE DECLINED. ADVISED:" & " "End SubSub Button48TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED THAT QUOTE HAS BEEN APPROVED" & " "End SubSub Button49TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED AGT THAT QUOTE HAS BEEN RECIEVED NOT PROCESSED ADVISED CAN TAKE UP TO 10 BUSINESS DAYS TO BE PROCESSED" & " "End SubSub Button50TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED AGT THAT QUOTE WAS APPROVED, REVIEWED NO CHANGES THAT EFFECT SFA, UNLOCKED" & " "End SubSub Button51TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN CHANGE POLICY TO D5 PAY PLAN. DOWN PAYMENT NEEDED " &AMOUNT.VALUE& "MONTHLY APRX: "End SubSub Button52TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN CHANGE PAY PLAN TO DB. ADVISED WE NEED DIRECT DEBIT AUTHORIZATION FORM ON FILE AND DOWN PAYMENT OF " &AMOUNT.VALUE& " UPLOADED TO POLICY. MONTHLY PAYMENTS WILL BE APRX: "End SubSub Button53TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CHANGED MAILING AND GARAGING LOCATION ON POLICY TO " &STREET.VALUE& " " &CITY.VALUE& " " &ZIPCODE.VALUE& " "End SubSub Button54TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD LH " &FINANCIALINSTITUTION.VALUE& " PO BOX " &STREET.VALUE& " " &CITY.VALUE& " " &STATE.VALUE& " " &ZIPCODE.VALUE& ""End SubSub Button55TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE ID CARDS SENT. SENT TO " & " " End SubSub Button56TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF DEC PAGE SENT TO " & " "End SubSub Button57TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF RENEWAL SENT TO " & " " End SubSub Button58TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF UNDERWRITTING LETTER SENT TO " & " " End SubSub Button59TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF PAYMENT SCHEDULE SEND TO " & " "End Sub</script><script type="text/javascript">function ChangeDropdowns(value){    if (value==""){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';              document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if (value=="forms"){        document.getElementById('formoption').style.display='block';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';          document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="bill"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='block';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';           document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="aeft"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='block';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="deft"){          document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='block';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="vehicle"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='block';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="driver"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='block';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="fee"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='block';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none'; document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';            }else if(value=="cnx"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='block';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="rnwrein"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='block';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="contact"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='block';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="sfa"){         document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='block';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="payplan"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='block';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="address"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='block';document.getElementById('documentspan').style.display='none';     }else if(value=="reqdoc"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='block';}}      </script><p><body><p><style>p {    background-color: rgb(51,154,255);} select, option {   width: 600px; }.button {    background-color:WHITE;     border: sunken;    color: 2F4F4F;    padding: 3px 3Px;    text-align: center;    text-decoration: none;    display: inline-block;    width: 98px;    font-size: 9pt; }textarea {   font-family: Segoe UI;   font-size: 10pt; }table, th, td {   border: 1px;   BORDER-COLOR: RED;   border-style: outset; }</style><a href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Endorsement_Documentation_CA44.html#Abbreviation"> ADDITIONAL DOCUMENTATION</a>   <A HREF="FORMS">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Forms_CA44.html">FORMS<a/a>   <A HREF="SHAREPOINT">http://sharepoint.farmersinsurance.com/sites/Business_Ops/FSA/SitePages/Home.aspx">SHAREPOINT<a/a>   <A HREF="PAYMENT">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Billing_Processing_CA44.html#payment_by_phone_scripts">PAYMENT SCRIPTS<a/a>   <a href="DEFECTS">http://sharepoint.farmersinsurance.com/sites/Business_Ops/FSA/Lists/Defects/Open%20Defects.aspx">DEFECTS</a>   <a href="REFERENCE">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Welcome_CA44.html">REFERENCE GUIDE</a>   <a href="LINKS">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Links_CA44.html">LINKS</a><br><a href="PSP">http://psp/Portal/Internal/Search.aspx">PSP</a>   <a href="AS400">http://faapcdp1/telnetSSL/">AS400</a>   <a href="BWP">https://www.bwproducers.com/Producers/home.aspx">BWP</a>   <a href="FSA.COM">https://www.farmersspecialtyauto.com/FarmersSpecialty/home.aspx">FSA.COM</a>   <a href="DASHBOARD">https://eagent.farmersinsurance.com/PLA/eAgent/Ade/ade?req_page=home#!evaluate">DASHBOARD</a>   <a href="CANCEL">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Cancel_Guidelines_CA44.html#Cancel_Phone_Scripts">CANCEL SCRIPT</a>   <a href="CLAIMS">http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Resources_Resources_CA44.html#Claims_Rental_Script">CLAIMS RENTAL SCRIPT</a><p></table>   CALLER NAME   <input type="text" name="CALLERNAME" size="14">      LEINHOLDER <input type="text" name="FINANCIALINSTITUTION" size="14">     TRANS ID  <input type="text" name="TRANSID" size="14">        EFFECTIVE DATE  <input type="text" name="DATETIME" size="6"><p><input type="radio" name="UserOption" value="0" onclick="runscript">AGENT  <input type="radio" name="UserOption" value="1" onclick=runscript> CSR<input type="radio" name="UserOption" value="2" onclick=runscript>PNI <input type="radio" name="UserOption" value="3" onclick=runscript>DRIVER <input type="radio" name="UserOption" value="4" onclick=runscript>LEINHOLDER<br> <p><font color="black" face="Segoe UI" size="3"><b>DIARY COMMENT</b></font><center><textarea name="TextGeneratorTextArea" rows="10" cols="73">

Recommended Answers

All 4 Replies

I've attempted to format your code so that people can actually wee what you're trying to do. However, it looks like it's cut off mid-way through. Also, my IDE didn't really do a good enough job formatting the script part. Can you please resubmit your code formatted nicely so people can see what they're looking at? It's going to be hard to convince people to make heads or tails of it the way it is.

It looks like you seem to be using some type of editor to generate all this code?

    <head>
    <title>FSA DIARY COMMENTS</title>
    <HTA:APPLICATIONBORDER ="thin"BORDERSTYLE="normal"
        APPLICATIONNAME="FSA Diary Comment" SCROLL="yes" SINGLEINSTANCE="yes"
        WINDOWSTATE="normal" MAXIMIZEBUTTON="yes">MINIMIZEBUTTON="yes">

    </head>
    <script language="VBScript">Sub Window_Onload    TextGeneratorTextArea.FocusEnd SubSub CopyTextGeneratorTextArea    strCopy = TextGeneratorTextArea.Value    document.parentwindow.clipboardData.SetData "text", strCopyEnd SubSub RunScript    If UserOption(0).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ AGT " &CALLERNAME.VALUE& "" End If    If UserOption(1).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ CSR " &CALLERNAME.VALUE& "" End If    If UserOption(2).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ PNI " &CALLERNAME.VALUE& "" End If    If UserOption(3).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ DRIVER " &CALLERNAME.VALUE& "" End If    If UserOption(4).Checked Then        TextGeneratorTextArea.value = TextGeneratorTextArea.value & "SPK W/ LEINHOLDER " &CALLERNAME.VALUE& " FROM " & FINANCIALINSTITUTION.VALUE & " " End If End SubSub Button1TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***ENDORSEMENT QUOTE*** " & ""End SubSub Button2TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***ADVISORY***" & " "End SubSub Button3TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***EXCEPTION***" & " "End SubSub Button4TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***MPD***" & " "End SubSub Button5TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***MILEAGE SURVEY*** " & " "End SubSub Button6TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & "***ESC***  " & "  "End SubSub Button7TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED ACCOUNTING SERVICE REQUEST TO (REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button8TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED COPY QUOTE REQ TO (REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button9TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED REKEY REQ TO (REASON)EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button10TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED REQ FOR LETTER OF EXPERIENCE TO BE SENT TO: (EMAIL/FAX) EASY LINK TRANACTION ID " & TRANSID.VALUE& " "End SubSub Button11TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED NON URGENT SERVICE REQ TO:(REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE& " "End SubSub Button12TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED RETRO REQ TO:(REASON) EASY LINK TRANSACTION ID: " & TRANSID.VALUE&"  " End SubSub Button13TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " SUBMITTED VOID/STOP PAY ON CHECK " & CHECKNUMBER.VALUE & " ISSUED ON " &CHKDATE.VALUE& " FOR " &AMOUNT.VALUE& " (REASON WHY)AND HAVE (RESISSUED/REAPPLIED)  EASY LINK TRANSACTION ID ID: " & TRANSID.VALUE& ""End SubSub Button14TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DMV DOES NOT HAVE COMPLIANCE RECORD, SUBMITTED DMV VERIFICATION REQUEST TO VERIFY COVERAGE ON " &VINNUMBER.VALUE& " "&LPNUMBER.VALUE& " AND RESUBMIT COMPLIANCE RECORD TO DMV EASY LINK TRANSACTION ID:" &TRANSID.VALUE& ""End SubSub Button15TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADV AMOUNT DUE ON POLICY IS: " &AMOUNT.VALUE& " (REASON WHY)"End subSub Button16TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED POLICY INCREASE DUE TO RATE INCREASE ON " &DATETIME.VALUE&   " ADV AVERAGE OF 0.0% INCREASE "End SubSub Button17TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED MILEAGE SURVEY HAS NOT BEEN RETURNED CAUSING MILEAGE TO DEFAULT TO 13000" & " "End SubSub Button18TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO VERIFY REFUND STATUS. ADVISED REFUND SET TO GENERATE FOR " &AMOUNT.VALUE& " ON " &CHKDATE.VALUE& " ADVISED APROXIMATELY 7-10 BUSINESS DAYS TO ARRIVE" End SubSub Button19TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO ADD EFT ADVISED CANNOT ADD OVER THE PHONE DUE TO RECORDED LINES ADVISED NEEDS TO HAVE INSURED SIGNED DIRECT DEBIT AUTHORIZATION AGREEMENT AND CAN FAX/EMAIL FORM TO US FOR PROCESSING" & " "End SubSub Button20TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO ADD EFT ADVISED CANNOT ADD OVER THE PHONE DUE TO RECORED LINES ADVISED CAN EMAIL DIRECT DEBIT AUTHORIZATION AGREEMENT TO INSURED AND THEY CAN FAX OR EMAIL TO US OR CAN VISIT AGENT AND THEY CAN ASSIST IN SETTING THIS UP." & " "End SubSub Button21TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO TERMINATE EFT VERFIED HAS SIGNED EFT TERMINATION FORM FROM PRIMARY NAMED INSURED IN OFFICE" & ""End SubSub Button22TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO TERMINATE EFT, VERIFIED ZIP CODE " & ""End SubSub Button23TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD VEHICLE " &VINNUMBER.VALUE& " " &YEARMAKEMODEL.VALUE& " AT " &ANNMILES.VALUE& "W/ BIPD " &BIPD.VALUE& " COMP/COLL DED AT " &COMPCOLL.VALUE& " TOW AT " &TOW.VALUE& " AND RENTAL AT  " &RENTAL.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS "End SubSub Button24TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE VEHICLE " &VEHICLENUMBER.VALUE& " EFFECTIVE " &DATETIME.VALUE& " VERRIFIED SIGNED REQUEST IN OFFICE FROM PNI. APRX AP/RP: APRX FTP: NEXT PAYMENT APRX: FUTURE PAYMENTS APRX:" End SubSub Button25TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REPLACE VEHICLE " &VEHICLENUMBER.VALUE& " WITH " &VINNUMBER.VALUE& " " &YEARMAKEMODEL.VALUE& " AT " &ANNMILES.VALUE& " W/ BI/PD " &BIPD.VALUE&  " COMP/COLL DED AT " &COMPCOLL.VALUE& " TOW AT " &TOW.VALUE&  "  AND RENTAL AT " &RENTAL.VALUE& " EFFECTIVE "  &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PYMTS APRX:" End SubSub Button26TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD DRIVER " &DRIVERNAME.VALUE& " DOB:" &DATEOFBIRTH.VALUE& " DL#: " &DRIVERSLICENSENUMBER.VALUE& " YLV: " &YLV.VALUE& " ITV: " &ITV.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS: "End SubSub Button27TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE DRIVER "&DRIVERNAME.VALUE& " VERIFIED SIGNED REQUEST IN OFFICE FROM PNI REMOVED EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT APRX: FUTURE PAYMENTS APRX:" & " "End SubSub Button28TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REPLACE DRIVER " &DRIVERNUMBER.VALUE& " W/ DRIVER " &DRIVERNAME.VALUE& " DOB:" &DATEOFBIRTH.VALUE& " DL#: " &DRIVERSLICENSENUMBER.VALUE& " YLV: " &YLV.VALUE& " ITV: " &ITV.VALUE& " EFFECTIVE " &DATETIME.VALUE& " APRX AP/RP: APRX FTP: NEXT PAYMENT: FUTURE PAYMENTS: " End SubSub Button29TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD SR22 TO DRIVER " &DRIVERNUMBER.VALUE& " " &DRIVERNAME.VALUE& " FOR (DUI OR INS) EFFECTIVE " &DATETIME.VALUE& " "End SubSub Button30TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REMOVE SR22 FROM DRIVER " &DRIVERNUMBER.VALUE& " " &DRIVERNAME.VALUE& " EFFECTIVE " &DATETIME.VALUE& " "End SubSub Button31TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " APPROVED NSF WAIVE FOR (WHY)" & " "End SubSub Button32TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DECLINED NSF DUE TO (WHY)" & " "End SubSub Button33TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " APPROVED PAPER DOC FEE WAIVE DUE TO (WHY)" & " "End SubSub Button34TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " DECLINED PAPER DOC FEE ADV OF 5 REMINDER EMAILS AND PAPER DOC REMINDER SENT TO INSURED" & " "End SubSub Button35TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " VERIFIED SIGNED REQ IN OFFICE (DUP COV W/ FARMERS POLICY #) CNX POLICY (PIR/PIB/PFN) APRX REFUND/AMOUNT DUE: " &AMOUNT.VALUE& ""End SubSub Button36TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " INSURED REQUEST CANCEL OF POLICY ADVISED CANNOT CANCEL OVER PHONE TO SEND SIGNED WRITTEN CANCEL REQUEST TO(FAX/EMAIL) OR CONTACT AGT TO SET UP APPOINTMENT TO CANCEL POLICY " & " "End SubSub Button37TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " INQUIRE ON NON RENEWAL ADVISED NON RENEWAL DUE TO(__) ADVISE NEED (__) TO LIFT NON RENEWAL" & " "End SubSub Button38TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN REINSTATE POLICY FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button39TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN REINSTATE POLICY WITH LAPSE FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button40TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN RENEW POLICY FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& " "End SubSub Button41TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN RENEW POLICY WITH LAPSE FOR " &AMOUNT.VALUE& " NEED PAYMENT PRIOR TO 12:01AM " &DATETIME.VALUE& ""End SubSub Button42TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND (___) TO 844-843-7572" & " "End SubSub Button43TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND (___) TO CAPOLICYSERVICE@FARMERSINSURANCE.COM" & " "End SubSub Button44TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND (___) TO 844-786-1599" & " "End SubSub Button45TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND (___) CABILLINGSERVICE@FARMERSINSURANCE.COM" & " "End SubSub Button46TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED TO SEND QUOTE TO CAQUOTES@FARMERSINSURANCE.COM" & " "End SubSub Button47TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CALLED TO VERIFY WHY QUOTE DECLINED. ADVISED:" & " "End SubSub Button48TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED THAT QUOTE HAS BEEN APPROVED" & " "End SubSub Button49TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED AGT THAT QUOTE HAS BEEN RECIEVED NOT PROCESSED ADVISED CAN TAKE UP TO 10 BUSINESS DAYS TO BE PROCESSED" & " "End SubSub Button50TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED AGT THAT QUOTE WAS APPROVED, REVIEWED NO CHANGES THAT EFFECT SFA, UNLOCKED" & " "End SubSub Button51TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN CHANGE POLICY TO D5 PAY PLAN. DOWN PAYMENT NEEDED " &AMOUNT.VALUE& "MONTHLY APRX: "End SubSub Button52TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADVISED CAN CHANGE PAY PLAN TO DB. ADVISED WE NEED DIRECT DEBIT AUTHORIZATION FORM ON FILE AND DOWN PAYMENT OF " &AMOUNT.VALUE& " UPLOADED TO POLICY. MONTHLY PAYMENTS WILL BE APRX: "End SubSub Button53TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " CHANGED MAILING AND GARAGING LOCATION ON POLICY TO " &STREET.VALUE& " " &CITY.VALUE& " " &ZIPCODE.VALUE& " "End SubSub Button54TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " ADD LH " &FINANCIALINSTITUTION.VALUE& " PO BOX " &STREET.VALUE& " " &CITY.VALUE& " " &STATE.VALUE& " " &ZIPCODE.VALUE& ""End SubSub Button55TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE ID CARDS SENT. SENT TO " & " " End SubSub Button56TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF DEC PAGE SENT TO " & " "End SubSub Button57TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF RENEWAL SENT TO " & " " End SubSub Button58TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF UNDERWRITTING LETTER SENT TO " & " " End SubSub Button59TextGeneratorTextArea.Value = TextGeneratorTextArea.Value & " REQUEST TO HAVE COPY OF PAYMENT SCHEDULE SEND TO " & " "End Sub</script>
    <script type="text/javascript">function ChangeDropdowns(value){    if (value==""){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';              document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if (value=="forms"){        document.getElementById('formoption').style.display='block';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';          document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="bill"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='block';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';           document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="aeft"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='block';        document.getElementById('removeeft').style.display='none'; document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="deft"){          document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='block';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="vehicle"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='block';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="driver"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='block';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="fee"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='block';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none'; document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';            }else if(value=="cnx"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='block';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="rnwrein"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='block';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="contact"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='block';document.getElementById('sfaspan').style.display='none';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="sfa"){         document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='block';document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="payplan"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='block';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='none';     }else if(value=="address"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='block';document.getElementById('documentspan').style.display='none';     }else if(value=="reqdoc"){        document.getElementById('formoption').style.display='none';document.getElementById('billoption').style.display='none';document.getElementById('addeft').style.display='none';        document.getElementById('removeeft').style.display='none';document.getElementById('vehiclespan').style.display='none';document.getElementById('driverspan').style.display='none';        document.getElementById('feewaivespan').style.display='none';document.getElementById('cancelspan').style.display='none';document.getElementById('rnwreinspan').style.display='none';        document.getElementById('contactspan').style.display='none';document.getElementById('sfaspan').style.display='none'; document.getElementById('payplanspan').style.display='none';        document.getElementById('addressspan').style.display='none';document.getElementById('documentspan').style.display='block';}}      </script>
    <p>
        <body>
            <p>
                <style>
    p {
            background-color: rgb(51, 154, 255);
    }

select, option {
       width: 600px;
}

.button {
        background-color: WHITE;
        border: sunken;
        color: 2F4F4F;
        padding: 3px 3Px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        width: 98px;
        font-size: 9pt;
}

textarea {
       font-family: Segoe UI;
       font-size: 10pt;
}

table, th, td {
       border: 1px;
       BORDER-COLOR: RED;
       border-style: outset;
}
</style>
            <a
                href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Endorsement_Documentation_CA44.html#Abbreviation">
                ADDITIONAL DOCUMENTATION</a>   <A
                HREF="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Forms_CA44.html">FORMS<a
                /a>   <A
                    HREF="http://sharepoint.farmersinsurance.com/sites/Business_Ops/FSA/SitePages/Home.aspx">SHAREPOINT<a
                        /a>   <A
                            HREF="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Billing_Processing_CA44.html#payment_by_phone_scripts">PAYMENT
                                SCRIPTS<a /a>   <a
                                    href="http://sharepoint.farmersinsurance.com/sites/Business_Ops/FSA/Lists/Defects/Open%20Defects.aspx">DEFECTS</a>   <a

                                        href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Welcome_CA44.html">REFERENCE
                                            GUIDE</a>   <a
                                        href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Main_Links_CA44.html">LINKS</a><br>
                                    <a href="http://psp/Portal/Internal/Search.aspx">PSP</a>   <a
                                        href="http://faapcdp1/telnetSSL/">AS400</a>   <a
                                        href="https://www.bwproducers.com/Producers/home.aspx">BWP</a>   <a
                                        href="https://www.farmersspecialtyauto.com/FarmersSpecialty/home.aspx">FSA.COM</a>   <a
                                        href="https://eagent.farmersinsurance.com/PLA/eAgent/Ade/ade?req_page=home#!evaluate">DASHBOARD</a>   <a
                                        href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Cancel_Guidelines_CA44.html#Cancel_Phone_Scripts">CANCEL
                                            SCRIPT</a>   <a
                                        href="http://sckmprod1.farmersinsurance.com/SPContent/Documents/SPContent/CA44/Auto_Resources_Resources_CA44.html#Claims_Rental_Script">CLAIMS
                                            RENTAL SCRIPT</a>
                                    <p>

                                        </table>   CALLER NAME   <input type="text" name="CALLERNAME"
                                        size="14">      LEINHOLDER <input type="text"
                                        name="FINANCIALINSTITUTION" size="14">     TRANS ID  <input
                                        type="text" name="TRANSID" size="14">        EFFECTIVE DATE  <input
                                        type="text" name="DATETIME" size="6">
                                    <p>
                                            <input type="radio" name="UserOption" value="0"
                                                onclick="runscript">AGENT  <input type="radio"
                                                name="UserOption" value="1" onclick=runscript> CSR<input
                                                type="radio" name="UserOption" value="2" onclick=runscript>PNI
                                            <input type="radio" name="UserOption" value="3"
                                                onclick=runscript>DRIVER <input type="radio"
                                                name="UserOption" value="4" onclick=runscript>LEINHOLDER<br> 

                                        <p>
                                            <font color="black" face="Segoe UI" size="3"><b>DIARY COMMENT</b></font>

                                        <center>
                                            <textarea name="TextGeneratorTextArea" rows="10" cols="73">

Hi I am Attempting to repost this (and a shorter version where the actual issues lies) but I am unable to. Would it be okay if I emailed this to you?

Mind that this has nothing to do with Java

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.