';var a='';function g(i,j){j[i].hide();var h=i+1;if(h>=j.length){h=0}setTimeout(function(){$(".blurb-inner-container").hide;j[h].css("display","flex");$(".blurb-inner-container").fadeIn()},100)}function b(i,h,j){if(i.find(".uu-clear-notification:checked").size()>0){jQuery.ajax({url:"/c/portal/uu_notification_action",type:"POST",data:{action:"clear",key:j.join(",")}})}i.remove();h=null;i=null;$("#_userroleportlet_WAR_UUCentralNewsportlet_ input").first().focus()}function f(n,o){var m=$(d);var k=[];var l;var j=function(p,i,q){b(p,i,q)}.bind(null,m,k,o);m.find(".uu-close-notification").click(j);m.click(j);m.find(".blurb-inner-container").click(function(i){i.stopPropagation()});for(l=0;l1){h.find(".uu-next-notification").click(g.bind(null,l,k))}else{h.find(".uu-next-notification").hide()}if(l!=0){h.hide()}k.push(h);m.find(".blurbs").append(h)}return m}function c(h){jQuery.ajax({url:"/c/portal/uu_notification_action",type:"GET",dataType:"json",cache:false,data:{action:"get",key:h.join(",")},success:function(j){if(j&&j.length>0){var i=f(j,h);i.appendTo("body");i.find("button").first().focus()}}})}var e=[];$(".uu-has-notification").each(function(){var h=$(this).data("key");if(h){e.push(h)}});if(e.length>0){c(e)}});