{"id":9508,"date":"2024-07-09T15:22:30","date_gmt":"2024-07-09T19:22:30","guid":{"rendered":"https:\/\/joinpasidev.org\/?page_id=9508"},"modified":"2024-07-23T11:38:23","modified_gmt":"2024-07-23T15:38:23","slug":"mark_up_congressmen_3","status":"publish","type":"page","link":"https:\/\/joinpasidev.org\/index.php\/mark_up_congressmen_3\/","title":{"rendered":"Mark_Up_Congressmen_3"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"9508\" class=\"elementor elementor-9508\" 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-476eb47 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"476eb47\" 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-e099943\" data-id=\"e099943\" 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-4e1283d elementor-widget elementor-widget-html\" data-id=\"4e1283d\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"Remaining_Page\" style=\"display:none\">\n    <div id=\"HeaderMessage\">\n        <h1 class=\"english\" style=\"text-align: center; color:#CB1407\">\n            <b>\n                <span class=\"sendmonth\">JULY<\/span> <span class=\"sendday\">16<\/span>, 2024 CALL TO ACTION FOR POLONIA!\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align: center; color: #CB1407; display: none\">\n            <b>\n                AKCJA POLONII W DNIU <span class=\"sendday\">16<\/span> <span class=\"sendmiesiac\">LIPCA<\/span> 2024 ROKU\n            <\/b>\n        <\/h1>\n    <\/div>\n    <div id=\"CallMessage\">\n        <h3 class=\"english\" style=\"text-align:center;color:black; font: bold\" \">\n            <b>\n                ON <span class=\"sendmonth\">JULY<\/span> <span class=\"sendday\">16<\/span>, 2024, WE CALL ON POLISH AMERICANS TO SEND THE FOLLOWING<br \/>E-MAIL TO THE 3 TARGETED REPRESENTATIVES TO REPEAL WEP\/GPO.\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"text-align:center;color:black; font: bold\" ;display:none\">\n            <b>\n                DNIA <span class=\"sendday\">16<\/span> <span class=\"sendmiesiac\">LIPCA<\/span> 2024 ROKU, WZYWAMY POLONI\u0118  DO WYS\u0141ANIA PONI\u017bSZEGO LISTU MAILOWEGO DO 3 WYBRANYCH KONGRESMEN\u00d3W CZ\u0141ONK\u00d3W IZBY REPREZENTANT\u00d3W DO PRZEDSTAWIENIA CA\u0141EJ IZBIE HR 82.\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div id=\"DoMessage\">\n        <h3 class=\"english\" style=\"text-align:center;color:black\">\n            <b>\n                We\u2019ve written the email for you and included each staffer\u2019s email address. To do this, please enter your name and surname, your profession and your email address (if you have one) and press the green \"<span style=\"color: green\">Send Emails to 3 Congressmen<\/span>\" button.The system will automatically send individual emails to the 3 congressional representatives whose names are listed below.\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"text-align:center;color:black;display:none\">\n            <b>\n                Aby to zrobi\u0107 prosimy wpisa\u0107 swoje imi\u0119 i nazwisko, sw\u00f3j zaw\u00f3d i sw\u00f3j adres mailowy ( je\u015bli Pa\u0144stwo posiadacie) i nacisn\u0105\u0107 zielony przycisk \u201e<span style=\"color: green\">Wy\u015blij Emaile do 3 Kongresmen\u00f3w<\/span>\u201d.\n                System automatycznie wy\u015ble 3 indywidualnych emaili do kongresmen\u00f3w wyszczeg\u00f3lnionych poni\u017cej pod listem.\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div id=\"LetterCongressman\">\n        <span id=\"LetterBodyPlace\"><\/span>\n        <input type=\"text\" name=\"personname\" id=\"personname\" value=\"\" tabindex=\"2\" aria-required=\"true\" style=\"width:900px\" placeholder=\"Your Name\" \/>\n    <\/div>\n    <div class=\"personnameerror\" style=\"text-align: center; display: none \">\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"personnameerrorenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"personnameerrorpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div>\n        <input type=\"text\" name=\"personprofession\" id=\"personprofession\" value=\"\" tabindex=\"2\" aria-required=\"true\" style=\"width:900px\" placeholder=\"Your Profession\" \/>\n    <\/div>\n    <div class=\"personprofessionerror\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"personprofessionlerrorenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"personprofessionerrorpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div>\n        <input type=\"text\" name=\"emailperson\" id=\"emailperson\" value=\"\" tabindex=\"2\" aria-required=\"true\" style=\"width:900px\" placeholder=\"Your Email\" \/>\n    <\/div>\n    <div class=\"personemailerror\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"personemailerrorenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"personemailerrorpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div id=\"ActionMessage1\">\n        <h3 class=\"english\" style=\"text-align:center;color:#1B4D9F\">\n            <b>\n                Enter Your Name, Your Profession, Email if you have it and Send the Emails to the Representatives listed below\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"text-align:center;color:#1B4D9F;display:none\">\n            <b>\n                Wprowad\u017a swoje Imi\u0119, Nazwisko, Tw\u00f3j Zaw\u00f3d i Adres Emailowy je\u015bli go posiadasz, a nast\u0119pnie Wy\u015blij Emaile do Kongresmen\u00f3w wyszczeg\u00f3lnionych poni\u017cej\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"congressmanemailerror\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"congressmanenglish\">\n                Please Enter Correct Congressman's 'Email Address\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"congressmanpolish\">\n                Prosz\u0119 Wprowadzi\u0107 Poprawny Adres Emailowy Kongresmena\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"failedsendingemail\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"failedenglish\">\n                Error occured while sending Email to Congressman\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"failedpolish\">\n                Wyst\u0105pi\u0142 B\u0142\u0105d przy wysy\u0142aniu Emaila do Kongresmena\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"inserterrorsendemail\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"inserterrorsendemailenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"inserterrorsendemailpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"successsendemail\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:green\">\n            <b class=\"successsendemailenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display: none; color: green;\">\n            <b class=\"successsendemailpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"sendingemail\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:green\">\n            <b class=\"sendingemailenglish\">\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display: none; color: green;\">\n            <b class=\"sendingemailpolish\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"exception_send_error\" style=\"display:none\">\n        <br \/>\n        <h3 style=\"color:red\">\n            <b class=\"exception_error_message\">\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div id=\"SendEmailsCongressmenheader2\" style=\"text-align:center\">\n        <div class=\"elementor-element elementor-element-45678e8 elementor-align-center elementor-mobile-align-center elementor-widget__width-auto elementor-widget-mobile__width-initial elementor-widget elementor-widget-button\" data-id=\"45678e8\" data-element_type=\"widget\" data-widget_type=\"button.default\" id=\"TakeActionBlock\">\n            <div class=\"elementor-widget-container\">\n                <div class=\"elementor-button-wrapper\">\n                    <a href=\"javascript:void(0)\" id=\"SendEmailsCongressmen2\" class=\"elementor-button-link elementor-button elementor-size-sm sendemailcongressman\" role=\"button\">\n                        <span class=\"elementor-button-content-wrapper\">\n                            <span class=\"elementor-button-text\">\n                                <span class=\"english\" style=\"\">\n                                    Send Emails to 3 Congressmen\n                                <\/span>\n                                <span class=\"polish\" style=\"display:none;\">\n                                    Wy\u015blij Emaile do 3 Kongresmen\u00f3w\n                                <\/span>\n                            <\/span>\n                        <\/span>\n                    <\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n    <br class=\"hidebutton\" style=\"display:none\" \/>\n    <br \/>\n    <div id=\"Congressmen List\">\n        <h1 class=\"english\" style=\"text-align:center;color:#1B4D9F\">\n            <b>\n                List of Representatives and Email Contacts\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align:center;color:#1B4D9F;display:none\">\n            <b>\n                Lista Kongresmen\u00f3w i Emaile\n            <\/b>\n        <\/h1>\n        <br \/>\n\n        <table style=\"width:100%;border-style:none\">\n            <tbody>\n                <tr>\n                    <td id=\"congressmannameline1\" style=\"width: 33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"phonelink1\" class=\"phonedisplay1 telmobile\" style=\"display: none;\" href=\"\" target=\"_blank\" rel=\"noopener\">\n                        <\/a>\n                        <span class=\"phonedisplay1 teldesktop\">\n                        <\/span>\n                    <\/td>\n                    <td style=\"width: 33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"staffername1\" style=\"width:33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"congressmanlink1\" href=\"\">\n                            <span id=\"congressmanemail1\">\n                            <\/span>\n                        <\/a>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"congressmannameline2\" style=\"width: 33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"phonelink2\" class=\"phonedisplay2 telmobile\" style=\"display: none;\" href=\"\" target=\"_blank\" rel=\"noopener\">\n                        <\/a>\n                        <span class=\"phonedisplay2 teldesktop\">\n                        <\/span>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"staffername2\" style=\"width:33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"congressmanlink2\" href=\"\">\n                            <span id=\"congressmanemail2\">\n                            <\/span>\n                        <\/a>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"congressmannameline3\" style=\"width: 33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"phonelink3\" class=\"phonedisplay3 telmobile\" style=\"display: none;\" href=\"\" target=\"_blank\" rel=\"noopener\">\n                        <\/a>\n                        <span class=\"phonedisplay3 teldesktop\">\n                        <\/span>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"staffername3\" style=\"width:33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"congressmanlink3\" href=\"\">\n                            <span id=\"congressmanemail3\">\n                            <\/span>\n                        <\/a>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n            <\/tbody>\n        <\/table>\n    <\/div>\n    <br \/>\n<\/div>\n<script>\n    var actiontype = \"3 Congresmen July 2024\";\n\n    var firstdate = 16;\n    var seconddate = 23;\n    var thirddate = 25;\n\n    var hiddennewline = \"<br\/>\";\n    var letterbody = \"\";\n    var letterpage = \"\";\n    var subject = \"\";\n    var newline = \"\";\n    var pattern = \"_________________\";\n    var errornumber = \"\";\n    var offjoin;\n    var day;\n\n    var sendname = \"\";\n    var with_email = \" with email \";\n    var o_emailu = \" o emailu \";\n\n    var tablet_vertical = \"500px\";\n    var tablet_horizontal = \"700px\";\n    var mobile_vertical = \"300px\";\n    var mobile_horizontal = \"600px\";\n\n    var at = \"\\u0040\";\n    var mailto = \"mailto:\";\n    var mail_house_gov_short = \"mail.house.gov\";\n    var mail_house_gov = at + mail_house_gov_short;\n    var hreflink = \"href\";\n    var representative = \"Representative\";\n    var speaker = \"Speaker\";\n    var chairman = \"Chairman\";\n    var majorityleader = \"Majority Leader\";\n    var kongresmen = \"Kongresmen\";\n    var staffer = \"Staffer\";\n    var nbsp = \"&nbsp;\";\n    var phonebegindisplay = \"(202) 225-\";\n    var phonebeginlink = \"tel:+1-202-225-\";\n\n    var joinpasi_org = at + \"joinpasi.org\";\n    var gmail_com = at + \"gmail.com\";\n    var yahoo_com = at + \"yahoo.com\";\n    var hotmail_com = at + \"hotmail.com\";\n    var eagle_myftp_org = at + \"eagle.myftp.org\";\n    var pacwashmetrodiv_org = at + \"pacwashmetrodiv.org\";\n    var polishdramaclub_org = at + \"polishdramaclub.org\";\n\n    var jmarczyn = \"jmarczyn\";\n    var rogatadusza = \"rogatadusza\";\n    var mglowack55 = \"mglowack55\";\n    var mrogoyski = \"mrogoyski\";\n    \/\/var info = \"info\";\n    var notification = \"notification\";\n    var jmarczynski = \"jmarczynski\";\n    var mrogoyski1 = \"mrogoyski1\";\n    var pasiorg6 = \"pasiorg6\";\n    var pasiaction = \"pasiaction\";\n\n    var emailfrom = notification + joinpasi_org;\n\n    var congressmanname1 = \"Mike Johnson\";\n    var congressmanstate1 = \"(LA)\";\n    var phoneextension1 = \"2777\";\n    var staffername1 = \"Jules Hurst\";\n\n    var congressmanname2 = \"Jason Smith\";\n    var congressmanstate2 = \"(MO)\";\n    var phoneextension2 = \"4404\";\n    var staffername2 = \"Hilary Pinegar\";\n\n    var congressmanname3 = \"Steve Scalise\";\n    var congressmanstate3 = \"(LA)\";\n    var phoneextension3 = \"3015\";\n    var staffername3 = \"Holly Hendrix\";\n\n    var congressmanlettername1 = congressmanname1.substring(congressmanname1.lastIndexOf(\" \")).trim();\n    var congressmanlettername2 = congressmanname2.substring(congressmanname2.lastIndexOf(\" \")).trim();\n    var congressmanlettername3 = congressmanname3.substring(congressmanname3.lastIndexOf(\" \")).trim();\n\n    var phonedisplay1 = phonebegindisplay + phoneextension1;\n    var phonedisplay2 = phonebegindisplay + phoneextension2;\n    var phonedisplay3 = phonebegindisplay + phoneextension3;\n\n    var phonelink1 = phonebeginlink + phoneextension1;\n    var phonelink2 = phonebeginlink + phoneextension2;\n    var phonelink3 = phonebeginlink + phoneextension3;\n\n    $(\".phonedisplay1\").html(phonedisplay1);\n    $(\".phonedisplay2\").html(phonedisplay2);\n    $(\".phonedisplay3\").html(phonedisplay3);\n\n    $(\"#phonelink1\").attr(hreflink, phonelink1);\n    $(\"#phonelink2\").attr(hreflink, phonelink2);\n    $(\"#phonelink3\").attr(hreflink, phonelink3);\n\n    $(\"#staffername1\").html(staffer + nbsp + staffername1);\n    $(\"#staffername2\").html(staffer + nbsp + staffername2);\n    $(\"#staffername3\").html(staffer + nbsp + staffername3);\n\n    var stafferemail1 = staffername1.replace(\" \", \".\").toLowerCase();\n    var stafferemail2 = staffername2.replace(\" \", \".\").toLowerCase();\n    var stafferemail3 = staffername3.replace(\" \", \".\").toLowerCase();\n\n    var congressmannameline1 = \"\";\n    var congressmannameline2 = \"\";\n    var congressmannameline3 = \"\";\n\n    set_representatives();\n\n    write_representatives();\n\n    var congressmanemail1 = stafferemail1 + mail_house_gov;\n    var congressmanemail2 = stafferemail2 + mail_house_gov;\n    var congressmanemail3 = stafferemail3 + mail_house_gov;\n\n    $(\"#congressmanemail1\").html(congressmanemail1);\n    $(\"#congressmanemail2\").html(congressmanemail2);\n    $(\"#congressmanemail3\").html(congressmanemail3);\n\n    $(\"#congressmanlink1\").attr(hreflink, mailto + congressmanemail1);\n    $(\"#congressmanlink2\").attr(hreflink, mailto + congressmanemail2);\n    $(\"#congressmanlink3\").attr(hreflink, mailto + congressmanemail3);\n\n    var testname1 = \"Felek Duzy\";\n    var testname2 = \"Edward Wysoki\";\n    var testname3 = \"Malgorzata Ciuraszkiewicz\";\n\n    var testemail1 = jmarczyn + gmail_com;\n    var testemail2 = jmarczyn + yahoo_com;\n    var testemail3 = rogatadusza + gmail_com;\n\n    var hr82 = \"HR82\";\n    var house118th = \"HOUSE_118th\";\n    var Cosponsors = \"Cosponsors.php\";\n    var conerror_string = \"conerror\";\n    var conerror_space = \"conerror \";\n\n    $(\".personnameerrorenglish\").html(\"Please Enter Your Name\");\n    $(\".personnameerrorpolish\").html(\"Prosz\u0119 Wprowadzi\u0107 Imi\u0119 i Nazwisko\");\n    $(\".personemailerrorenglish\").html(\"Please Correct Your Email Address\");\n    $(\".personemailerrorpolish\").html(\"Prosz\u0119 Poprawi\u0107 Sw\u00f3j Adres Emailowy\");\n    $(\".successsendemailenglish\").html(\"Emails have been sent successfully\");\n    $(\".successsendemailpolish\").html(\"Emaile zosta\u0142y wys\u0142ane pomy\u015blnie\");\n    $(\".sendingemailenglish\").html(\"Please wait for completion of Sending Emails\");\n    $(\".sendingemailpolish\").html(\"Prosz\u0119 poczeka\u0107 na zako\u0144czenie wysy\u0142ania Emaili\");\n\n    $(document).on('mouseover', '#SendEmailsCongressmen2', function () {\n        $(\"#SendEmailsCongressmen2\").css(\"background-color\", \"#CB1407\");\n    });\n\n    $(document).on('mouseout', '#SendEmailsCongressmen2', function () {\n        $(\"#SendEmailsCongressmen2\").css(\"background-color\", \"#61CE70\");\n    });\n\n    function Show_ConError(error, space, procedurename) {\n        $(\".exception_error_message\").html(error + space + procedurename);\n        $(\".exception_send_error\").show();\n    }\n\n    function check_connerror_show_result(result, procedurename) {\n        result = result.trim();\n        if (result.indexOf(conerror_string) == -1) {\n            result = result.replace(conerror_space, \"\");\n        }\n\n        Show_ConError(result, \" \", procedurename);\n    }\n\n    function redirect_to_Inactive() {\n        $(\"#Remaining_Page\").hide();\n        var good_href = location.href;\n        var wrong_href = good_href.replace(\"mark_up_congressmen_3\", \"Inactive_Page_Congressman_3\");\n        location.href = wrong_href;\n    }\n\n    function getParameterByName(name, url = window.location.href) {\n        name = name.replace(\/[\\[\\]]\/g, '\\\\$&');\n        var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n            results = regex.exec(url);\n        if (!results) return null;\n        if (!results[2]) return '';\n        return decodeURIComponent(results[2].replace(\/\\+\/g, ' '));\n    }\n\n    function joinoff() {\n        var navig = jQuery(\".menu-item-633\");\n\n        navig = navig.children().eq(0);\n\n        navig.removeClass(\"elementor-item-active\");\n\n        \/\/clearInterval(offjoin);\n    }\n\n    function changeOrientation() {\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\n            var is_tablet = isTablet.status;\n\n            if (window.orientation === 90 || window.orientation === -90) {\n                if (is_tablet) {\n                    $(\"#personname\").css(\"width\", tablet_horizontal);\n                    $(\"#personprofession\").css(\"width\", tablet_horizontal);\n                    $(\"#emailperson\").css(\"width\", tablet_horizontal);\n                }\n                else {\n                    $(\"#personname\").css(\"width\", mobile_horizontal);\n                    $(\"#personprofession\").css(\"width\", mobile_horizontal);\n                    $(\"#emailperson\").css(\"width\", mobile_horizontal);\n                }\n            }\n            else {\n                if (is_tablet) {\n                    $(\"#personname\").css(\"width\", tablet_vertical);\n                    $(\"#personprofession\").css(\"width\", tablet_vertical);\n                    $(\"#emailperson\").css(\"width\", tablet_vertical);\n                }\n                else {\n                    $(\"#personname\").css(\"width\", mobile_vertical);\n                    $(\"#personprofession\").css(\"width\", mobile_vertical);\n                    $(\"#emailperson\").css(\"width\", mobile_vertical);\n                }\n            }\n        }\n    }\n\n    $(window).load(function () {\n\n        offjoin = setInterval(joinoff, 100);\n\n        $.ajax({\n            type: Call_Type,\n            url: Call_Path + Cosponsors,\n            data: {\n                Column: hr82,\n                Table: house118th\n            },\n            success: function (result) {\n                result = result.trim();\n\n                if (result.indexOf(conerror_string) != -1) {\n                    check_connerror_show_result(result, Cosponsors);\n                }\n                else if (result.indexOf(Parse_error) != -1) {\n                    check_connerror_show_result(result, Cosponsors);\n                }\n                else if (result.indexOf(Fatal_error) != -1) {\n                    check_connerror_show_result(result, Cosponsors);\n                }\n                else if (result.indexOf(Message_space) != -1) {\n                    result = result.replace(Message_space, \"\");\n                    check_connerror_show_result(result, Cosponsors);\n                }\n                else {\n                    var DoubleQuote = \"\\u201D\"; \/\/ \"#201D;\";\n\n                    subject = \"Calling on House Leadership to Move Bipartisan Bill H.R. 82 Forward\";\n\n                    var line1 = \"Dear Representative \" + pattern + \",\";\n\n                    var line2 = \"The time is now for a floor hearing. Our goal was to get these penalties repealed by the 4th of July. Repealing the WEP and GPO by our Nation's Independence Day, July 4th, would have honored the dedication of our public service workers\u2014teachers, police officers, firefighters, Americans who earned foreign pensions, and many more\u2014who have tirelessly fought to be free from these unjust penalties.\";\n\n                    var line3 = \"The WEP and GPO withholdings cannot continue to be a significant revenue source for the Social Security program, as they represent money rightfully due to a targeted group of citizens.  This is un-American and discriminatory.  The CBO provided an estimate that the trust funds saved $14 billion in 2023 due to the WEP and GPO withholdings, and it has been estimated that it would cost about $15 billion per year to repeal the penalties.\";\n\n                    var line4 = \"We call on you to quickly move H.R. 82 to the full floor vote, demonstrating your commitment to fairness and justice in our retirement system.\";\n\n                    var line5 = DoubleQuote + \"We will remember in November\" + DoubleQuote + \".\";\n\n                    var line6 = \"Sincerely,\";\n\n                    newline = String.fromCharCode(13, 10);\n\n                    letterbody = letterbody + line1 + newline + newline;\n                    letterbody = letterbody + \"               \" + line2 + newline + newline;\n                    letterbody = letterbody + line3 + newline + newline;\n                    letterbody = letterbody + line4 + newline + newline;\n                    letterbody = letterbody + line5 + newline + newline;\n                    letterbody = letterbody + line6 + newline + newline;\n\n                    letterpage = letterpage + line1 + hiddennewline + hiddennewline;\n                    letterpage = letterpage + \"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\" + line2 + hiddennewline + hiddennewline;\n                    letterpage = letterpage + line3 + hiddennewline + hiddennewline;\n                    letterpage = letterpage + line4 + hiddennewline + hiddennewline;\n                    letterpage = letterpage + line5 + hiddennewline + hiddennewline;\n                    letterpage = letterpage + line6 + hiddennewline + hiddennewline;\n\n                    \/\/debugger;\n\n                    \/\/ Do Czasowego Skomentowania Poczatek\n\n                    const d = new Date();\n                    let currentday = d.getDate();\n\n                    \/\/ Do Czasowego Skomentowania Koniec\n\n                    day = getParameterByName('daynumber'); \/\/ \"daynumber\"\n\n                    $('.sendday').html(day);\n\n                    \/\/ Do Czasowego Skomentowania Poczatek\n\n                    if (day == firstdate || day == seconddate) {\n                        if (currentday != day) {\n                            redirect_to_Inactive();\n                        }\n                        else {\n\n                            \/\/ Do Czasowego Skomentowania Koniec\n\n                            $(\".sendmonth\").html(\"JULY\");\n                            $(\".sendmiesiac\").html(\"LIPCA\");\n\n                            $(\"#LetterBodyPlace\").html(letterpage);\n\n                            $(\"#Remaining_Page\").show();\n\n                            changeOrientation();\n\n                            \/\/ Do Czasowego Skomentowania Poczatek\n\n                        }\n                    }\n                    else {\n                        redirect_to_Inactive();\n                    }\n\n                    \/\/ Do Czasowego Skomentowania Koniec\n\n                }\n            },\n            error: function (xhr, status, error) {\n                if (error != \"\") {\n                    error = hiddennewline + \"<span>\" + error + \"<\/span>\";\n                    Show_ConError(error, \"\", \"\");\n                }\n                else if (status == \"error\") {\n                    status = xhr.responseText;\n                    status = hiddennewline + \"<span>\" + status + \"<\/span>\";\n                    Show_ConError(status, \"\", \"\");\n                }\n                else if (status != \"\") {\n                    status = hiddennewline + \"<span>\" + status + \"<\/span>\";\n                    Show_ConError(status, \"\", \"\");\n                }\n                else if (xhr != \"\") {\n                    xhr = hiddennewline + \"<span>\" + xhr + \"<\/span>\";\n                    Show_ConError(xhr, \"\", \"\");\n                }\n            }\n        });\n    });\n\n    function set_representatives() {\n        congressmannameline1 = speaker + nbsp + congressmanname1 + nbsp + congressmanstate1;\n        congressmannameline2 = chairman + nbsp + congressmanname2 + nbsp + congressmanstate2;\n        congressmannameline3 = majorityleader + nbsp + congressmanname3 + nbsp + congressmanstate3;\n    }\n\n    function write_representatives() {\n        $(\"#congressmannameline1\").html(congressmannameline1);\n        $(\"#congressmannameline2\").html(congressmannameline2);\n        $(\"#congressmannameline3\").html(congressmannameline3);\n    }\n\n    $(document).on('click', '.switchenglish', function () {\n        $(\".english\").show();\n        $(\".polish\").hide();\n\n        $(\"#personname\").attr(\"placeholder\", \"Your Name\");\n        $(\"#personprofession\").attr(\"placeholder\", \"Your Profession\");\n        $(\"#emailperson\").attr(\"placeholder\", \"Your Email\");\n\n        set_representatives();\n\n        write_representatives();\n    });\n    $(document).on('click', '.switchpolish', function () {\n        $(\".polish\").show();\n        $(\".english\").hide();\n\n        $(\"#personname\").attr(\"placeholder\", \"Twoje Imi\u0119 i Nazwisko\");\n        $(\"#personprofession\").attr(\"placeholder\", \"Tw\u00f3j Zaw\u00f3d\");\n        $(\"#emailperson\").attr(\"placeholder\", \"Tw\u00f3j Email\");\n\n        set_representatives();\n\n        write_representatives();\n    });\n\n    function find_error_email(congressmannumber) {\n        var sendedemail = \"\";\n\n        var liveemail = isLive.status;\n\n        if (liveemail) {\n            if (congressmannumber == \"1\") {\n                sendedemail = congressmanemail1;\n                sendname = congressmanname1;\n                errornumber = \"1\";\n            }\n            else if (congressmannumber == \"2\") {\n                sendedemail = congressmanemail2;\n                sendname = congressmanname2;\n                errornumber = \"2\";\n            }\n            else if (congressmannumber == \"3\") {\n                sendedemail = congressmanemail3;\n                sendname = congressmanname3;\n                errornumber = \"3\";\n            }\n        }\n        else {\n            if (congressmannumber == \"1\") {\n                sendedemail = testemail1;\n                sendname = testname1;\n                errornumber = \"1\";\n            }\n            else if (congressmannumber == \"2\") {\n                sendedemail = testemail2;\n                sendname = testname12\n                errornumber = \"2\";\n            }\n            else if (congressmannumber == \"3\") {\n                sendedemail = testemail3;\n                sendname = testname2;\n                errornumber = \"3\";\n            }\n        }\n\n        return sendedemail;\n    }\n\n    $(document).on('click', '.sendemailcongressman', function () {\n        \/\/ Do Czasowego Skomentowania Poczatek\n\n        const d = new Date();\n        let currentday = d.getDate();\n\n        if (currentday != day) {\n\n            $(\"#Remaining_Page\").hide();\n\n            var current_href = location.href;\n            var new_href = current_href.replace(\"daynumber=\" + day, \"daynumber=\" + currentday);\n            location.href = new_href;\n        }\n        else {\n\n        \/\/ Do Czasowego Skomentowania Koniec\n\n            var wrongcongressmanemail = \"wrong congressman email\";\n            var emailfailed = \"failed\";\n\n            var personname = $(\"#personname\").val().trim();\n            var personprofession = $(\"#personprofession\").val().trim();\n\n            personname = personname.trim();\n\n            if (personname != \"\") {\n                $(\".personnameerror\").hide();\n                $(\".personemailerror\").hide();\n                $(\".exception_send_error\").hide();\n                $(\".congressmanemailerror\").hide();\n                $(\".failedsendingemail\").hide();\n                $(\".successsendemail\").hide();\n                $(\".inserterrorsendemail\").hide();\n\n                hiding_button(\".sendemailcongressman\");\n                $(\".hidebutton\").show();\n                $(\".sendingemail\").show()\n\n                var messagebody = letterpage + hiddennewline + personname + hiddennewline;\n\n                if (personprofession != \"\") {\n                    messagebody = messagebody + personprofession + hiddennewline;\n                }\n\n                var emailperson = $(\"#emailperson\").val();\n\n                emailperson = emailperson.trim();\n\n                if (emailperson != \"\") {\n                    messagebody = messagebody + emailperson + hiddennewline;\n                }\n\n                errornumber = \"\";\n\n                var senddate = day + \" July 2024\";\n                var senddatepolish = day + \" lipca 2024\"\n                sendname = \"\";\n\n                $.ajax({\n                    type: Call_Type,\n                    url: Call_Path + 'SendEmailsMarkUpWepGpo3.php',\n                    data: {\n                        CongressmanName1: congressmanlettername1,\n                        CongressmanEmail1: congressmanemail1,\n                        CongressmanName2: congressmanlettername2,\n                        CongressmanEmail2: congressmanemail2,\n                        CongressmanName3: congressmanlettername3,\n                        CongressmanEmail3: congressmanemail3,\n                        TestName1: testname1,\n                        TestEmail1: testemail1,\n                        TestName2: testname2,\n                        TestEmail2: testemail2,\n                        TestName3: testname3,\n                        TestEmail3: testemail3,\n                        PasiAction: pasiaction,\n                        JoinPasiOrg: joinpasi_org,\n                        SendDate: senddate,\n                        SendDatePolish: senddatepolish,\n                        ActionType: actiontype,\n                        Pattern: pattern,\n                        EmailFrom: emailfrom,\n                        Subject: subject,\n                        PersonName: personname,\n                        EmailPerson: emailperson,\n                        Profession: personprofession,\n                        MessageBody: messagebody\n                    },\n                    success: function (result) {\n\n                        showing_button(\".sendemailcongressman\");\n                        $(\".hidebutton\").hide();\n                        $(\".sendingemail\").hide();\n\n                        result = result.trim();\n\n                        \/\/alert(result);\n\n                        if (result.indexOf(\"wrong person email\") != -1) {\n                            $(\".personemailerror\").show();\n                        }\n                        else if (result.indexOf(wrongcongressmanemail) != -1) {\n                            var congressmannumber = result.replace(wrongcongressmanemail, \"\");\n                            congressmannumber = congressmannumber.trim();\n                            var sendedemail = find_error_email(congressmannumber);\n                            result = result.replace(errornumber, \"\");\n                            result = result.trim();\n                            var resultenglish = result.replace(wrongcongressmanemail, \"Please Correct Email Address of Congressman: \" + sendname + with_email + sendedemail);\n                            var resultpolish = result.replace(wrongcongressmanemail, \"Prosz\u0119 Poprawi\u0107 Adres Emailowy Kongresmena: \" + sendname + o_emailu + sendedemail);\n                            $(\".congressmanenglish\").html(resultenglish);\n                            $(\".congressmanpolish\").html(resultpolish);\n                            $(\".congressmanemailerror\").show();\n                        }\n                        else if (result.indexOf(emailfailed) != -1) {\n                            var congressmannumber = result.replace(emailfailed, \"\");\n                            congressmannumber = congressmannumber.trim();\n                            var sendedemail = find_error_email(congressmannumber);\n                            result = result.replace(errornumber, \"\");\n                            result = result.trim();\n                            var resultenglish = result.replace(emailfailed, \"Error occured while sending Email to Congressman: \" + sendname + with_email + sendedemail);\n                            var resultpolish = result.replace(emailfailed, \"Wyst\u0105pi\u0142 B\u0142\u0105d przy wysy\u0142aniu Emaila do Kongresmena: \" + sendname + o_emailu + sendedemail);\n                            $(\".failedenglish\").html(resultenglish);\n                            $(\".failedpolish\").html(resultpolish);\n                            $(\".failedsendingemail\").show();\n                        }\n                        else if (result.indexOf(Message_space) != -1) {\n                            result = result.replace(Message_space, \"\");\n                            result = hiddennewline + \"<span>\" + result + \"<\/span>\";\n                            Show_ConError(result, \"\", \"\");\n                        }\n                        else if (result.indexOf(\"conerror\") != -1) {\n                            result = result.replace(\"conerror \", \"\");\n                            if (result.indexOf(\"noconnection\") == -1) {\n                                var resultpolish = result;\n                                result = result.replace(\"noconnection\", \"No Connection With Database\")\n                                $(\".inserterrorsendemailenglish\").html(result);\n                                resultpolish = resultpolish.replace(\"noconnection\", \"Brak po\u0142\u0105czenia z Baz\u0105 Danych\");\n                                $(\".inserterrorsendemailpolish\").html(resultpolish);\n                            }\n                            else {\n                                $(\".inserterrorsendemailenglish\").html(result);\n                                if (result.indexOf(\"inserting\") != -1) {\n                                    result = result.replace(\"Error in inserting\", \"B\u0142\u0105d przy wprowadzaniu\");\n                                    result = result.replace(\"to\", \"do\");\n                                    if (result.indexOf(\"and\") != -1) {\n                                        result = result.replace(\"and\", \"i\");\n                                    }\n                                }\n                                else if (result.indexOf(\"selecting\") != -1) {\n                                    result = result.replace(\"Error in selecting\", \"B\u0142\u0105d przy selekcji\");\n                                    result = result.replace(\"from\", \"z\");\n                                    result = result.replace(\"containing\", \"zawieraj\u0105cej\");\n                                    if (result.indexOf(\"new\") != -1) {\n                                        result = result.replace(\"new\", \"nowego\");\n                                    }\n                                }\n                                else if (result.indexOf(\"row count of\") != -1) {\n                                    result = result.replace(\"Error in row count of\", \"B\u0142\u0105d przy liczbie rz\u0119d\u00f3w\");\n                                    result = result.replace(\"containing\", \"zawieraj\u0105cych\");\n                                    if (result.indexOf(\"and\") != -1) {\n                                        result = result.replace(\"and\", \"i\");\n                                    }\n                                }\n                                $(\".inserterrorsendemailpolish\").html(result);\n                            }\n                            $(\".inserterrorsendemail\").show();\n                        }\n                        else if (result.indexOf(\"good\") != -1) {\n                            $(\".successsendemail\").show();\n                        }\n                        else if (result.indexOf(Parse_error) != -1 || result.indexOf(Fatal_error) != -1) {\n                            result = hiddennewline + \"<span>\" + result + \"<\/span>\";\n                            Show_ConError(result, \"\", \"\");\n                        }\n                        else {\n                            $(\".failedsendingemail\").show();\n                        }\n                    },\n                    error: function (xhr, status, error) {\n\n                        enable_button(\".sendemailcongressman\");\n                        $(\".sendingemail\").hide();\n\n                        if (error != \"\") {\n                            error = hiddennewline + \"<span>\" + error + \"<\/span>\";\n                            Show_ConError(error, \"\", \"\");\n                        }\n                        else if (status == \"error\") {\n                            status = xhr.responseText;\n                            status = hiddennewline + \"<span>\" + status + \"<\/span>\";\n                            Show_ConError(status, \"\", \"\");\n                        }\n                        else if (status != \"\") {\n                            status = hiddennewline + \"<span>\" + status + \"<\/span>\";\n                            Show_ConError(status, \"\", \"\");\n                        }\n                        else if (xhr != \"\") {\n                            xhr = hiddennewline + \"<span>\" + xhr + \"<\/span>\";\n                            Show_ConError(xhr, \"\", \"\");\n                        }\n                    }\n                });\n            }\n            else {\n                $(\".personnameerror\").show();\n            }\n\n        \/\/ Do Czasowego Skomentowania Poczatek\n        }\n        \/\/ Do Czasowego Skomentowania Koniec\n    });\n<\/script>\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\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>JULY 16, 2024 CALL TO ACTION FOR POLONIA! AKCJA POLONII W DNIU 16 LIPCA 2024 ROKU DNIA 16 LIPCA 2024 ROKU, WZYWAMY POLONI\u0118 DO WYS\u0141ANIA PONI\u017bSZEGO LISTU MAILOWEGO DO 3 WYBRANYCH KONGRESMEN\u00d3W CZ\u0141ONK\u00d3W IZBY REPREZENTANT\u00d3W DO PRZEDSTAWIENIA CA\u0141EJ IZBIE HR 82. We\u2019ve written the email for you and included each staffer\u2019s email address. To do &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/joinpasidev.org\/index.php\/mark_up_congressmen_3\/\"> <span class=\"screen-reader-text\">Mark_Up_Congressmen_3<\/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":"","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":"","adv-header-id-meta":"","stick-header-meta":"","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\/9508"}],"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=9508"}],"version-history":[{"count":0,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages\/9508\/revisions"}],"wp:attachment":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/media?parent=9508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}