function ge(id){return(document.getElementById?document.getElementById(id):document.all?document.all[id]:null)}function re(id){return(elem=document.getElementById(id)).parentNode.removeChild(elem)}function mainLinkAtMain(){var hr=document.location.href,regxp=/^http:\/\/murdrum\.ru/i;if(!regxp.test(hr))window.location='http://murdrum.ru/';if(hr=='http://murdrum.ru/'||hr=='http://murdrum.ru/index.php'||hr=='http://murdrum.ru/index.html'){ge('mainlnk').style.visibility='hidden';ge('menu2nd').className='first'}}var curMore='';function showMore(n){var elem=ge(n);var btn=ge(n+'_btn');if(elem.style.display=='none'||elem.style.display==''){if(curMore!='')showMore(curMore);elem.style.display='block';btn.className="sp-head unfolded clickable";curMore=n}else{elem.style.display='none';btn.className="sp-head folded clickable";curMore=''}}function isIE(){return('\v'=='v')}function trim(str){var str=str.replace(/^\s\s*/,''),ws=/\s/,i=str.length;while(ws.test(str.charAt(--i)));return str.slice(0,i+1)}function getInnerText(elt){var _innerText=elt.innerText;if(_innerText==undefined)_innerText=elt.innerHTML.replace(/<[^>]+>/g,"");return _innerText}function includeCSS(src){var html_doc=document.getElementsByTagName('head')[0];css=document.createElement('link');css.setAttribute('rel','stylesheet');css.setAttribute('type','text/css');css.setAttribute('href',src);html_doc.appendChild(css)}function removeArrayElem(array,item){var index=array.indexOf(item);return array.splice(index,1)}
