{"id":9572,"date":"2024-12-19T12:27:30","date_gmt":"2024-12-19T17:27:30","guid":{"rendered":"https:\/\/joinpasidev.org\/?page_id=9572"},"modified":"2024-12-20T22:24:19","modified_gmt":"2024-12-21T03:24:19","slug":"all_senators_email","status":"publish","type":"page","link":"https:\/\/joinpasidev.org\/index.php\/all_senators_email\/","title":{"rendered":"All_Senators_Email"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"9572\" class=\"elementor elementor-9572\" 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-8d5be80 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8d5be80\" 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-1166665\" data-id=\"1166665\" 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-5db8703 elementor-widget elementor-widget-html\" data-id=\"5db8703\" 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 style=\"color:brown\">H.R. 82 will have a vote! Cloture passed this on December 19, 2024 73-27!<\/span> It is important we ensure they vote for H.R. 82. Please email letter below to 100 Senators.\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align: center; color: #CB1407; display: none\">\n            <b>\n                <span style=\"color:brown\">H.R. 82 b\u0119dzie g\u0142osowany! Cloture przeszed\u0142 19 grudnia 2024 w stosunku 73-27!<\/span> Wa\u017cn\u0105 rzecz\u0105 jest by g\u0142osowano H.R. 82. Prosz\u0119 wy\u015blij poni\u017cszy list do 100 Senator\u00f3w.\n            <\/b>\n        <\/h1>\n    <\/div>\n    <br \/>\n    <div id=\"DoMessage\">\n        <h3 class=\"english\" style=\"text-align:center;color:black\">\n            <b>\n                Please enter your name and surname and your email address (if you have one) and press the green \"<span style=\"color: green\">Send Emails to 100 Senators<\/span>\" button. The system will automatically send individual emails to the 100 senators.\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"text-align:center;color:black;display:none\">\n            <b>\n                Prosimy wpisa\u0107 swoje imi\u0119 i nazwisko 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 100 Senator\u00f3w<\/span>\u201d.\n                System automatycznie wy\u015ble 100 indywidualnych emaili do 100 senator\u00f3w.\n            <\/b>\n        <\/h3>\n    <\/div>\n    <br \/>\n    <div id=\"LetterSenator\">\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=\"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, Email if you have it and Send the Emails to the Senators 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 i Adres Emailowy je\u015bli go posiadasz, a nast\u0119pnie Wy\u015blij Emaile do Senator\u00f3w wyszczeg\u00f3lnionych poni\u017cej\n            <\/b>\n        <\/h3>\n    <\/div>\n    <div class=\"senatoremailerror\" style=\"display:none\">\n        <br \/>\n        <h3 class=\"english\" style=\"color:red\">\n            <b class=\"senatorenglish\">\n                Please Enter Correct Senator's 'Email Address\n            <\/b>\n        <\/h3>\n        <h3 class=\"polish\" style=\"display:none;color:red;\">\n            <b class=\"senatorpolish\">\n                Prosz\u0119 Wprowadzi\u0107 Poprawny Adres Emailowy Senatora\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 Senator\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 Senatora\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=\"SendEmailsSenatorheader\" 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=\"SendEmailsSenator\" class=\"elementor-button-link elementor-button elementor-size-sm sendemailsenator\" role=\"button\">\n                        <span class=\"elementor-button-content-wrapper\">\n                            <span class=\"elementor-button-text\">\n                                <span class=\"english\" style=\"\">\n                                    Send Emails 100 Senators\n                                <\/span>\n                                <span class=\"polish\" style=\"display:none;\">\n                                    Wy\u015blij Emaile do 100 Senator\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>\n<script>\n    \/\/ AllSenatorsEmail_18_grudnia_2024.cshtml\n\n    var hiddennewline = \"<br\/>\";\n    var letterpage = \"\";\n    var subject = \"\";\n    var pattern = \"_________________\";\n    var offjoin;\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 nbsp = \"&nbsp;\";\n\n    var joinpasi_org = at + \"joinpasi.org\";\n    var gmail_com = at + \"gmail.com\";\n    var yahoo_com = at + \"yahoo.com\";\n\n    var jmarczyn = \"jmarczyn\";\n    var rogatadusza = \"rogatadusza\";\n    \/\/var info = \"info\";\n    var notification = \"notification\";\n\n    var emailfrom = notification + joinpasi_org;\n\n\n    var testname1 = \"Jacek Marczy\u0144ski\";\n    var testname2 = \"Malgorzata Ciuraszkiewicz\";\n\n    var testemail1 = jmarczyn + yahoo_com;\n    var testemail2 = rogatadusza + gmail_com;\n\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', '#SendEmailsSenator', function () {\n        $(\"#SendEmailsSenator\").css(\"background-color\", \"#CB1407\");\n    });\n\n    $(document).on('mouseout', '#SendEmailsSenator', function () {\n        $(\"#SendEmailsSenator\").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 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                    $(\"#emailperson\").css(\"width\", tablet_horizontal);\n                }\n                else {\n                    $(\"#personname\").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                    $(\"#emailperson\").css(\"width\", tablet_vertical);\n                }\n                else {\n                    $(\"#personname\").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        var DoubleQuote = \"\\u201D\"; \/\/ \"#201D;\";\n\n        subject = \"Vote for H.R. 82 - NO AMENDMENTS\";\n\n        const d = new Date();\n        let currentday = d.getDate();\n        let currentmonth = d.getMonth();\n        let currentyear = d.getYear();\n\n        currentyear = +currentyear + 1900;\n        currentmonth = +currentmonth + 1;\n\n        \/\/debugger;\n\n        var line0 = currentmonth + \" \" + currentday + \", \" + currentyear;\n\n        var line1 = \"Dear Senator \" + pattern + \",\";\n\n        var line2 = \"I urge you to support H.R. 82, the Social Security Fairness Act, and vote \u201cyea\u201d <b>NO AMENDMENTS<\/b> when it comes for a vote on the Senate floor. The bill passed the House with an overwhelming bipartisan vote of 327 House members, to support repeal of the unjust penalties. These policies are unfair to millions of retirees who are hurt by the Windfall Elimination Provision (WEP) and Government Pension Offset (GPO).\";\n\n        var line3 = \"Make the choice that will serve the greater good, strengthen our future, and uphold the trust the people have placed in you. I urge you to vote \u201cyea.\u201d The time to act is now!\";\n\n        var line4 = \"Thank you,\";\n\n        letterpage = letterpage + line0 + hiddennewline + hiddennewline;\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\n        $(\"#LetterBodyPlace\").html(letterpage);\n\n        $(\"#Remaining_Page\").show();\n\n        changeOrientation();\n    });\n\n    $(document).on('click', '.switchenglish', function () {\n        $(\".english\").show();\n        $(\".polish\").hide();\n\n        $(\"#personname\").attr(\"placeholder\", \"Your Name\");\n        $(\"#emailperson\").attr(\"placeholder\", \"Your Email\");\n    });\n    $(document).on('click', '.switchpolish', function () {\n        $(\".polish\").show();\n        $(\".english\").hide();\n\n        $(\"#personname\").attr(\"placeholder\", \"Twoje Imi\u0119 i Nazwisko\");\n        $(\"#emailperson\").attr(\"placeholder\", \"Tw\u00f3j Email\");\n    });\n\n    $(document).on('click', '.sendemailsenator', function () {\n\n        var personname = $(\"#personname\").val().trim();\n\n        if (personname != \"\") {\n            $(\".personnameerror\").hide();\n            $(\".personemailerror\").hide();\n            $(\".exception_send_error\").hide();\n            $(\".senatoremailerror\").hide();\n            $(\".failedsendingemail\").hide();\n            $(\".successsendemail\").hide();\n            $(\".inserterrorsendemail\").hide();\n\n            hiding_button(\".sendemailsenator\");\n            $(\".hidebutton\").show();\n            $(\".sendingemail\").show()\n\n            var messagebody = letterpage + hiddennewline + personname + hiddennewline;\n\n            var emailperson = $(\"#emailperson\").val();\n\n            emailperson = emailperson.trim();\n\n            if (emailperson != \"\") {\n                messagebody = messagebody + emailperson + hiddennewline;\n            }\n\n            $.ajax({\n                type: Call_Type,\n                url: Call_Path + 'AllSenatorsEmails.php',\n                data: {\n                    Pattern: pattern,\n                    EmailFrom: emailfrom,\n                    Subject: subject,\n                    PersonName: personname,\n                    EmailPerson: emailperson,\n                    MessageBody: messagebody,\n                    JmarczynYahoo: testemail1,\n                    RogataDuszaYahoo: testemail2\n                },\n                success: function (result) {\n\n                    showing_button(\".sendemailsenator\");\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(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                        }\n                    }\n                    else if (result.indexOf(\"errors\") != -1) {\n                        var errorlines = result.replace(\"errors\", \"\");\n                        Show_ConError(errorlines, \"\", \"\");\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(\".sendemailsenator\");\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<\/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>H.R. 82 will have a vote! Cloture passed this on December 19, 2024 73-27! It is important we ensure they vote for H.R. 82. Please email letter below to 100 Senators. H.R. 82 b\u0119dzie g\u0142osowany! Cloture przeszed\u0142 19 grudnia 2024 w stosunku 73-27! Wa\u017cn\u0105 rzecz\u0105 jest by g\u0142osowano H.R. 82. Prosz\u0119 wy\u015blij poni\u017cszy list do &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/joinpasidev.org\/index.php\/all_senators_email\/\"> <span class=\"screen-reader-text\">All_Senators_Email<\/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\/9572"}],"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=9572"}],"version-history":[{"count":0,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages\/9572\/revisions"}],"wp:attachment":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/media?parent=9572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}