(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=436219502" }); 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('