{"id":9566,"date":"2024-11-20T11:55:17","date_gmt":"2024-11-20T16:55:17","guid":{"rendered":"https:\/\/joinpasidev.org\/?page_id=9566"},"modified":"2024-12-04T10:13:22","modified_gmt":"2024-12-04T15:13:22","slug":"mark_up_senators_3","status":"publish","type":"page","link":"https:\/\/joinpasidev.org\/index.php\/mark_up_senators_3\/","title":{"rendered":"Mark_Up_Senators_3"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"9566\" class=\"elementor elementor-9566\" 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-c8e251d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c8e251d\" 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-2bd9e20\" data-id=\"2bd9e20\" 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-7c32dc7 elementor-widget elementor-widget-html\" data-id=\"7c32dc7\" 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\">NOVEMBER<\/span> <span class=\"sendday\">21<\/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\">21<\/span> <span class=\"sendmiesiac\">LISTOPADA<\/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\">NOVEMBER<\/span> <span class=\"sendday\">21<\/span>, 2024, WE CALL ON POLISH AMERICANS TO SEND THE FOLLOWING<br \/>E-MAIL TO THE 5 SENATORS TO BRING S. 597 TO THE FLOOR FOR A VOTE.\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\">21<\/span> <span class=\"sendmiesiac\">LISTOPADA<\/span> 2024 ROKU, WZYWAMY POLONI\u0118 DO WYS\u0141ANIA PONI\u017bSZEGO LISTU MAILOWEGO DO 5 SENATOR\u00d3W WYMIENIONYCH POD LISTEM Z \u017b\u0104DANIEM G\u0141OSOWANIA NAD S. 597.\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 and your email address (if you have one) and press the green \"<span style=\"color: green\">Send Emails to 5 Senators<\/span>\" button. The system will automatically send individual emails to the 5 senators 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 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 5 Senator\u00f3w<\/span>\u201d.\n                System automatycznie wy\u015ble 5 indywidualnych emaili do senator\u00f3w wyszczeg\u00f3lnionych poni\u017cej pod listem.\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 5 Senators\n                                <\/span>\n                                <span class=\"polish\" style=\"display:none;\">\n                                    Wy\u015blij Emaile do 5 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 id=\"Senator List\">\n        <h1 class=\"english\" style=\"text-align:center;color:#1B4D9F\">\n            <b>\n                List of Senators and Email Contacts\n            <\/b>\n        <\/h1>\n        <h1 class=\"polish\" style=\"text-align:center;color:#1B4D9F;display:none\">\n            <b>\n                Lista Senator\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=\"senatornameline1\" 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=\"senatorlink1\" href=\"\">\n                            <span id=\"senatoremail1\">\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=\"senatornameline2\" 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=\"senatorlink2\" href=\"\">\n                            <span id=\"senatoremail2\">\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=\"senatornameline3\" 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=\"senatorlink3\" href=\"\">\n                            <span id=\"senatoremail3\">\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=\"senatornameline4\" style=\"width: 33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"phonelink4\" class=\"phonedisplay4 telmobile\" style=\"display: none;\" href=\"\" target=\"_blank\" rel=\"noopener\">\n                        <\/a>\n                        <span class=\"phonedisplay4 teldesktop\">\n                        <\/span>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"staffername4\" style=\"width:33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"senatorlink4\" href=\"\">\n                            <span id=\"senatoremail4\">\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=\"senatornameline5\" style=\"width: 33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"phonelink5\" class=\"phonedisplay5 telmobile\" style=\"display: none;\" href=\"\" target=\"_blank\" rel=\"noopener\">\n                        <\/a>\n                        <span class=\"phonedisplay5 teldesktop\">\n                        <\/span>\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        &nbsp;\n                    <\/td>\n                <\/tr>\n                <tr>\n                    <td id=\"staffername5\" style=\"width:33%; border-style: none\">\n                    <\/td>\n                    <td style=\"width:33%; border-style: none\">\n                        <a id=\"senatorlink5\" href=\"\">\n                            <span id=\"senatoremail5\">\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    \/\/ Mark_up_header_Senator_5_11_26_2024.cshtml\n    var actiontype = \"5 Senators November - December 2024\";\n\n    var firstdate = 24;\n    var middledate = 31;\n    var lastdate = 7;\n    var monthnovember = 10;\n    var monthdecember = 11;\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\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 senator_gov_short = \".senate.gov\";\n    var hreflink = \"href\";\n    var senator = \"Senator\";\n    var staffer = \"Staffer\";\n    var nbsp = \"&nbsp;\";\n    var phonebegindisplay = \"(202) 224-\";\n    var phonebeginlink = \"tel:+1-202-224-\";\n\n    var senatorname1 = \"Charles Schumer\";\n    var senatorstate1 = \"(NY)\";\n    var phoneextension1 = \"6542\";\n    var staffername1 = \"Meghan Taira\";\n\n    var senatorname2 = \"Mitch McConnell\";\n    var senatorstate2 = \"(KY)\";\n    var phoneextension2 = \"2541\";\n    var staffername2 = \"Tiffany Ge\";\n\n    var senatorname3 = \"Mike Crapo\";\n    var senatorstate3 = \"(ID)\";\n    var phoneextension3 = \"6142\";\n    var staffername3 = \"Molly Carpenter\";\n\n    var senatorname4 = \"Ron Wyden\";\n    var senatorstate4 = \"(OR)\";\n    var phoneextension4 = \"5244\";\n    var staffername4 = \"Isaiah Akin\";\n\n    var senatorname5 = \"Chuck Grassley\";\n    var senatorstate5 = \"(IA)\";\n    var phoneextension5 = \"3744\";\n    var staffername5 = \"James Rice\";\n\n    var senatorlettername1 = senatorname1.substring(senatorname1.lastIndexOf(\" \")).trim();\n    var senatorlettername2 = senatorname2.substring(senatorname2.lastIndexOf(\" \")).trim();\n    var senatorlettername3 = senatorname3.substring(senatorname3.lastIndexOf(\" \")).trim();\n    var senatorlettername4 = senatorname4.substring(senatorname4.lastIndexOf(\" \")).trim();\n    var senatorlettername5 = senatorname5.substring(senatorname5.lastIndexOf(\" \")).trim();\n\n    var phonedisplay1 = phonebegindisplay + phoneextension1;\n    var phonedisplay2 = phonebegindisplay + phoneextension2;\n    var phonedisplay3 = phonebegindisplay + phoneextension3;\n    var phonedisplay4 = phonebegindisplay + phoneextension4;\n    var phonedisplay5 = phonebegindisplay + phoneextension5;\n\n    var phonelink1 = phonebeginlink + phoneextension1;\n    var phonelink2 = phonebeginlink + phoneextension2;\n    var phonelink3 = phonebeginlink + phoneextension3;\n    var phonelink4 = phonebeginlink + phoneextension4;\n    var phonelink5 = phonebeginlink + phoneextension5;\n\n    $(\".phonedisplay1\").html(phonedisplay1);\n    $(\".phonedisplay2\").html(phonedisplay2);\n    $(\".phonedisplay3\").html(phonedisplay3);\n    $(\".phonedisplay4\").html(phonedisplay4);\n    $(\".phonedisplay5\").html(phonedisplay5);\n\n    $(\"#phonelink1\").attr(hreflink, phonelink1);\n    $(\"#phonelink2\").attr(hreflink, phonelink2);\n    $(\"#phonelink3\").attr(hreflink, phonelink3);\n    $(\"#phonelink4\").attr(hreflink, phonelink4);\n    $(\"#phonelink5\").attr(hreflink, phonelink5);\n\n    $(\"#staffername1\").html(staffer + nbsp + staffername1);\n    $(\"#staffername2\").html(staffer + nbsp + staffername2);\n    $(\"#staffername3\").html(staffer + nbsp + staffername3);\n    $(\"#staffername4\").html(staffer + nbsp + staffername4);\n    $(\"#staffername5\").html(staffer + nbsp + staffername5);\n\n    var stafferemail1 = staffername1.replace(\" \", \"_\").toLowerCase();\n    var stafferemail2 = staffername2.replace(\" \", \"_\").toLowerCase();\n    var stafferemail3 = staffername3.replace(\" \", \"_\").toLowerCase();\n    var stafferemail4 = staffername4.replace(\" \", \"_\").toLowerCase();\n    var stafferemail5 = staffername5.replace(\" \", \"_\").toLowerCase();\n\n    var joinpasi_org = at + \"joinpasi.org\";\n    var gmail_com = at + \"gmail.com\";\n    var yahoo_com = at + \"yahoo.com\";\n    var eagle_myftp_org = at + \"eagle.myftp.org\";\n\n    var jmarczyn = \"jmarczyn\";\n    var mrogoyski = \"mrogoyski\";\n    var jmarczynski = \"jmarczynski\";\n    var rogatadusza = \"rogatadusza\";\n    var mglowack55 = \"mglowack55\";\n    \/\/var info = \"info\";\n    var notification = \"notification\";\n    var pasiorg6 = \"pasiorg6\";\n    var pasiaction = \"pasiaction\";\n\n    var emailfrom = notification + joinpasi_org;\n\n    var senatornameline1 = senator + nbsp + senatorname1 + nbsp + senatorstate1;\n    var senatornameline2 = senator + nbsp + senatorname2 + nbsp + senatorstate2;\n    var senatornameline3 = senator + nbsp + senatorname3 + nbsp + senatorstate3;\n    var senatornameline4 = senator + nbsp + senatorname4 + nbsp + senatorstate4;\n    var senatornameline5 = senator + nbsp + senatorname5 + nbsp + senatorstate5;\n\n    $(\"#senatornameline1\").html(senatornameline1);\n    $(\"#senatornameline2\").html(senatornameline2);\n    $(\"#senatornameline3\").html(senatornameline3);\n    $(\"#senatornameline4\").html(senatornameline4);\n    $(\"#senatornameline5\").html(senatornameline5);\n\n    var senatoremail1 = stafferemail1 + at + senatorlettername1.toLowerCase() + senator_gov_short;\n    var senatoremail2 = stafferemail2 + at + senatorlettername2.toLowerCase() + senator_gov_short;\n    var senatoremail3 = stafferemail3 + at + senatorlettername3.toLowerCase() + senator_gov_short;\n    var senatoremail4 = stafferemail4 + at + senatorlettername4.toLowerCase() + senator_gov_short;\n    var senatoremail5 = stafferemail5 + at + senatorlettername5.toLowerCase() + senator_gov_short;\n\n    $(\"#senatoremail1\").html(senatoremail1);\n    $(\"#senatoremail2\").html(senatoremail2);\n    $(\"#senatoremail3\").html(senatoremail3);\n    $(\"#senatoremail4\").html(senatoremail4);\n    $(\"#senatoremail5\").html(senatoremail5);\n\n    $(\"#senatorlink1\").attr(hreflink, mailto + senatoremail1);\n    $(\"#senatorlink2\").attr(hreflink, mailto + senatoremail2);\n    $(\"#senatorlink3\").attr(hreflink, mailto + senatoremail3);\n    $(\"#senatorlink4\").attr(hreflink, mailto + senatoremail4);\n    $(\"#senatorlink5\").attr(hreflink, mailto + senatoremail5);\n\n    var testname1 = \"Jacek Marczy\u0144ski\";\n    var testname2 = \"Jacek Marczy\u0144ski\";\n    var testname3 = \"Ma\u0142gorzata Rogoyski\";\n    var testname4 = \"Malgorzata Ciuraszkiewicz\";\n    var testname5 = \"Marie G\u0142owacki\";\n\n    var testemail1 = jmarczyn + gmail_com;\n    var testemail2 = jmarczyn + yahoo_com;\n    var testemail3 = mrogoyski + yahoo_com;\n    var testemail4 = rogatadusza + gmail_com;\n    var testemail5 = mglowack55 + 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 redirect_to_Inactive() {\n        $(\"#Remaining_Page\").hide();\n        var good_href = location.href;\n        var wrong_href = good_href.toLower().replace(\"mark_up_senators_3\", \"Inactive_Page_Senators_10_New_Extra\");\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                    $(\"#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 = \"Prioritize S.597 and sent it to the floor for a vote\";\n\n        const d = new Date();\n        let currentday = d.getDate();\n        let currentmonth = d.getMonth();\n        let currentyear = d.getYear();\n\n        var monthletter;\n\n        if (currentmonth == monthnovember) {\n            monthletter = \"November\";\n        }\n        else if (currentmonth == monthdecember) {\n            monthletter = \"December\";\n        }\n\n        currentyear = +currentyear + 1900\n\n        \/\/debugger;\n\n        var line0 = monthletter + \" \" + currentday + \", \" + currentyear;\n\n        var line1 = \"Dear Senator \" + pattern + \",\";\n\n        var line2 = \"We need your help to ensure S. 597 moves forward and becomes law. This critical legislation has the potential to make a significant impact on public service workers and foreign pension recipients, but we need your Senat colleagues to act now!\";\n\n        var line3 = \"The House of Representatives has already passed the companion bill, H.R. 82, with an overwhelming 327 bipartisan votes in favor. Please prioritize this bill and bring it to the floor for a vote.\";\n\n        var line4 = \"Now is time for the Senate to vote!!!\";\n\n        var line5 = \"Thank you,\";\n\n        newline = String.fromCharCode(13, 10);\n\n        letterbody = letterbody + line0 + newline + newline;\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\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        letterpage = letterpage + line5 + hiddennewline + hiddennewline;\n\n        $('.sendday').html(currentday);\n\n        \/\/ Do Czasowego Skomentowania Poczatek\n\n        \/\/if ((currentday == firstdate || currentday == middledate && currentmonth == monthoctober || currentday == lastdate && day == monthnovember) {\n\n        \/\/ Do Czasowego Skomentowania Koniec\n\n        if (currentmonth == monthnovember) {\n            $(\".sendmonth\").html(\"NOVEMBER\");\n            $(\".sendmiesiac\").html(\"LISTOPADA\");\n        }\n        else if (currentmonth == monthdecember) {\n            $(\".sendmonth\").html(\"DECEMBER\");\n            $(\".sendmiesiac\").html(\"GRUDNIA\");\n        }\n\n        $(\"#LetterBodyPlace\").html(letterpage);\n\n        $(\"#Remaining_Page\").show();\n\n        changeOrientation();\n\n        \/\/ Do Czasowego Skomentowania Poczatek\n        \/\/}\n        \/\/else {\n        \/\/    redirect_to_Inactive();\n        \/\/}\n\n        \/\/ Do Czasowego Skomentowania Koniec\n\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    function find_error_email(senatornumber) {\n        var sendedemail = \"\";\n\n        var liveemail = isLive.status;\n\n        if (liveemail) {\n            if (senatornumber == \"1\") {\n                sendedemail = senatoremail1;\n                sendname = senatorname1;\n                errornumber = \"1\";\n            }\n            else if (senatornumber == \"2\") {\n                sendedemail = senatoremail2;\n                sendname = senatorname2;\n                errornumber = \"2\";\n            }\n            else if (senatornumber == \"3\") {\n                sendedemail = senatoremail3;\n                sendname = senatorname3;\n                errornumber = \"3\";\n            }\n            else if (senatornumber == \"4\") {\n                sendedemail = senatoremail4;\n                sendname = senatorname4;\n                errornumber = \"4\";\n            }\n            else if (senatornumber == \"5\") {\n                sendedemail = senatoremail5;\n                sendname = senatorname5;\n                errornumber = \"5\";\n            }\n        }\n        else {\n            if (senatornumber == \"1\") {\n                sendedemail = testemail1;\n                sendname = testname1;\n                errornumber = \"1\";\n            }\n            else if (senatornumber == \"2\") {\n                sendedemail = testemail2;\n                sendname = testname2;\n                errornumber = \"2\";\n            }\n            else if (senatornumber == \"3\") {\n                sendedemail = testemail3;\n                sendname = testname3;\n                errornumber = \"3\";\n            }\n            else if (senatornumber == \"4\") {\n                sendedemail = testemail4;\n                sendname = testname4;\n                errornumber = \"4\";\n            }\n            else if (senatornumber == \"5\") {\n                sendedemail = testemail5;\n                sendname = testname5;\n                errornumber = \"5\";\n            }\n        }\n\n        return sendedemail;\n    }\n\n    $(document).on('click', '.sendemailsenator', function () {\n\n        const d = new Date();\n        let currentday = d.getDate();\n        let currentmonth = d.getMonth();\n\n        \/\/\/\/ Do Czasowego Skomentowania Poczatek\n\n        \/\/if ((currentday != firstdate  && currentday != middledate && currentmonth == monthoctober)\n        \/\/|| (currentday != lastdate && currentmonth == monthnovember)) {\n        \/\/    $(\"#Remaining_Page\").hide();\n\n        \/\/    location.href = location;\n        \/\/}\n        \/\/else {\n\n            \/\/ Do Czasowego Skomentowania Koniec\n\n            var wrongsenatoremail = \"wrong senator email\";\n            var emailfailed = \"failed\";\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                errornumber = \"\";\n\n                var monthenglish = \"\";\n                var monthpolish = \"\";\n\n                if (currentmonth == monthnovember) {\n                    monthenglish = \"November\";\n                    monthpolish = \"listopada\";\n                }\n\n                if (currentmonth = monthdecember) {\n                    monthenglish = \"December\";\n                    monthpolish = \"grudnia\";\n                }\n\n                var senddate = currentday + \" \" + monthenglish + \" 2024\";\n                var senddatepolish = currentday + \" \" + monthpolish + \" 2024\";\n\n                sendname = \"\";\n\n                $.ajax({\n                    type: Call_Type,\n                    url: Call_Path + 'SendEmailsMarkUpSenators5.php',\n                    data: {\n                        SenatorName1: senatorlettername1,\n                        SenatorEmail1: senatoremail1,\n                        SenatorName2: senatorlettername2,\n                        SenatorEmail2: senatoremail2,\n                        SenatorName3: senatorlettername3,\n                        SenatorEmail3: senatoremail3,\n                        SenatorName4: senatorlettername4,\n                        SenatorEmail4: senatoremail4,\n                        SenatorName5: senatorlettername5,\n                        SenatorEmail5: senatoremail5,\n                        TestName1: testname1,\n                        TestEmail1: testemail1,\n                        TestName2: testname2,\n                        TestEmail2: testemail2,\n                        TestName3: testname3,\n                        TestEmail3: testemail3,\n                        TestName4: testname4,\n                        TestEmail4: testemail4,\n                        TestName5: testname5,\n                        TestEmail5: testemail5,\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: \"\",\n                        MessageBody: messagebody\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(wrongsenatoremail) != -1) {\n                            var senatornumber = result.replace(wrongsenatoremail, \"\");\n                            senatornumber = senatornumber.trim();\n                            var sendedemail = find_error_email(senatornumber);\n                            result = result.replace(errornumber, \"\");\n                            result = result.trim();\n                            var resultenglish = result.replace(wrongsenatoremail, \"Please Correct Email Address  of  Senator: \" + sendname + with_email + sendedemail);\n                            var resultpolish = result.replace(wrongsenatoremail, \"Prosz\u0119 Poprawi\u0107 Adres Emailowy Senatora: \" + sendname + o_emailu + sendedemail);\n                            $(\".senatorenglish\").html(resultenglish);\n                            $(\".senatorpolish\").html(resultpolish);\n                            $(\".senatoremailerror\").show();\n                        }\n                        else if (result.indexOf(emailfailed) != -1) {\n                            var senatornumber = result.replace(emailfailed, \"\");\n                            senatornumber = senatornumber.trim();\n                            var sendedemail = find_error_email(senatornumber);\n                            result = result.replace(errornumber, \"\");\n                            result = result.trim();\n                            var resultenglish = result.replace(emailfailed, \"Error occured while sending Email to Senator: \" + sendname + with_email + sendedemail);\n                            var resultpolish = result.replace(emailfailed, \"Wyst\u0105pi\u0142 B\u0142\u0105d przy wysy\u0142aniu Emaila do Senatora: \" + 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(\".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        \/\/ 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>NOVEMBER 21, 2024 CALL TO ACTION FOR POLONIA! AKCJA POLONII W DNIU 21 LISTOPADA 2024 ROKU DNIA 21 LISTOPADA 2024 ROKU, WZYWAMY POLONI\u0118 DO WYS\u0141ANIA PONI\u017bSZEGO LISTU MAILOWEGO DO 5 SENATOR\u00d3W WYMIENIONYCH POD LISTEM Z \u017b\u0104DANIEM G\u0141OSOWANIA NAD S. 597. We\u2019ve written the email for you and included each staffer\u2019s email address. To do this, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/joinpasidev.org\/index.php\/mark_up_senators_3\/\"> <span class=\"screen-reader-text\">Mark_Up_Senators_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\/9566"}],"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=9566"}],"version-history":[{"count":0,"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/pages\/9566\/revisions"}],"wp:attachment":[{"href":"https:\/\/joinpasidev.org\/index.php\/wp-json\/wp\/v2\/media?parent=9566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}