var isAHTMLEditorMode;var msie=false;var opera=false;var msie7=false;var _domLoaded=[];function attachDomLoaded(f) {_domLoaded.push(f);} function detectClient() {var userAgent=navigator.userAgent;msie=(userAgent.indexOf('MSIE')>0);opera=(navigator.appName=='Opera')||(userAgent.indexOf('Opera')>0);msie7=(userAgent.indexOf('MSIE 7.')>0);if(typeof(isAHTMLEditorMode)=='undefined') {isAHTMLEditorMode=false;}} detectClient();if(typeof HTMLElement!='undefined'&&!HTMLElement.prototype.insertAdjacentElement&&typeof window.Range!='undefined'&&typeof Range.prototype.createContextualFragment=='function') {HTMLElement.prototype.insertAdjacentElement=function(where,parsedNode) {switch(where) {case'beforeBegin':this.parentNode.insertBefore(parsedNode,this) break;case'afterBegin':this.insertBefore(parsedNode,this.firstChild);break;case'beforeEnd':this.appendChild(parsedNode);break;case'afterEnd':if(this.nextSibling) this.parentNode.insertBefore(parsedNode,this.nextSibling);else this.parentNode.appendChild(parsedNode);break;}} HTMLElement.prototype.insertAdjacentHTML=function(where,htmlStr) {var r=this.ownerDocument.createRange();r.setStartBefore(this);var parsedHTML=r.createContextualFragment(htmlStr);this.insertAdjacentElement(where,parsedHTML)} HTMLElement.prototype.insertAdjacentText=function(where,txtStr) {var parsedText=document.createTextNode(txtStr) this.insertAdjacentElement(where,parsedText)}} function init(){if(arguments.callee.done)return;arguments.callee.done=true;if(_timer)clearInterval(_timer);for(var i=0;i<_domLoaded.length;i++)_domLoaded[i]();};if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false);} if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){init();}},10);} window.onload=init;var hiddenTextIndex=0;var hiddenTexts=[];var tabsDivIndex=0;var tabsDivPrefix='$tabs$div$_';if(typeof(addEvent)=='undefined') {function addEvent(elm,evType,fn,useCapture) {if(elm.addEventListener) {elm.addEventListener(evType,fn,useCapture);return true;} else if(elm.attachEvent) {var r=elm.attachEvent('on'+evType,fn);return r;} else {elm['on'+evType]=fn;}}} function getHTextHtml(hti) {var html=['
');} else {html.push('Скрыть');html.push('