(function() { var jQuery; if (window.jQuery === undefined || window.jQuery.fn.jquery !== '3.7.1') { var script_tag = document.createElement('script'); script_tag.setAttribute("type","text/javascript"); script_tag.setAttribute("src","https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"); var script_is_loaded = false; script_tag.onreadystatechange = script_tag.onload = function() { if ((script_tag.readyState && script_tag.readyState!="complete" && script_tag.readyState!="loaded") || script_is_loaded) return; script_is_loaded = true; // flag to prevent any double execution (IE9 or Opera) scriptLoadHandler(); }; (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag); } else { jQuery = window.jQuery; main(); } function scriptLoadHandler() { jQuery = window.jQuery.noConflict(true); main(); } /******** Our main function ********/ function main() { jQuery(document).ready(function($) { jQuery('#tinyrep-widget-container').hide(); var css_link = $("", { rel: "stylesheet", type: "text/css", href: "https://widget.tinyreports.com/style.css?v=913008625" }); css_link.appendTo('head'); createHTML(); jQuery('#tinyrep-widget-container').show(); }); } // Create final widget HTML function createHTML (){ // Change the div to the new HTML var tinyreportspoll=""; jQuery("#tinyrep-widget-container").html('
Are you really ready to participate in our poll?

Yes
Who do you think did the best Jimmy Stewert Impression?

Doug
Mike
Both were great!
Did you feel sorry for Uncle Billy or did you get angry at him for being so stupid?

I felt sorry
He is a fool!
'); jQuery("#yes1").on("click",function(){ jQuery("#tinyrep-section2").show(); jQuery("#tinyrep-section3").hide(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#tinyrep-end-section").hide(); jQuery("#no1").removeClass('tinyrep-button-sel'); jQuery("#yes1").addClass('tinyrep-button-sel'); }); jQuery("#ans2a").on("click",function(){ tinyreportspoll = tinyreportspoll + "ans2=a;"; jQuery("#tinyrep-section3").show(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#ans2a").removeClass('tinyrep-button-sel'); jQuery("#ans2b").removeClass('tinyrep-button-sel'); jQuery("#ans2c").removeClass('tinyrep-button-sel'); jQuery("#ans2a").addClass('tinyrep-button-sel'); //jQuery("#ans2b").addClass('tinyrep-button-sel'); //jQuery("#ans2c").addClass('tinyrep-button-sel'); }); jQuery("#ans2b").on("click",function(){ tinyreportspoll = tinyreportspoll + "ans2=b;"; jQuery("#tinyrep-section3").show(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#ans2a").removeClass('tinyrep-button-sel'); jQuery("#ans2b").removeClass('tinyrep-button-sel'); jQuery("#ans2c").removeClass('tinyrep-button-sel'); //jQuery("#ans2a").addClass('tinyrep-button-sel'); jQuery("#ans2b").addClass('tinyrep-button-sel'); //jQuery("#ans2c").addClass('tinyrep-button-sel'); }); jQuery("#ans2c").on("click",function(){ tinyreportspoll = tinyreportspoll + "ans2=c;"; jQuery("#tinyrep-section3").show(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#ans2a").removeClass('tinyrep-button-sel'); jQuery("#ans2b").removeClass('tinyrep-button-sel'); jQuery("#ans2c").removeClass('tinyrep-button-sel'); //jQuery("#ans2a").addClass('tinyrep-button-sel'); //jQuery("#ans2b").addClass('tinyrep-button-sel'); jQuery("#ans2c").addClass('tinyrep-button-sel'); }); jQuery("#ans3a").on("click",function(){ tinyreportspoll = tinyreportspoll + "ans3=a;"; jQuery("#tinyrep-section3").show(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#ans3a").removeClass('tinyrep-button-sel'); jQuery("#ans3b").removeClass('tinyrep-button-sel'); jQuery("#ans3a").addClass('tinyrep-button-sel'); //jQuery("#ans3b").addClass('tinyrep-button-sel'); TINYREPCALL_endit(); }); jQuery("#ans3b").on("click",function(){ tinyreportspoll = tinyreportspoll + "ans3=b;"; jQuery("#tinyrep-section3").show(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#ans3a").removeClass('tinyrep-button-sel'); jQuery("#ans3b").removeClass('tinyrep-button-sel'); //jQuery("#ans3a").addClass('tinyrep-button-sel'); jQuery("#ans3b").addClass('tinyrep-button-sel'); TINYREPCALL_endit(); }); jQuery("#tinyrep-schedule").on("click",function(){ location.href="https://politicsandamovie.com/"; }); function TINYREPCALL_endit(){ jQuery("#tinyrep-section1").hide(); jQuery("#tinyrep-section2").hide(); jQuery("#tinyrep-section3").hide(); jQuery("#tinyrep-section4").hide(); jQuery("#tinyrep-section5").hide(); jQuery("#tinyrep-section6").hide(); jQuery("#tinyrep-end-section").show(); jQuery.ajax({ url: "https://widget.tinyreports.com/getpoll?pid=paam&poll="+tinyreportspoll, type: 'GET', success: function(res) { jQuery("#tinyrep-end-section-span").html(res); } } ); } } })(); // We call our anonymous function immediately