
startList=function(){var maxMenu=document.getElementsByTagName("UL").length;if(document.all&&document.getElementById){for(var j=0;j<maxMenu;j++){if(document.getElementById("nav".concat(j))){navRoot=document.getElementById("nav".concat(j));for(i=0;i<navRoot.childNodes.length;i++){node=navRoot.childNodes[i];if(node.nodeName.toUpperCase()=="LI"){node.onmouseover=function(){this.className+=" over";}
node.onmouseout=function(){this.className=this.className.replace(" over","");}
if(!node.getElementsByTagName("UL").length)node.className+=" nosub";}}}}}}
function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}
function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&document.getElementById)x=document.getElementById(n);return x;}
function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)
if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}
function preloadImg(imgArr){if(imgArr[0]){var img=new Array();for(var i=0;i<imgArr.length;i++){img[i]=new Image();img[i].src=imgArr[i];}}}
preloadImg(["/img/chooseSpecOn.gif"]);function show(name){if(document.getElementById)
{var link=document.getElementById(name);link.style.display='block';}}
function hide(name){if(document.getElementById)
{var link=document.getElementById(name);link.style.display='none';}}
function hint(txt,o){if(!document.getElementById('jshint'))document.body.innerHTML="<div style=\"position:absolute;\" id=\"jshint\"></div>"+document.body.innerHTML;var y=o.offsetTop;var x=o.offsetLeft+o.offsetWidth+5;while(o.offsetParent){o=o.offsetParent;y+=o.offsetTop;x+=o.offsetLeft;}
document.getElementById('jshint').innerHTML="<div style=\"position:relative; z-index:9999; left:"+x+"px; top:"+y+"px; \" class=\"hint\">"+txt+"</div>"
o.onmouseout=function(){document.getElementById('jshint').innerHTML="";this.onmouseout=null;}}
function openWin(name,docUrl){var newWin=window.open(docUrl,name,"width="+screen.width/2+", height="+screen.height/2+", toolbar=no, personalbar=no, scrollbars=yes, location=yes, directories=no, statusbar=no, menubar=no, status=no, resizable=yes");}
function openImg(txt,w,h){win=window.open("","",'resizable=no,menubar=no,status=no,scrollbars=no, top=200, left=220, width='+w+',height='+h);win.focus();win.document.writeln("<html><body bgcolor='white' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onClick='window.close();'>"+txt+"</body></html>");}
function popup(src,w,h,alt){win=window.open("about:blank","picturePopup",'resizable=no,menubar=no,status=no,scrollbars=no, top=200, left=220, width='+w+',height='+h);win.document.writeln("<html><head><title>"+alt+"</title></head><body bgcolor='white' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onClick='window.close();'><img src=\""+src+"\" width=\""+w+"\" height=\""+h+"\" alt=\""+alt+"\"></body></html>");win.focus();}
function noInfo(sectName){alert("В данный момент в разделе "+sectName+" нет информации.");}
sstr="";function setHands(){var di=document.images
var i=di.length;while(i--)if(di[i].onclick)di[i].className="onclick";}
function faq(par,cn){var els=par.getElementsByTagName("*");var l=els.length;while(l--){if(els[l].className==cn){els[l].onclick=showHideContent;els[l].onclick();}}}
function showHideContent(){var v=this.sh?"":"none";this.sh=!this.sh;var els=this.parentNode.getElementsByTagName("*");var l=els.length;while(l--)els[l].style.display=v;this.style.display="";}