function modifyWebpart(n,t){var r,u,i,f,e;if(!t||t==null)return;if(!n)return;addCommonContainer(),r=document.createElement("h3"),u=document.createElement("span"),n.style.display="block",n.innerHTML=t,i=n.getElementsByTagName("h3")[0],f="",i&&(f=i.childNodes[0].innerHTML,e=i.parentNode,e.removeChild(i)),u.innerHTML=f,r.appendChild(u),n.insertBefore(r,n.childNodes[0])}function addCommonContainer(){var n,t,r,u,f,e,o,i;if(null==document.getElementById("gss_sticky_container_div")){n=document.getElementById("divRelTags"),t=document.getElementById("divRelContent");if(n==null&&t==null)return;n&&(n.className="gss_stickywebpart_div"),t&&(t.className="gss_stickywebpart_div"),r=null,u=null,n!=null&&t==null&&(r=u=n),t!=null&&n==null&&(r=u=t);if(r==null){f=!0,i=n.previousSibling;while(i!=null){if(i.id==t.id){f=!1;break}i=i.previousSibling}u=f?n:t,r=f?t:n}e=document.createElement("div"),e.id="gss_sticky_container_div",o=document.getElementById("thinColumn"),o.insertBefore(e,r.nextSibling),r.className+=" gss_stickywebpart_bottom_div",i=document.createElement("div"),i.id="gss_stickyinner_div",e.appendChild(i),u&&i.appendChild(u),r&&i.appendChild(r)}}Callback_RelatedTags=function(n){modifyWebpart(document.getElementById("divRelTags"),n)},Callback_RelatedContent=function(n){modifyWebpart(document.getElementById("divRelContent"),n)};