Ставим перед </body>
Code
<script type="text/javascript">function codeLen(n){
var a=['символ','символа','символов'];return a[n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2]};$('.bbCodeName').each(function(){$(this).html('Код: <a href="#" onclick="return false;" class="getcode">Получить код</a>');});$(".getcode").live("click", function(){var code = $(this).parent().next().html().replace(/<!--uzc-->/,"").replace(/<!--\/uzc-->/,"").replace(/<br>/g,"\n").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"), l = code.length, t = codeLen(l);new _uWnd('getcode', 'Код ('+l+' '+t+')', 450, 220, {autosize: true, oncontent: function(){$(".getcodetext").val(code); setTimeout(function(){$("#getcodetext").select();},300); }, align: 'left'},'<fieldset style="margin-top:5px;"><textarea spellcheck="false" id="getcodetext" onfocus="select(this)" name="getcodetext" class="getcodetext" style="width:430px; height:200px;"></textarea></fieldset>')});</script>