jQuery(document).ready(function(){let popupPosition=function(){let pad=jQuery("#wpcontent").css("padding-left");jQuery(".trustindex-popup").css({right:pad,"margin-left":pad})};popupPosition();jQuery(window).resize(popupPosition);jQuery(document).on("click","a.trustindex-rateus",function(a){let link=jQuery(this),closeButton=link.closest(".notice").find(".notice-dismiss"),url=link.attr("href");closeButton.click();if(link.attr("target")===undefined){a.preventDefault();jQuery.get(url);return false}})});