{"id":2993,"date":"2021-07-31T12:01:25","date_gmt":"2021-07-31T16:01:25","guid":{"rendered":"https:\/\/joinpasidev.org\/?page_id=2993"},"modified":"2026-02-21T14:56:34","modified_gmt":"2026-02-21T19:56:34","slug":"findreps","status":"publish","type":"page","link":"https:\/\/joinpasidev.org\/index.php\/findreps\/","title":{"rendered":"FindReps"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2993\" class=\"elementor elementor-2993\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2c1e3af elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2c1e3af\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8e7a479\" data-id=\"8e7a479\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-84c31c4 elementor-widget elementor-widget-heading\" data-id=\"84c31c4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h6 class=\"elementor-heading-title elementor-size-default\"><h5 class=\"english switchpolish\" id=\"congressenglish\" style=\"color:blue;text-align:center;text-decoration:underline\">po polsku<\/h5><h5 class=\"polish switchenglish\" id=\"congresspolish\" style=\"color:blue;text-align:center;text-decoration:underline;display:none\">english<\/h5>\n<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e7c22a2 uael-gf-ajax-yes uael-gf-input-size-md uael-gf-check-yes uael-gf-style-box uael-gf-enable-classes-no uael-gf-button-left uael-gf-btn-size-sm elementor-widget elementor-widget-uael-gf-styler\" data-id=\"e7c22a2\" data-element_type=\"widget\" data-name=\"CongresRepsPage\" style=\"display:none\" data-widget_type=\"uael-gf-styler.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"uael-gf-style uael-gf-check-style elementor-clickable\">\n\t\t<h3 class=\"uael-gf-form-title\"><span class=\"english\">FIND YOUR U.S. CONGRESS REPRESENTATIVES<\/span><span class=\"polish\"> ZNAJD\u0179 SWOICH REPREZENTANT\u00d3W W KONGRESIE STAN\u00d3W ZJEDNOCZONYCH<\/span><\/h3>\n\t\t<script type=\"text\/javascript\">var gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,initializeOnLoaded:function(o){gform.domLoaded&&gform.scriptsLoaded?o():!gform.domLoaded&&gform.scriptsLoaded?window.addEventListener(\"DOMContentLoaded\",o):document.addEventListener(\"gform_main_scripts_loaded\",o)},hooks:{action:{},filter:{}},addAction:function(o,n,r,t){gform.addHook(\"action\",o,n,r,t)},addFilter:function(o,n,r,t){gform.addHook(\"filter\",o,n,r,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,n){gform.removeHook(\"action\",o,n)},removeFilter:function(o,n,r){gform.removeHook(\"filter\",o,n,r)},addHook:function(o,n,r,t,i){null==gform.hooks[o][n]&&(gform.hooks[o][n]=[]);var e=gform.hooks[o][n];null==i&&(i=n+\"_\"+e.length),gform.hooks[o][n].push({tag:i,callable:r,priority:t=null==t?10:t})},doHook:function(n,o,r){var t;if(r=Array.prototype.slice.call(r,1),null!=gform.hooks[n][o]&&((o=gform.hooks[n][o]).sort(function(o,n){return o.priority-n.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==n?t.apply(null,r):r[0]=t.apply(null,r)})),\"filter\"==n)return r[0]},removeHook:function(o,n,t,i){var r;null!=gform.hooks[o][n]&&(r=(r=gform.hooks[o][n]).filter(function(o,n,r){return!!(null!=i&&i!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][n]=r)}});<\/script>\n                <div class='gf_browser_gecko gform_wrapper gravity-theme gform-theme--no-framework' data-form-theme='gravity-theme' data-form-index='0' id='gform_wrapper_24' ><div id='gf_24' class='gform_anchor' tabindex='-1'><\/div>\n                        <div class='gform_heading'>\n\t\t\t\t\t\t\t<p class='gform_required_legend'>&quot;<span class=\"gfield_required gfield_required_asterisk\">*<\/span>&quot; indicates required fields<\/p>\n                        <\/div><form method='post' enctype='multipart\/form-data' target='gform_ajax_frame_24' id='gform_24'  action='\/index.php\/wp-json\/wp\/v2\/pages\/2993#gf_24' data-formid='24' novalidate>\n                        <div class='gform-body gform_body'><div id='gform_fields_24' class='gform_fields top_label form_sublabel_below description_below'><fieldset id=\"field_24_1\"  class=\"gfield gfield--type-address field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_1\"><legend class='gfield_label gform-field-label gfield_label_before_complex'  >Address<\/legend>    \n                    <div class='ginput_complex ginput_container has_street has_city has_state has_zip ginput_container_address gform-grid-row' id='input_24_1' >\n                         <span class='ginput_full address_line_1 ginput_address_line_1 gform-grid-col' id='input_24_1_1_container' >\n                                        <input type='text' name='input_1.1' id='input_24_1_1' value='' tabindex='1'   aria-required='false'    \/>\n                                        <label for='input_24_1_1' id='input_24_1_1_label' class='gform-field-label gform-field-label--type-sub '><span class=\"english\">Street Address<\/span><span class=\"polish\" style=\"display:none\">Ulica, Nr Domu<\/span><\/label>\n                                    <\/span><span class='ginput_left address_city ginput_address_city gform-grid-col' id='input_24_1_3_container' >\n                                    <input type='text' name='input_1.3' id='input_24_1_3' value='' tabindex='2'   aria-required='false'    \/>\n                                    <label for='input_24_1_3' id='input_24_1_3_label' class='gform-field-label gform-field-label--type-sub '><span class=\"english\">City<\/span><span class=\"polish\" style=\"display:none\">Miasto<\/span><\/label>\n                                 <\/span><span class='ginput_right address_state ginput_address_state gform-grid-col' id='input_24_1_4_container' >\n                                        <select name='input_1.4' id='input_24_1_4' tabindex='3'    aria-required='false'    ><option value='' selected='selected'><\/option><option value='Alabama' >Alabama<\/option><option value='Alaska' >Alaska<\/option><option value='American Samoa' >American Samoa<\/option><option value='Arizona' >Arizona<\/option><option value='Arkansas' >Arkansas<\/option><option value='California' >California<\/option><option value='Colorado' >Colorado<\/option><option value='Connecticut' >Connecticut<\/option><option value='Delaware' >Delaware<\/option><option value='District of Columbia' >District of Columbia<\/option><option value='Florida' >Florida<\/option><option value='Georgia' >Georgia<\/option><option value='Guam' >Guam<\/option><option value='Hawaii' >Hawaii<\/option><option value='Idaho' >Idaho<\/option><option value='Illinois' >Illinois<\/option><option value='Indiana' >Indiana<\/option><option value='Iowa' >Iowa<\/option><option value='Kansas' >Kansas<\/option><option value='Kentucky' >Kentucky<\/option><option value='Louisiana' >Louisiana<\/option><option value='Maine' >Maine<\/option><option value='Maryland' >Maryland<\/option><option value='Massachusetts' >Massachusetts<\/option><option value='Michigan' >Michigan<\/option><option value='Minnesota' >Minnesota<\/option><option value='Mississippi' >Mississippi<\/option><option value='Missouri' >Missouri<\/option><option value='Montana' >Montana<\/option><option value='Nebraska' >Nebraska<\/option><option value='Nevada' >Nevada<\/option><option value='New Hampshire' >New Hampshire<\/option><option value='New Jersey' >New Jersey<\/option><option value='New Mexico' >New Mexico<\/option><option value='New York' >New York<\/option><option value='North Carolina' >North Carolina<\/option><option value='North Dakota' >North Dakota<\/option><option value='Northern Mariana Islands' >Northern Mariana Islands<\/option><option value='Ohio' >Ohio<\/option><option value='Oklahoma' >Oklahoma<\/option><option value='Oregon' >Oregon<\/option><option value='Pennsylvania' >Pennsylvania<\/option><option value='Puerto Rico' >Puerto Rico<\/option><option value='Rhode Island' >Rhode Island<\/option><option value='South Carolina' >South Carolina<\/option><option value='South Dakota' >South Dakota<\/option><option value='Tennessee' >Tennessee<\/option><option value='Texas' >Texas<\/option><option value='Utah' >Utah<\/option><option value='U.S. Virgin Islands' >U.S. Virgin Islands<\/option><option value='Vermont' >Vermont<\/option><option value='Virginia' >Virginia<\/option><option value='Washington' >Washington<\/option><option value='West Virginia' >West Virginia<\/option><option value='Wisconsin' >Wisconsin<\/option><option value='Wyoming' >Wyoming<\/option><option value='Armed Forces Americas' >Armed Forces Americas<\/option><option value='Armed Forces Europe' >Armed Forces Europe<\/option><option value='Armed Forces Pacific' >Armed Forces Pacific<\/option><\/select>\n                                        <label for='input_24_1_4' id='input_24_1_4_label' class='gform-field-label gform-field-label--type-sub '><span class=\"english\">State<\/span><span class=\"polish\" style=\"display:none\">Stan<\/span><\/label>\n                                      <\/span><span class='ginput_left address_zip ginput_address_zip gform-grid-col' id='input_24_1_5_container' >\n                                    <input type='text' name='input_1.5' id='input_24_1_5' value='' tabindex='5'   aria-required='false'    \/>\n                                    <label for='input_24_1_5' id='input_24_1_5_label' class='gform-field-label gform-field-label--type-sub '><span class=\"english\">ZIP Code<\/span><span class=\"polish\" style=\"display:none\">Kod Pocztowy<\/span><\/label>\n                                <\/span><input type='hidden' class='gform_hidden' name='input_1.6' id='input_24_1_6' value='United States' \/>\n                    <div class='gf_clear gf_clear_complex'><\/div>\n                <\/div><\/fieldset><div id=\"field_24_25\"  class=\"gfield gfield--type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_25\"><span class=\"english\">In some cases 9 digit ZIP Code is required. If you don't know it <a href=\"https:\/\/tools.usps.com\/zip-code-lookup.htm?byaddress\" target=\"blank\" style=\"color:blue;text-decoration:underline\" rel=\"noopener\">click here<\/a>.<\/span><span class=\"polish\" style=\"display:none\">W niekt\u00f3rych przypadkach wymagany jest 9-cio cyfrowy kod pocztowy. Je\u015bli jego nie znasz <a href=\"https:\/\/tools.usps.com\/zip-code-lookup.htm?byaddress\" target=\"blank\" style=\"color:blue;text-decoration:underline\" rel=\"noopener\">kliknij tutaj<\/a><\/span><\/div><div id=\"field_24_2\"  class=\"gfield gfield--type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_2\"><input type=\"button\" id=\"find_rep\" class=\"gform_button button\" value=\"Find Representatives\">\n\n<br \/>    \n<br \/>\n<div class=\"h3 left-text\" id=\"Reprezentanci\" style=\"display: none; border: none\">\n    <table>\n        <tbody>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Picture\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelCongressman\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Congressman\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelAddress\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"AddressLine\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"City\"><\/span>&nbsp;<span id=\"State\"><\/span>&nbsp;<span id=\"Zip\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelPhone\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Phone\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelUrl\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Url\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelParty\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Party\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelDistrict\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"District\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <table class=\"h3 left-text\" id=\"NoReprezentanciTable\" style=\"display: none; border: none\">\n        <tbody>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelNoReprezentanci\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"NoReprezentanci\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelMessage\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Message\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <table class=\"h3 left-text\" id=\"SenatorTable1\" style=\"display: none; border: none\">\n        <tbody>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Picture1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelSenator1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Senator1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelAddress1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"AddressLine1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"City1\"><\/span>&nbsp;<span id=\"State1\"><\/span>&nbsp;<span id=\"Zip1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelPhone1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Phone1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelUrl1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Url1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelParty1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Party1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <table class=\"h3 left-text\" id=\"NoSenatorTable1\" style=\"display:none;border:none\">\n        <tbody>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelNoSenator1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"NoSenator1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelMessage1\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Message1\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <table class=\"h3 left-text\" id=\"SenatorTable2\" style=\"display: none; border: none\">\n        <tbody>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Picture2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td>\n                    &nbsp;\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelSenator2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Senator2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelAddress2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"AddressLine2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    &nbsp;\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"City2\"><\/span>&nbsp;<span id=\"State2\"><\/span>&nbsp;<span id=\"Zip2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelPhone2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Phone2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelUrl2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Url2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelParty2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Party2\"><\/span>\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n    <table class=\"h3 left-text\" id=\"NoSenatorTable2\" style=\"display: none; border: none\">\n        <tbody>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelNoSenator2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"NoSenator2\"><\/span>\n                <\/td>\n            <\/tr>\n            <tr>\n                <td style=\"width:30%\">\n                    <span id=\"LabelMessage2\"><\/span>\n                <\/td>\n                <td style=\"width:70%\">\n                    <span id=\"Message2\"><\/span>\n                <\/td>\n            <\/tr>\n        <\/tbody>\n    <\/table>\n<\/div><\/div><div id=\"field_24_3\"  class=\"gfield gfield--type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_3\"><div id=\"ErrorOccured\" class=\"gfield_description validation_message gfield_validation_message\" style=\"display:none\"><\/div>    <\/div><div id=\"field_24_4\"  class=\"gfield gfield--type-email gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_4\"><label class='gfield_label gform-field-label' for='input_24_4' >Email<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_4' id='input_24_4' type='email' value='' class='medium' tabindex='6'   aria-required=\"true\" aria-invalid=\"false\"  \/>\n                        <\/div><\/div><div id=\"field_24_5\"  class=\"gfield gfield--type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_5\"><div class=\"h3 left-text\" id=\"EmailDescription\" style=\"color: #4A5151;display:none\"><span class=\"english\">\nIf you want to send the above US Congress contact information to yourself please enter your email address and click <span style=\"color:green\"><b>Send Email<\/b><\/span> button.<\/span><span class=\"polish\" style=\"display:none\">Je\u017celi chcesz wys\u0142a\u0107 powy\u017csze informacje o reprezentantach prosz\u0119 wprowadzi\u0107 sw\u00f3j adres emailowy i klikn\u0105\u0107 <span style=\"color:green\"><b>Wy\u015blij  Email<\/b><\/span> przycisk.<\/span>\n<\/div><\/div><div id=\"field_24_6\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_6\"><div class='ginput_container ginput_container_text'><input name='input_6' id='input_24_6' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_7\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_7\"><div class='ginput_container ginput_container_text'><input name='input_7' id='input_24_7' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_8\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_8\"><div class='ginput_container ginput_container_text'><input name='input_8' id='input_24_8' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_9\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_9\"><div class='ginput_container ginput_container_text'><input name='input_9' id='input_24_9' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_10\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_10\"><div class='ginput_container ginput_container_text'><input name='input_10' id='input_24_10' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_11\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_11\"><div class='ginput_container ginput_container_text'><input name='input_11' id='input_24_11' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_12\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_12\"><div class='ginput_container ginput_container_text'><input name='input_12' id='input_24_12' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_13\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_13\"><div class='ginput_container ginput_container_text'><input name='input_13' id='input_24_13' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_14\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_14\"><div class='ginput_container ginput_container_text'><input name='input_14' id='input_24_14' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_15\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_15\"><div class='ginput_container ginput_container_text'><input name='input_15' id='input_24_15' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_16\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_16\"><div class='ginput_container ginput_container_text'><input name='input_16' id='input_24_16' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_17\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_17\"><div class='ginput_container ginput_container_text'><input name='input_17' id='input_24_17' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_18\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_18\"><div class='ginput_container ginput_container_text'><input name='input_18' id='input_24_18' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_19\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_19\"><div class='ginput_container ginput_container_text'><input name='input_19' id='input_24_19' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_20\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_20\"><div class='ginput_container ginput_container_text'><input name='input_20' id='input_24_20' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_21\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_21\"><div class='ginput_container ginput_container_text'><input name='input_21' id='input_24_21' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_22\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_22\"><div class='ginput_container ginput_container_text'><input name='input_22' id='input_24_22' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_23\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_23\"><div class='ginput_container ginput_container_text'><input name='input_23' id='input_24_23' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_24\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_24\"><div class='ginput_container ginput_container_text'><input name='input_24' id='input_24_24' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_26\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_26\"><div class='ginput_container ginput_container_text'><input name='input_26' id='input_24_26' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_27\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_27\"><div class='ginput_container ginput_container_text'><input name='input_27' id='input_24_27' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_28\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_28\"><div class='ginput_container ginput_container_text'><input name='input_28' id='input_24_28' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_29\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_29\"><div class='ginput_container ginput_container_text'><input name='input_29' id='input_24_29' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='Photo:' \/><\/div><\/div><div id=\"field_24_30\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_30\"><div class='ginput_container ginput_container_text'><input name='input_30' id='input_24_30' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='Photo:' \/><\/div><\/div><div id=\"field_24_31\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_31\"><div class='ginput_container ginput_container_text'><input name='input_31' id='input_24_31' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='Photo:' \/><\/div><\/div><div id=\"field_24_32\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_32\"><div class='ginput_container ginput_container_text'><input name='input_32' id='input_24_32' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_33\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_33\"><div class='ginput_container ginput_container_text'><input name='input_33' id='input_24_33' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><div id=\"field_24_34\"  class=\"gfield gfield--type-hidden gfield--width-full gform_hidden field_sublabel_below gfield--no-description field_description_below gfield_visibility_visible\"  data-js-reload=\"field_24_34\"><div class='ginput_container ginput_container_text'><input name='input_34' id='input_24_34' type='hidden' class='gform_hidden'  aria-invalid=\"false\" value='' \/><\/div><\/div><\/div><\/div>\n        <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_24' class='gform_button button' value='Send Email' tabindex='7' onclick='if(window[\"gf_submitting_24\"]){return false;}  if( !jQuery(\"#gform_24\")[0].checkValidity || jQuery(\"#gform_24\")[0].checkValidity()){window[\"gf_submitting_24\"]=true;}  ' onkeypress='if( event.keyCode == 13 ){ if(window[\"gf_submitting_24\"]){return false;} if( !jQuery(\"#gform_24\")[0].checkValidity || jQuery(\"#gform_24\")[0].checkValidity()){window[\"gf_submitting_24\"]=true;}  jQuery(\"#gform_24\").trigger(\"submit\",[true]); }' \/> <input type='hidden' name='gform_ajax' value='form_id=24&amp;title=&amp;description=&amp;tabindex=1' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_24' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='24' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_24' value='WyJbXSIsImQzNmY2ZjUyNTdmYjg5ZGYzMmQ5MTY2MDcwOGJmYTFkIl0=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_target_page_number_24' id='gform_target_page_number_24' value='0' \/>\n            <input type='hidden' class='gform_hidden' name='gform_source_page_number_24' id='gform_source_page_number_24' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div>\n\t\t                <iframe style='display:none;width:0px;height:0px;' src='about:blank' name='gform_ajax_frame_24' id='gform_ajax_frame_24' title='This iframe contains the logic required to handle Ajax powered Gravity Forms.'><\/iframe>\n\t\t                <script>\ngform.initializeOnLoaded( function() {gformInitSpinner( 24, 'https:\/\/joinpasidev.org\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery('#gform_ajax_frame_24').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_24');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_24').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_24').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_24').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_24').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/ jQuery(document).scrollTop(jQuery('#gform_wrapper_24').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_24').val();gformInitSpinner( 24, 'https:\/\/joinpasidev.org\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [24, current_page]);window['gf_submitting_24'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_24').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_24').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [24]);window['gf_submitting_24'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_24').text());}, 50);}else{jQuery('#gform_24').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [24, current_page]);gform.utils.trigger({ event: 'gform\/postRender', native: false, data: { formId: 24, currentPage: current_page } });} );} );\n<\/script>\n\n<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cb41c71 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cb41c71\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a37aa95\" data-id=\"a37aa95\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9f1c960 elementor-widget elementor-widget-html\" data-id=\"9f1c960\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\n    \/\/var waitforerror;\n    var localcurrentlanguage = \"\";\n    var vacant = \"VACANT\";\n    var kropka = \".\";\n    var hr82 = \"HR82\";\n    var house118th = \"HOUSE_118th\";\n\n    $(window).load(function () {\n\n        $(\"div[data-name='CongresRepsPage']\").show();\n\n        if ($(\"#validation_message_24_4\").length == 0) {\n            $(\"#gform_submit_button_24\").hide();\n\n            $(\"#field_24_4\").hide();\n        }\n        else {\n            $(\"#find_rep\").click();\n\n            red_validation();\n\n            setvalidationerrors();\n        }\n\n        addoptions(\"24_1_4\");\n\n        setfindrepsenglishpolish();\n\n        changeOrientation();\n    });\n\n    function setfindrepsenglishpolish() {\n        var labelelement = $(\"#field_24_1\");\n\n        labelelement = labelelement.children().eq(\"0\");\n\n        setlabelnamestar(labelelement, \"Address\", \"Adres\");\n    }\n\n    function changeOrientation() {\n\n        var is_mobile = isMobile.status;\n\n        if (is_mobile) {\n            \/\/var width = $(window).width();\n            \/\/var height = $(window).height();\n\n            \/\/if (width < 400 && height < 750) {\n            if (window.orientation === 90 || window.orientation === -90) {\n                $(\"#input_24_4\").removeClass(\"large\");\n                $(\"#input_24_4\").addClass(\"medium\");\n            }\n            else {\n                $(\"#input_24_4\").removeClass(\"medium\");\n                $(\"#input_24_4\").addClass(\"large\");\n            }\n        }\n    }\n\n    function SetLinkPhone(phone) {\n\n        var linkphone = phone.trim();\n\n        linkphone = phone.replace(\"(\", \"\");\n\n        linkphone = linkphone.replace(\")\", \"-\");\n\n        linkphone = linkphone.replace(\" \", \"\");\n\n        return linkphone;\n    }\n\n    function setPhoneLink(phoneName, phone, isMobileScreen) {\n        if (isMobileScreen) {\n\n            var linkphone = SetLinkPhone(phone);\n\n            var telephone = \"<a href='tel:+1-\" + linkphone + \"'>\" + phone + \"<\/a>\";\n\n            $(\"#\" + phoneName).html(telephone);\n        }\n        else {\n            $(\"#\" + phoneName).html(phone);\n        }\n    }\n\n    function setparty(party) {\n        if (party == \"Democratic Party\") {\n            party = \"<span class='english'>Democratic Party<\/span><span class='polish' style='display:none'>Partia Demokratyczna<\/span>\";\n        }\n        else if (party == \"Republican Party\") {\n            party = \"<span class='english'>Republican Party<\/span><span class='polish' style='display:none'>Partia Republika\u0144ska<\/span>\";\n        }\n\n        return party;\n    }\n\n\n    $(document).on('click', '#find_rep', function () {\n\n        $(\"#ErrorOccured\").html(\"\");\n\n        $(\"#ErrorOccured\").hide();\n\n        $(\"#Reprezentanci\").hide();\n        $(\"#NoReprezentanciTable\").hide();\n        $(\"#SenatorTable1\").hide();\n        $(\"#NoSenatorTable1\").hide();\n        $(\"#SenatorTable2\").hide();\n        $(\"#NoSenatorTable2\").hide();\n\n        var Url = UrlGoogleCivic;\n\n        var streetaddress = $(\"#input_24_1_1\").val();\n\n        var city = $(\"#input_24_1_3\").val();\n\n        var state = $(\"#input_24_1_4\").val();\n\n        var zip = $(\"#input_24_1_5\").val();\n\n        streetaddress = streetaddress.trim();\n\n        if (streetaddress.indexOf(\"#\") != -1) {\n            streetaddress = streetaddress.substr(0, streetaddress.indexOf(\"#\"));\n\n            streetaddress = streetaddress.trim();\n        }\n\n        city = city.trim();\n\n        state = state.trim();\n\n        var stateresult = state;\n\n        zip = zip.trim();\n\n        var address = streetaddress + \" \" + city + \" \" + state;\n\n        if (zip != \"\") {\n            adrress = address + \" \" + zip;\n        }\n\n        Url = Url + \"&address=\" + address;\n\n        var beginninghtml = \"<span class='english'>\";\n        var middlehtml = \"<\/span><span class='polish' style='display:none'>\";\n        var endhtml = \"<\/span>\";\n\n        var isMobileScreen = isMobile.status;\n\n        if (stateresult != \"American Samoa\"\n            && stateresult != \"Guam\"\n            && stateresult != \"Northern Mariana Islands\"\n            && stateresult != \"Puerto Rico\"\n            && stateresult != \"Virgin Islands\") {\n\n        $.ajax({\n            url: encodeURI(Url),\n            type: \"GET\",\n            success: function (result) {\n                console.log(result);\n\n                $(\"#Reprezentanci\").show();\n                $(\"#field_24_3\").hide();\n                $(\"#ErrorOccured\").hide();\n\n                var congressman;\n                var addressline;\n                var city;\n                var zip;\n                var phone;\n                var url;\n                var link;\n                var party;\n                var photourl;\n                var picture;\n                var linkphone;\n\n                if (stateresult == \"District of Columbia\") {\n                    congressman = result.officials[2].name;\n                    if (congressman != vacant) {\n                        $(\"#Congressman\").html(congressman);\n                        $(\"#input_24_6\").val(congressman);\n                        addressline = result.officials[2].address[0].line1;\n                        $(\"#AddressLine\").html(addressline);\n                        $(\"#input_24_7\").val(addressline);\n                        city = result.officials[2].address[0].city;\n                        $(\"#City\").html(city);\n                        state = result.officials[2].address[0].state;\n                        $(\"#State\").html(state);\n                        zip = result.officials[2].address[0].zip;\n                        $(\"#Zip\").html(zip);\n                        $(\"#input_24_8\").val(city + \" \" + state + \" \" + zip);\n                        phone = result.officials[2].phones[0];\n\n                        setPhoneLink(\"Phone\", phone, isMobileScreen);\n\n                        $(\"#input_24_9\").val(phone);\n\n                        linkphone = SetLinkPhone(phone);\n\n                        $(\"#input_24_32\").val(linkphone);\n\n                        photourl = result.officials[2].photoUrl;\n                        if (photourl != \"\" && photourl != undefined) {\n                            $(\"#input_24_26\").val(photourl);\n                            $(\"#input_24_29\").val(\"Photo:\");\n                            picture = \"<img src='\" + photourl + \"' >\";\n                            $(\"#Picture\").html(picture);\n                        }\n                        else {\n                            $(\"#Picture\").html(\"\");\n                            $(\"#input_24_26\").val(\"\");\n                            $(\"#input_24_29\").val(\"Photo Unavailable:\");\n                        }\n\n                        $(\"#LabelCongressman\").html(beginninghtml + \"Delegate\" + middlehtml + \"Delegat\" + endhtml);\n                        $(\"#LabelAddress\").html(beginninghtml + \"Address\" + middlehtml + \"Adres\" + endhtml);\n                        $(\"#LabelPhone\").html(beginninghtml + \"Phone\" + middlehtml + \"Telefon\" + endhtml);\n                        $(\"#LabelUrl\").html(beginninghtml + \"Url\" + middlehtml + \"Url\" + endhtml);\n                        $(\"#LabelParty\").html(beginninghtml + \"Party\" + middlehtml + \"Partia\" + endhtml);\n\n                        url = result.officials[2].urls[0];\n                        $(\"#input_24_10\").val(url);\n                        link = \"<a href='\" + url + \"' target='_blank'>\" + url + \"<\/a>\";\n                        $(\"#Url\").html(link);\n                        party = result.officials[2].party;\n                        $(\"#input_24_11\").val(party);\n                        party = setparty(party);\n                        $(\"#Party\").html(party);\n\n                        $(\"#District\").html(\"DC 1st District\");\n                        $(\"#input_24_12\").val(\"DC 1st District\");\n                    }\n                    else {\n                        finddistrict(result.offices[2].divisionId)\n                    }\n\n                    $(\"#input_24_13\").val(\"\");\n                    $(\"#input_24_14\").val(\"\");\n                    $(\"#input_24_15\").val(\"\");\n                    $(\"#input_24_16\").val(\"\");\n                    $(\"#input_24_17\").val(\"\");\n                    $(\"#input_24_18\").val(\"\");\n                    $(\"#input_24_19\").val(\"\");\n                    $(\"#input_24_20\").val(\"\");\n                    $(\"#input_24_21\").val(\"\");\n                    $(\"#input_24_22\").val(\"\");\n                    $(\"#input_24_23\").val(\"\");\n                    $(\"#input_24_24\").val(\"\");\n\n                    $(\"#input_24_27\").val(\"\");\n                    $(\"#input_24_28\").val(\"\");\n                    $(\"#input_24_30\").val(\"Photo Unavailable:\");\n                    $(\"#input_24_31\").val(\"Photo Unavailable:\");\n\n                    $(\"#SenatorTable1\").hide();\n\n                    $(\"#Senator1\").html(\"\");\n                    $(\"#AddressLine1\").html(\"\");\n                    $(\"#City1\").html(\"\");\n                    $(\"#State1\").html(\"\");\n                    $(\"#Zip1\").html(\"\");\n                    $(\"#Phone1\").html(\"\");\n                    $(\"#Url1\").html(\"\");\n                    $(\"#Party1\").html(\"\");\n                    $(\"#Picture1\").html(\"\");\n\n                    $(\"#SenatorTable2\").hide();\n\n                    $(\"#Senator2\").html(\"\");\n                    $(\"#AddressLine2\").html(\"\");\n                    $(\"#City2\").html(\"\");\n                    $(\"#State2\").html(\"\");\n                    $(\"#Zip2\").html(\"\");\n                    $(\"#Phone2\").html(\"\");\n                    $(\"#Url2\").html(\"\");\n                    $(\"#Party2\").html(\"\");\n                    $(\"#Picture2\").html(\"\");\n\n                    $(\"#LabelSenator1\").html(\"\");\n                    $(\"#LabelAddress1\").html(\"\");\n                    $(\"#LabelPhone1\").html(\"\");\n                    $(\"#LabelUrl1\").html(\"\");\n                    $(\"#LabelParty1\").html(\"\");\n\n                    $(\"#LabelSenator2\").html(\"\");\n                    $(\"#LabelAddress2\").html(\"\");\n                    $(\"#LabelPhone2\").html(\"\");\n                    $(\"#LabelUrl2\").html(\"\");\n                    $(\"#LabelParty2\").html(\"\");\n\n                    showSendEmailFields();\n                }\n                else {\n\n                    var goodaddress = false;\n\n                    if (stateresult == \"Alaska\") {\n                        $(\"#District\").html(\"Alaska's 1st congressional district\");\n                        $(\"#input_24_12\").val(\"Alaska's 1st congressional district\");\n                        goodaddress = true;\n                    }\n                    else if (stateresult == \"Delaware\") {\n                        $(\"#District\").html(\"Delaware's 1st congressional district\");\n                        $(\"#input_24_12\").val(\"Deleware's 1st congressional district\");\n                        goodaddress = true;\n                    }\n                    else {\n                        var divisions = result.divisions;\n\n                        var keys = [];\n                        var vals = [];\n\n                        $.each(divisions, function (key, val) {\n                            keys.push(key);\n                            vals.push(val);\n                        });\n\n                        var k = 0;\n                        for (var z = 0; z < keys.length; z++) {\n                            var inkey = keys[z];\n\n                            if (inkey.indexOf(\"\/cd:\") != -1) {\n                                break;\n                            }\n                            k = k + 1;\n                        }\n\n                        if (k < keys.length) {\n                            $(\"#District\").html(vals[k].name);\n                            $(\"#input_24_12\").val(vals[k].name);\n                            goodaddress = true;\n                        }\n                    }\n\n                    if (goodaddress) {\n                        congressman = result.officials[4].name;\n                        if (congressman != vacant) {\n                            $(\"#Congressman\").html(congressman);\n                            $(\"#input_24_6\").val(congressman);\n                            addressline = result.officials[4].address[0].line1;\n                            $(\"#AddressLine\").html(addressline);\n                            $(\"#input_24_7\").val(addressline);\n                            city = result.officials[4].address[0].city;\n                            $(\"#City\").html(city);\n                            state = result.officials[4].address[0].state;\n                            $(\"#State\").html(state);\n                            zip = result.officials[4].address[0].zip;\n                            $(\"#Zip\").html(zip);\n                            $(\"#input_24_8\").val(city + \" \" + state + \" \" + zip);\n                            phone = result.officials[4].phones[0];\n\n                            setPhoneLink(\"Phone\", phone, isMobileScreen);\n\n                            $(\"#input_24_9\").val(phone);\n\n                            linkphone = SetLinkPhone(phone);\n\n                            $(\"#input_24_32\").val(linkphone);\n\n                            photourl = result.officials[4].photoUrl;\n                            if (photourl != \"\" && photourl != undefined) {\n                                $(\"#input_24_26\").val(photourl);\n                                $(\"#input_24_29\").val(\"Photo:\");\n                                if (stateresult == \"Alaska\") {\n                                    picture = \"<img src='\" + photourl + \"' width='180' height='225' >\";\n                                    $(\"#Picture\").html(picture);\n                                }\n                                else {\n                                    picture = \"<img src='\" + photourl + \"' >\";\n                                    $(\"#Picture\").html(picture);\n                                }\n                            }\n                            else {\n                                $(\"#Picture\").html(\"\");\n                                $(\"#input_24_26\").val(\"\");\n                                $(\"#input_24_29\").val(\"Photo Unavailable:\");\n                            }\n\n                            $(\"#LabelCongressman\").html(beginninghtml + \"U.S. Representative\" + middlehtml + \"Kongresmen\" + endhtml);\n                            $(\"#LabelAddress\").html(beginninghtml + \"Address\" + middlehtml + \"Adres\" + endhtml);\n                            $(\"#LabelPhone\").html(beginninghtml + \"Phone\" + middlehtml + \"Telefon\" + endhtml);\n                            $(\"#LabelUrl\").html(beginninghtml + \"Url\" + middlehtml + \"Url\" + endhtml);\n                            $(\"#LabelParty\").html(beginninghtml + \"Party\" + middlehtml + \"Partia\" + endhtml);\n\n                            url = result.officials[4].urls[0];\n                            $(\"#input_24_10\").val(url);\n                            link = \"<a href='\" + url + \"' target='_blank'>\" + url + \"<\/a>\";\n                            $(\"#Url\").html(link);\n                            party = result.officials[4].party;\n                            $(\"#input_24_11\").val(party);\n                            party = setparty(party);\n                            $(\"#Party\").html(party);\n                        }\n                        else {\n                            finddistrict(result.offices[3].divisionId)\n                        }\n\n                        \/\/debugger;\n\n                        var bothvacant = false;\n\n                        var senator1 = result.officials[2].name;\n                        \/\/var senator1 = vacant;\n                        if (senator1 != vacant) {\n                            $(\"#SenatorTable1\").show();\n                            $(\"#Senator1\").html(senator1);\n                            $(\"#input_24_13\").val(senator1);\n                            var addressline1 = result.officials[2].address[0].line1;\n                            $(\"#AddressLine1\").html(addressline1);\n                            $(\"#input_24_14\").val(addressline1);\n                            var city1 = result.officials[2].address[0].city;\n                            $(\"#City1\").html(city1);\n                            var state1 = result.officials[2].address[0].state;\n                            $(\"#State1\").html(state1);\n                            var zip1 = result.officials[2].address[0].zip;\n                            $(\"#Zip1\").html(zip1);\n                            $(\"#input_24_15\").val(city1 + \" \" + state1 + \" \" + zip1);\n                            var phone1 = result.officials[2].phones[0];\n\n                            setPhoneLink(\"Phone1\", phone1, isMobileScreen);\n\n                            $(\"#input_24_16\").val(phone1);\n\n                            var linkphone1 = SetLinkPhone(phone1);\n\n                            $(\"#input_24_33\").val(linkphone1);\n\n                            var url1 = result.officials[2].urls[0];\n                            $(\"#input_24_17\").val(url1);\n                            var link1 = \"<a href='\" + url1 + \"' target='_blank'>\" + url1 + \"<\/a>\";\n                            $(\"#Url1\").html(link1);\n                            var party1 = result.officials[2].party;\n                            $(\"#input_24_18\").val(party1);\n                            party1 = setparty(party1);\n                            $(\"#Party1\").html(party1);\n                            var photourl1 = result.officials[2].photoUrl;\n                            if (photourl1 != \"\" && photourl1 != undefined) {\n                                $(\"#input_24_27\").val(photourl1);\n                                $(\"#input_24_30\").val(\"Photo:\");\n                                var picture1 = \"<img src='\" + photourl1 + \"' >\";\n                                $(\"#Picture1\").html(picture1);\n                            }\n                            else {\n                                $(\"#Picture1\").html(\"\");\n                                $(\"#input_24_27\").val(\"\");\n                                $(\"#input_24_30\").val(\"Photo Unavailable:\");\n                            }\n\n                            $(\"#LabelSenator1\").html(beginninghtml + \"Senator\" + middlehtml + \"Senator\" + endhtml);\n                            $(\"#LabelAddress1\").html(beginninghtml + \"Address\" + middlehtml + \"Adres\" + endhtml);\n                            $(\"#LabelPhone1\").html(beginninghtml + \"Phone\" + middlehtml + \"Telefon\" + endhtml);\n                            $(\"#LabelUrl1\").html(beginninghtml + \"Url\" + middlehtml + \"Url\" + endhtml);\n                            $(\"#LabelParty1\").html(beginninghtml + \"Party\" + middlehtml + \"Partia\" + endhtml);\n                        }\n                        else {\n                            bothvacant = findstate(result.offices[2].divisionId, result.officials[3].name, \"1\");\n                            \/\/bothvacant = findstate(result.offices[2].divisionId, vacant, \"1\");\n\n                        }\n\n                        if (!bothvacant) {\n                            var senator2 = result.officials[3].name;\n                            if (senator2 != vacant) {\n                                $(\"#SenatorTable2\").show();\n                                $(\"#Senator2\").html(senator2);\n                                $(\"#input_24_19\").val(senator2);\n                                var addressline2 = result.officials[3].address[0].line1;\n                                $(\"#AddressLine2\").html(addressline2);\n                                $(\"#input_24_20\").val(addressline2);\n                                var city2 = result.officials[3].address[0].city;\n                                $(\"#City2\").html(city2);\n                                var state2 = result.officials[3].address[0].state;\n                                $(\"#State2\").html(state2);\n\n                                var zip2 = result.officials[3].address[0].zip;\n                                $(\"#Zip2\").html(zip2);\n                                $(\"#input_24_21\").val(city2 + \" \" + state2 + \" \" + zip2);\n                                var phone2 = result.officials[3].phones[0];\n\n                                setPhoneLink(\"Phone2\", phone2, isMobileScreen);\n\n                                $(\"#input_24_22\").val(phone2);\n\n                                var linkphone2 = SetLinkPhone(phone2);\n\n                                $(\"#input_24_34\").val(linkphone2);\n\n                                var url2 = result.officials[3].urls[0];\n                                $(\"#input_24_23\").val(url2);\n                                var link2 = \"<a href='\" + url2 + \"' target='_blank'>\" + url2 + \"<\/a>\";\n                                $(\"#Url2\").html(link2);\n                                var party2 = result.officials[3].party;\n                                $(\"#input_24_24\").val(party2);\n                                party2 = setparty(party2);\n                                $(\"#Party2\").html(party2);\n                                var photourl2 = result.officials[3].photoUrl;\n                                if (photourl2 != \"\" && photourl2 != undefined) {\n                                    $(\"#input_24_28\").val(photourl2);\n                                    $(\"#input_24_31\").val(\"Photo:\");\n                                    var picture2 = \"<img src='\" + photourl2 + \"' >\";\n                                    $(\"#Picture2\").html(picture2);\n                                }\n                                else {\n                                    $(\"#Picture2\").html(\"\");\n                                    $(\"#input_24_28\").val(\"\");\n                                    $(\"#input_24_31\").val(\"Photo Unavailable:\");\n                                }\n\n                                $(\"#LabelSenator2\").html(beginninghtml + \"Senator\" + middlehtml + \"Senator\" + endhtml);\n                                $(\"#LabelAddress2\").html(beginninghtml + \"Address\" + middlehtml + \"Adres\" + endhtml);\n                                $(\"#LabelPhone2\").html(beginninghtml + \"Phone\" + middlehtml + \"Telefon\" + endhtml);\n                                $(\"#LabelUrl2\").html(beginninghtml + \"Url\" + middlehtml + \"Url\" + endhtml);\n                                $(\"#LabelParty2\").html(beginninghtml + \"Party\" + middlehtml + \"Partia\" + endhtml);\n                            }\n                            else {\n                                findstate(result.offices[2].divisionId, result.officials[2].name, \"2\");\n                            }\n                        }\n\n                        \/\/debugger;\n\n                        showSendEmailFields();\n                    }\n                    else {\n                        $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;Address is Incorrect\");\n\n                        prepareError();\n                    }\n                }\n\n                changelanguage();\n\n                hideCreditCardError();\n            },\n            error: function (error) {\n                \/\/debugger;\n                doError(error);\n            }\n        });\n        }\n        else {\n            $.ajax({\n                type: Call_Type,\n                url: Call_Path + 'ShortState.php',\n                data: {\n                    PersonState: stateresult\n                },\n                success: function (result) {\n                    result = result.trim();\n\n                    if (result.indexOf(\"failed\") != -1) {\n                        $(\".failed\").show();\n                        $(\"#validation_message_24_8\").show();\n                        $(\"#field_24_14\").show();\n                    }\n                    else if (result.indexOf(\"conerror\") != -1) {\n                        result = result.replace(\"conerror \", \"\");\n                        $(\".conerror\").html(result);\n                        $(\".conerror\").show();\n                        $(\"#validation_message_24_8\").show();\n                        $(\"#field_24_14\").show();\n                    }\n                    else if (result.indexOf(\"Message: \") != -1) {\n                        result = result.replace(\"Message: \", \"\");\n                        $(\".conerror\").html(result);\n                        $(\".conerror\").show();\n                        $(\"#validation_message_24_8\").show();\n                        $(\"#field_24_14\").show();\n                    }\n                    else {\n                        $.ajax({\n                            type: Call_Type,\n                            url: Call_Path + 'FindDelegate.php',\n                            data: {\n                                DelegateState: result\n                            },\n                            success: function (delegate) {\n                                delegate = delegate.trim();\n\n                                if (delegate.indexOf(\"failed\") != -1) {\n                                    $(\".failed\").show();\n                                    $(\"#validation_message_24_8\").show();\n                                    $(\"#field_24_14\").show();\n                                }\n                                else if (delegate.indexOf(\"conerror\") != -1) {\n                                    delegate = delegate.replace(\"conerror \", \"\");\n                                    $(\".conerror\").html(delegate);\n                                    $(\".conerror\").show();\n                                    $(\"#validation_message_24_8\").show();\n                                    $(\"#field_24_14\").show();\n                                }\n                                else if (delegate.indexOf(\"Message: \") != -1) {\n                                    delegate = delegate.replace(\"Message: \", \"\");\n                                    $(\".conerror\").html(delegate);\n                                    $(\".conerror\").show();\n                                    $(\"#validation_message_24_8\").show();\n                                    $(\"#field_24_14\").show();\n                                }\n                                else {\n                                    $(\"#Reprezentanci\").show();\n                                    $(\"#field_24_3\").hide();\n                                    $(\"#ErrorOccured\").hide();\n\n                                    var party = delegate.substr(delegate.indexOf(\"#\") + 1);\n                                    party = party.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"#\"));\n                                    var photourl = delegate.substr(delegate.indexOf(\":\") + 1);\n                                    photourl = photourl.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\":\"));\n                                    var districtname = delegate.substr(delegate.indexOf(\";\") + 1);\n                                    districtname = districtname.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\";\"));\n                                    var url = delegate.substr(delegate.indexOf(\"|\") + 1);\n                                    url = url.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"|\"));\n                                    var district = delegate.substr(delegate.indexOf(\"^\") + 1);\n                                    district = district.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"^\"));\n                                    var telephone = delegate.substr(delegate.indexOf(\"!\") + 1);\n                                    telephone = telephone.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"!\"));\n                                    var zip = delegate.substr(delegate.indexOf(\"&\") + 1);\n                                    zip = zip.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"&\"));\n                                    var city = delegate.substr(delegate.indexOf(\"$\") + 1);\n                                    city = city.trim();\n                                    delegate = delegate.substr(0, delegate.indexOf(\"$\"));\n                                    var address = delegate.substr(delegate.indexOf(\"%\") + 1);\n                                    address = address.trim();\n                                    congressman = delegate.substr(0, delegate.indexOf(\"%\"));\n                                    congressman = congressman.trim();\n\n                                    $(\"#Congressman\").html(congressman);\n                                    $(\"#input_24_6\").val(congressman);\n\n                                    $(\"#AddressLine\").html(address);\n                                    $(\"#input_24_7\").val(address);\n\n                                    $(\"#City\").html(city);\n\n                                    $(\"#State\").html(\"DC\");\n\n                                    $(\"#Zip\").html(zip);\n                                    $(\"#input_24_8\").val(city + \" DC \" + zip);\n\n                                    setPhoneLink(\"Phone\", telephone, isMobileScreen);\n\n                                    $(\"#input_24_9\").val(telephone);\n\n                                    linkphone = SetLinkPhone(telephone);\n\n                                    $(\"#input_24_32\").val(linkphone);\n\n                                    $(\"#input_24_32\").val(linkphone);\n\n                                    var picture;\n\n                                    if (photourl != \"\" && photourl != undefined) {\n                                        $(\"#input_24_26\").val(photourl);\n                                        $(\"#input_24_29\").val(\"Photo:\");\n                                        if (stateresult == \"Alaska\") {\n                                            picture = \"<img src='\" + photourl + \"' width='180' height='225' >\";\n                                            $(\"#Picture\").html(picture);\n                                        }\n                                        else {\n                                            picture = \"<img src='\" + photourl + \"' >\";\n                                            $(\"#Picture\").html(picture);\n                                        }\n                                    }\n                                    else {\n                                        $(\"#Picture\").html(\"\");\n                                        $(\"#input_24_26\").val(\"\");\n                                        $(\"#input_24_29\").val(\"Photo Unavailable:\");\n                                    }\n\n                                    $(\"#District\").html(districtname);\n                                    $(\"#input_24_12\").val(districtname);\n\n                                    $(\"#LabelCongressman\").html(beginninghtml + \"Delegate\" + middlehtml + \"Delegat\" + endhtml);\n                                    $(\"#LabelAddress\").html(beginninghtml + \"Address\" + middlehtml + \"Adres\" + endhtml);\n                                    $(\"#LabelPhone\").html(beginninghtml + \"Phone\" + middlehtml + \"Telefon\" + endhtml);\n                                    $(\"#LabelUrl\").html(beginninghtml + \"Url\" + middlehtml + \"Url\" + endhtml);\n                                    $(\"#LabelParty\").html(beginninghtml + \"Party\" + middlehtml + \"Partia\" + endhtml);\n\n                                    $(\"#input_24_10\").val(url);\n\n                                    var httpbegin = \"http:\/\/\";\n\n                                    var link = \"<a href='\" + httpbegin + url + \"' target='_blank'>\" + url + \"<\/a>\";\n                                    $(\"#Url\").html(link);\n                                    if (party != \"\") {\n                                        party = party + \" Party\";\n                                        $(\"#input_24_11\").val(party);\n                                        party = setparty(party);\n                                        $(\"#Party\").html(party);\n                                    }\n                                    else {\n                                        $(\"#input_24_11\").val(party);\n                                        $(\"#Party\").html(party);\n                                    }\n\n                                \/\/    $(\"#field_32_6\").removeClass(\"gfield_visibility_hidden\");\n\n                                \/\/    $(\"#field_32_6\").addClass(\"gfield_visibility_visible\");\n\n                                \/\/    $(\"#input_32_32\").val($(\"#input_32_6\").val());\n\n                                \/\/    $(\"#input_32_6\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    $(\"#input_32_9_1\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    $(\"#input_32_9_3\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    $(\"#input_32_9_4\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    $(\"#input_32_9_5\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    $(\"#input_32_13\").attr(\"disabled\", \"disabled\");\n\n                                \/\/    find_email(telephone, congressman, false);\n\n                                    showSendEmailFields();\n                                }\n                            },\n                            error: function (xhrdelegate, statusdelegate, errordelegate) {\n                                $(\".conerror\").html(errordelegate);\n                                $(\".conerror\").show();\n                                $(\"#validation_message_24_8\").show();\n                                $(\"#field_24_14\").show();\n                            }\n                        });\n                    }\n                },\n                error: function (xhr, status, error) {\n                    $(\".conerror\").html(error);\n                    $(\".conerror\").show();\n                    $(\"#validation_message_24_8\").show();\n                    $(\"#field_24_14\").show();\n                }\n            });\n        }\n    });\n\n    function finddistrict(divisionID) {\n        var districtexists = false;\n        var stateoffice;\n        var districtnumber;\n        var statedistrict;\n\n        divisionID = divisionID.substr(divisionID.indexOf(\"state\"));\n        if (divisionID.indexOf(\"\/cd\") != -1) {\n            stateoffice = divisionID.substr(0, divisionID.indexOf(\"\/cd\"));\n            districtexists = true;\n        }\n        else {\n            stateoffice = divisionID;\n        }\n        stateoffice = stateoffice.replace(\"state:\", \"\");\n        stateoffice = stateoffice.toUpperCase();\n        if (districtexists) {\n            districtnumber = divisionID.substr(divisionID.indexOf(\"cd\"));\n            districtnumber = districtnumber.replace(\"cd:\", \"\");\n            statedistrict = stateoffice + \"-\" + districtnumber;\n        }\n        else {\n            statedistrict = stateoffice + \"-1\";\n        }\n\n        findcongressman(statedistrict);\n    }\n\n    function findcongressman(district) {\n        $.ajax({\n            type: Call_Type,\n            url: Call_Path + 'FindCongressman.php',\n            data: {\n                District: district,\n                Column: hr82,\n                Table: house118th\n            },\n            success: function (result) {\n                result = result.trim();\n\n                if (result.indexOf(\"failed\") != -1) {\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;Failed\");\n                }\n                else if (result.indexOf(\"conerror\") != -1) {\n                    result = result.replace(\"conerror \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else if (result.indexOf(\"Message: \") != -1) {\n                    result = result.replace(\"Message: \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else {\n                    var livestatus = result.substr(result.indexOf(\"#\") + 1);\n                    livestatus = livestatus.trim();\n                    result = result.substr(0, result.indexOf(\"#\"));\n                    var hassigned = result.substr(result.indexOf(\"%\") + 1);\n                    hassigned = hassigned.trim();\n                    var namecongressman = result.substr(0, result.indexOf(\"%\"));\n                    namecongressman = namecongressman.trim();\n\n                    $(\"#NoReprezentanciTable\").show();\n\n                    $(\"#LabelNoReprezentanci\").html(\"<span class='english'>U.S, Representative<\/span><span class='polish' style'display:none'>Kongresmen<\/span>\");\n\n                    $(\"#NoReprezentanci\").html(namecongressman);\n\n                    $(\"#LabelMessage\").html(\"<span class='english'>Information<\/span><span class='polish' style'display:none'>Informacja<\/span>\")\n\n                    $(\"#input_24_6\").val(namecongressman);\n\n                    \/\/kongresmannazwa\n\n                    var beginmessage = \"<span class='english'>\" + \"Congressman\" + \" has \" + livestatus + kropka + \"<\/span><span class='polish' style'display:none'>\" + \"Kongresmamen \";\n                    var endmessage = kropka + \"<\/span>\";\n\n                    if (livestatus == \"deceased\") {\n                        $(\"#Message\").html(beginmessage + \"zmar\u0142\" + endmessage);\n                    }\n                    else if (livestatus == \"resigned\") {\n                        $(\"#Message\").html(beginmessage + \"zrezygnowa\u0142\" + endmessage);\n                    }\n\n                    changelanguage();\n                }\n            },\n            error: function (xhr, status, error) {\n                doError(error);\n            }\n        });\n    }\n\n    function findstate(divisionID, othersenator, senatorindex) {\n        var state;\n\n        state = divisionID.substr(divisionID.indexOf(\"state:\"));\n        state = state.replace(\"state:\", \"\");\n        state = state.toUpperCase();\n\n        if (othersenator == vacant) {\n            bothsenatorsvacant(state);\n\n            return true;\n        }\n        else {\n            findsenator(state, othersenator, senatorindex);\n\n            return false;\n        }\n    }\n\n    function findsenator(state, othersenator, senatorindex) {\n        var firstname = othersenator.substr(0, othersenator.indexOf(\" \"));\n        var lastname = othersenator.substring(othersenator.lastIndexOf(\" \"));\n        $.ajax({\n            type: Call_Type,\n            url: Call_Path + 'FindSenator.php',\n            data: {\n                Firstname: firstname,\n                Lastname: lastname,\n                State: state\n            },\n            success: function (result) {\n                result = result.trim();\n\n                if (result.indexOf(\"failed\") != -1) {\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;Failed\");\n                }\n                else if (result.indexOf(\"conerror\") != -1) {\n                    result = result.replace(\"conerror \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else if (result.indexOf(\"Message: \") != -1) {\n                    result = result.replace(\"Message: \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else {\n                    var livestatus = result.substr(result.indexOf(\"#\") + 1);\n                    livestatus = livestatus.trim();\n                    result = result.substr(0, result.indexOf(\"#\"));\n                    var hassigned = result.substr(result.indexOf(\"%\") + 1);\n                    hassigned = hassigned.trim();\n                    var namesenator = result.substr(0, result.indexOf(\"%\"));\n                    namesenator = namesenator.trim();\n\n                    $(\"#NoSenatorTable\" + senatorindex).show();\n\n                    $(\"#LabelNoSenator\" + senatorindex).html(\"Senator\");\n\n                    $(\"#NoSenator\" + senatorindex).html(namesenator);\n\n                    if (senatorindex == \"1\") {\n                        $(\"#input_24_13\").val(namesenator);\n                    }\n                    else {\n                        $(\"#input_24_19\").val(namesenator);\n                    }\n\n                    $(\"#LabelMessage\" + senatorindex).html(\"<span class='english'>Information<\/span><span class='polish' style'display:none'>Informacja<\/span>\")\n\n                    \/\/kongresmannazwa\n\n                    var beginmessage = \"<span class='english'>\" + \"Senator\" + \" has \" + livestatus + kropka + \"<\/span><span class='polish' style'display:none'>\" + \"Senator \";\n                    var endmessage = kropka + \"<\/span>\";\n\n                    if (livestatus == \"deceased\") {\n                        $(\"#Message\" + senatorindex).html(beginmessage + \"zmar\u0142\" + endmessage);\n                    }\n                    else if (livestatus == \"resigned\") {\n                        $(\"#Message\" + senatorindex).html(beginmessage + \"zrezygnowa\u0142\" + endmessage);\n                    }\n                    else {\n                        $(\"#Message\" + senatorindex).html(namesenator);\n                    }\n\n                    changelanguage();\n                }\n            },\n            error: function (xhr, status, error) {\n                doError(error);\n            }\n        });\n    }\n\n    function bothsenatorsvacant(state) {\n        $.ajax({\n            type: Call_Type,\n            url: Call_Path + 'BothSenators.php',\n            data: {\n                State: state\n            },\n            success: function (result) {\n                result = result.trim();\n\n                if (result.indexOf(\"failed\") != -1) {\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;Failed\");\n                }\n                else if (result.indexOf(\"conerror\") != -1) {\n                    result = result.replace(\"conerror \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else if (result.indexOf(\"Message: \") != -1) {\n                    result = result.replace(\"Message: \", \"\");\n                    $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + result);\n                }\n                else {\n                    var livestatus2 = result.substr(result.indexOf(\"#\") + 1);\n                    livestatus2 = livestatus2.trim();\n                    result = result.substr(0, result.indexOf(\"#\"));\n                    result = result.trim();\n                    var hassigned2 = result.substr(result.indexOf(\"!\") + 1);\n                    hassigned2 = hassigned2.trim();\n                    result = result.substr(0, result.indexOf(\"!\"));\n                    result = result.trim();\n                    var namesenator2 = result.substr(result.indexOf(\"%\") + 1);\n                    namesenator2 = namesenator2.trim();\n                    result = result.substr(0, result.indexOf(\"%\"));\n                    result = result.trim();\n                    var livestatus1 = result.substr(result.indexOf(\"$\") + 1);\n                    livestatus1 = livestatus1.trim();\n                    result = result.substr(0, result.indexOf(\"$\"));\n                    result = result.trim();\n                    var hassigned1 = result.substr(result.indexOf(\"&\") + 1);\n                    hassigned1 = hassigned1.trim();\n                    var namesenator1 = result.substr(0, result.indexOf(\"&\"));\n                    namesenator1 = namesenator1.trim();\n\n                    var information = \"<span class='english'>Information<\/span><span class='polish' style'display:none'>Informacja<\/span>\";\n\n                    $(\"#NoSenatorTable1\").show();\n                    $(\"#NoSenatorTable2\").show();\n\n                    $(\"#LabelNoSenator1\").html(\"Senator\");\n                    $(\"#LabelNoSenator2\").html(\"Senator\");\n\n                    $(\"#NoSenator1\").html(namesenator1);\n                    $(\"#NoSenator2\").html(namesenator2);\n\n                    $(\"#LabelMessage1\").html(information)\n                    $(\"#LabelMessage2\").html(information)\n\n                    $(\"#input_24_13\").val(namesenator1);\n                    $(\"#input_24_19\").val(namesenator2);\n\n                    \/\/kongresmannazwa\n\n                    var beginmessage = \"<span class='english'>\" + \"Senator\" + \" has \";\n                    var middlemessage = kropka + \"<\/span><span class='polish' style'display:none'>\" + \"Senator \";\n                    var endmessage = kropka + \"<\/span>\";\n\n                    if (livestatus1 == \"deceased\") {\n                        $(\"#Message1\").html(beginmessage + livestatus1 + middlemessage + \"zmar\u0142\" + endmessage);\n                    }\n                    else if (livestatus1 == \"resigned\") {\n                        $(\"#Message1\").html(beginmessage + livestatus1 + middlemessage + \"zrezygnowa\u0142\" + endmessage);\n                    }\n                    else {\n                        $(\"#Message1\").html(namesenator1);\n                    }\n\n                    if (livestatus2 == \"deceased\") {\n                        $(\"#Message2\").html(beginmessage + livestatus2 + middlemessage + \"zmar\u0142\" + endmessage);\n                    }\n                    else if (livestatus2 == \"resigned\") {\n                        $(\"#Message2\").html(beginmessage + livestatus2 + middlemessage + \"zrezygnowa\u0142\" + endmessage);\n                    }\n                    else {\n                        $(\"#Message2\").html(namesenator1);\n                    }\n\n                    changelanguage();\n                }\n            },\n            error: function (xhr, status, error) {\n                doError(error);\n            }\n        });\n    }\n\n    function doError(error) {\n        \/\/console.log(error);\n\n        try {\n\n            var wrong = error.responseText;\n            var errorresult = wrong.substring(wrong.indexOf(\"message\\\": \\\"\"));\n\n            errorresult = errorresult.replace(\"message\\\": \\\"\", \"\");\n            errorresult = errorresult.substring(0, errorresult.indexOf(\"\\\"\"));\n            if (errorresult != \"Method not found.\" && errorresult != \"API key not valid. Please pass a valid API key.\") {\n                $(\"#ErrorOccured\").html(\"&nbsp;&nbsp;&nbsp;&nbsp;\" + errorresult);\n\n\n                prepareError();\n\n                hideCreditCardError();\n            }\n            else {\n                var url = \"https:\/\/www.congress.gov\/members\/find-your-member\";\n\n                var win = window.open(url);\n\n                if (win) {\n                    win.focus();\n                }\n            }\n        }\n        catch { }\n    }\n\n    function changelanguage() {\n        var selectedlanguage = typeLanguage.language;\n\n        if (localcurrentlanguage == \"\") {\n            if (selectedlanguage == \"polish\") {\n                $(\".switchpolish\").click();\n            }\n            else {\n                $(\".switchenglish\").click();\n            }\n        }\n        else {\n            if (localcurrentlanguage == 'polish') {\n                $(\".switchpolish\").click();\n            }\n            else if (localcurrentlanguage == 'english') {\n                $(\".switchenglish\").click();\n            }\n        }\n    }\n\n    function hideCreditCardError() {\n        if ($(\"#CreditCardJoinPasiError\").length > 0) {\n            if ($(\"#CreditCardJoinPasiError\").html() == \"\") {\n                $(\"#CreditCardJoinPasiError\").hide();\n                $(\"#field_1_56\").hide();\n            }\n        }\n    }\n\n\t$(document).on('mouseover', '#find_rep', function() { \n\n\t    $(\"#find_rep\").css(\"background-color\",\"#CB0906\");\n\t    \n\t});\n\n\t$(document).on('mouseout', '#find_rep', function() { \n\n\t    $(\"#find_rep\").css(\"background-color\",\"#61CE70\");\n\t    \n    });\n\n    function showSendEmailFields() {\n        $(\"#LabelDistrict\").html(\"<span class='english'>District<\/span><span class='polish' style='display:none'>Dystrykt<\/span>\");\n\n        $(\"#find_rep\").css(\"color\", \"#fff\");\n\n        $(\"#gform_submit_button_24\").show();\n\n        $(\"#EmailDescription\").show();\n\n        $(\"#field_24_4\").show();\n    }\n\n    function prepareError() {\n        $(\"#field_24_3\").show();\n        $(\"#ErrorOccured\").show();\n\n        $(\"#Reprezentanci\").hide();\n        $(\"#SenatorTable1\").hide();\n        $(\"#SenatorTable2\").hide();\n\n        $(\"#input_24_6\").val(\"\");\n        $(\"#input_24_7\").val(\"\");\n        $(\"#input_24_8\").val(\"\");\n        $(\"#input_24_9\").val(\"\");\n        $(\"#input_24_10\").val(\"\");\n        $(\"#input_24_11\").val(\"\");\n        $(\"#input_24_12\").val(\"\");\n        $(\"#input_24_13\").val(\"\");\n        $(\"#input_24_14\").val(\"\");\n        $(\"#input_24_15\").val(\"\");\n        $(\"#input_24_16\").val(\"\");\n        $(\"#input_24_17\").val(\"\");\n        $(\"#input_24_18\").val(\"\");\n        $(\"#input_24_19\").val(\"\");\n        $(\"#input_24_20\").val(\"\");\n        $(\"#input_24_21\").val(\"\");\n        $(\"#input_24_22\").val(\"\");\n        $(\"#input_24_23\").val(\"\");\n        $(\"#input_24_24\").val(\"\");\n\n        $(\"#input_24_26\").val(\"\");\n        $(\"#input_24_27\").val(\"\");\n        $(\"#input_24_28\").val(\"\");\n        $(\"#input_24_29\").val(\"\");\n        $(\"#input_24_30\").val(\"\");\n        $(\"#input_24_31\").val(\"\");\n\n        $(\"#Congressman\").html(\"\");\n        $(\"#AddressLine\").html(\"\");\n        $(\"#City\").html(\"\");\n        $(\"#State\").html(\"\");\n        $(\"#Zip\").html(\"\");\n        $(\"#Phone\").html(\"\");\n        $(\"#Url\").html(\"\");\n        $(\"#Party\").html(\"\");\n        $(\"#Picture\").html(\"\");\n        $(\"#District\").html(\"\");\n\n        $(\"#Senator1\").html(\"\");\n        $(\"#AddressLine1\").html(\"\");\n        $(\"#City1\").html(\"\");\n        $(\"#State1\").html(\"\");\n        $(\"#Zip1\").html(\"\");\n        $(\"#Phone1\").html(\"\");\n        $(\"#Url1\").html(\"\");\n        $(\"#Party1\").html(\"\");\n        $(\"#Picture1\").html(\"\");\n\n        $(\"#Senator2\").html(\"\");\n        $(\"#AddressLine2\").html(\"\");\n        $(\"#City2\").html(\"\");\n        $(\"#State2\").html(\"\");\n        $(\"#Zip2\").html(\"\");\n        $(\"#Phone2\").html(\"\");\n        $(\"#Url2\").html(\"\");\n        $(\"#Party2\").html(\"\");\n        $(\"#Picture2\").html(\"\");\n\n        $(\"#gform_submit_button_24\").hide();\n\n        $(\"#field_24_4\").hide();\n\n        $(\"#EmailDescription\").hide();\n\n        setvalidationerrors();\n    }\n\n    function red_validation() {\n        check_remove_error_classes(\"gform_24_validation_container\");\n\n        changelanguage();\n    }\n\n    function changelanguage() {\n        if ($(\"#congressenglish\").css(\"display\") == \"none\") {\n            $(\".switchpolish\").click();\n        }\n\n        if ($(\"#congresspolish\").css(\"display\") == \"none\") {\n            $(\".switchenglish\").click();\n        }\n    }\n\n    \/\/function doaftervalidate() {\n\n    \/\/    setfindrepsenglishpolish();\n\n    \/\/    if ($(\"div.validation_message\").length > 0) {\n\n    \/\/        changeOrientation();\n\n    \/\/        red_validation();\n\n    \/\/        setvalidationerrors();\n    \/\/    }\n\n    \/\/    clearInterval(waitforerror);\n\n    \/\/}\n\n    $(document).on('click', '#gform_submit_button_24', function () {\n        validation_messages_remove();\n\n        \/\/waitforerror = setInterval(doaftervalidate, 3000);\n\n    });\n\n    $(document).on('click', '.switchenglish', function () {\n        $(\"#find_rep\").val(\"Find Representatives\");\n\n        $(\"#gform_submit_button_24\").val(\"Send Email\");\n\n        localcurrentlanguage = 'english';\n    });\n\n    $(document).on('click', '.switchpolish', function () {\n        $(\"#find_rep\").val(\"Znajd\u017a Reprezentant\u00f3w\");\n\n        $(\"#gform_submit_button_24\").val(\"Wy\u015blij Email\");\n\n        localcurrentlanguage = 'polish';\n    });\n\n    gform.initializeOnLoaded(function () {\n        $('#gform_ajax_frame_24').on('load', function () {\n            var contents = $(this).contents().find('*').html();\n            var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;\n            if (!is_postback) {\n                return;\n            }\n            var form_content = $(this).contents().find('#gform_wrapper_24');\n            var is_confirmation = $(this).contents().find('#gform_confirmation_wrapper_24').length > 0;\n            var is_redirect = contents.indexOf('gformRedirect(){') >= 0;\n            var is_form = form_content.length > 0 && !is_redirect && !is_confirmation;\n            if (is_form) {\n                clear_errors();\n\n                waitfor_clear_errors_after = setInterval(clear_errors_after, 500);\n                waitfor_clear_errors_after_while = setInterval(clear_errors_after_while, 2000);\n            }\n            else {\n                waitfor_set_proper_language_after = setInterval(set_proper_language_after, 200);\n                waitfor_set_proper_language_after_while = setInterval(set_proper_language_after_while, 500);\n            }\n        });\n    });\n\n    function set_proper_language_after() {\n        changelanguage();\n\n        clearInterval(waitfor_set_proper_language_after);\n    }\n\n    function set_proper_language_after_while() {\n        changelanguage();\n\n        clearInterval(waitfor_set_proper_language_after_while);\n    }\n\n    function clear_errors_after_while() {\n        clear_errors();\n\n        clearInterval(waitfor_clear_errors_after_while);\n    }\n\n    function clear_errors_after() {\n        clear_errors();\n\n        clearInterval(waitfor_clear_errors_after);\n    }\n\n    function clear_errors() {\n        setfindrepsenglishpolish();\n\n        changeOrientation();\n\n        red_validation();\n\n        setvalidationerrors();\n    }\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>po polsku english FIND YOUR U.S. CONGRESS REPRESENTATIVES ZNAJD\u0179 SWOICH REPREZENTANT\u00d3W W KONGRESIE STAN\u00d3W ZJEDNOCZONYCH &quot;*&quot; indicates required fields Address Street AddressUlica, Nr Domu CityMiasto AlabamaAlaskaAmerican SamoaArizonaArkansasCaliforniaColoradoConnecticutDelawareDistrict of ColumbiaFloridaGeorgiaGuamHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandMassachusettsMichiganMinnesotaMississippiMissouriMontanaNebraskaNevadaNew HampshireNew JerseyNew MexicoNew YorkNorth CarolinaNorth DakotaNorthern Mariana IslandsOhioOklahomaOregonPennsylvaniaPuerto RicoRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUtahU.S. Virgin IslandsVermontVirginiaWashingtonWest VirginiaWisconsinWyomingArmed Forces AmericasArmed Forces EuropeArmed Forces Pacific StateStan ZIP CodeKod Pocztowy In &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/joinpasidev.org\/index.php\/findreps\/\"> <span class=\"screen-reader-text\">FindReps<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":261,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"_links":{"self":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages\/2993"}],"collection":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/users\/261"}],"replies":[{"embeddable":true,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/comments?post=2993"}],"version-history":[{"count":0,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages\/2993\/revisions"}],"wp:attachment":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/media?parent=2993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}