function wsRegisterLatestNewsTooltips(a,c){if(document.wsSafeDOM||!document.wsIsSecureConnection){var b=$("span.triggerLatestNewsTooltip");b.each(function(){var b=$(this),d=b.attr("rel");if(d&&d!=""&&!b.HasBubblePopup()){b.CreateBubblePopup({innerHtml:'<img src="'+document.wsSiteRoot+'wsAdmin/images/loading2.gif" />',position:"right",width:a,themeName:c,themePath:document.wsSiteRoot+"wsAdmin/jQueryPlugins/jQueryBubblePopup/jquerybubblepopup-theme"});b.mouseover(function(){var a='<img src="'+document.wsSiteRoot+'wsAdmin/images/loading2.gif" />';b.SetBubblePopupInnerHtml(a,true);b.ShowBubblePopup();$.ajax({type:"GET",url:d,success:function(c){var a="<div class='bubbleLatestNews'>"+c+"</div>";b.SetBubblePopupInnerHtml(a,true)},error:function(){alert("wsRegisterLatestNewsTooltips - Error loading from URL:\n"&d)}})})}})}}
