if(!Recommendations){var Recommendations={controls:{buttons:null,hide:function(){if(this.buttons==null){return }this.buttons.each(function(A){A.style.display="none"})}},RecommendIt:function(A,C,E,B){if(!$("recModule")){return false}var D="/Common/Ajax/Content/Recommendation.aspx";var G="UID="+A+"&Doc="+C+"&Action="+E;var F=new Ajax.Updater("recModule",D,{method:"get",parameters:G,onComplete:function(K){var J=K.responseText.replace(/\s/g,"");var I=J.match(/<span>(\d+)<\/span>/i);var H=parseInt(I[1]);$$(".recInline").each(function(L){L.replace('<span class="recInline">Recommended '+H+" times.</span>")})}});this.controls.hide()}}};