var vc,vb,vn,vf;
if(navigator.appName=="Netscape")
	if(parseFloat(navigator.vendorSub)==6.01)vn=true;
function scc(gi){
	vc="";
	setTimeout("cc(\""+gi+"\")",300)
}
function cc(gi){
	if(vc==gi||vc.indexOf(gi)!=-1)return;
	var ti=gtmi(gi);
	if(gtmi(vc)!=ti)gi=ti+"_1";
	var m=document.getElementById("menu");
	var ms=m.getElementsByTagName("div");
	for(i=ms.length-1;i>=0;i--)
		if(ms[i].id.indexOf(gi)!=-1&&ms[i].id.length>=gi.length)ms[i].style.visibility="hidden"
}
function so(p,oi){
	var o=document.getElementById(oi);
	if(o.style.visibility=="visible")return;
	var t=0,l=0,op,ti=gtmi(oi);
	if(p.id!=ti){
		t+=p.offsetTop;
		op=document.getElementById(gpsmi(oi));
		if(!vn)t+=op.offsetTop;
		if(p.previousSibling)t+=1;
		l+=op.offsetLeft+op.offsetWidth+1
	}else{
		op=document.getElementById(ti);
		t+=op.offsetHeight;
		do{
			t+=op.offsetTop;l+=op.offsetLeft;
		}while(op=op.offsetParent)
	}
	if(vn)t-=1;
	o.style.top=t+3;
	o.style.left=l-3;
	o.style.visibility="visible";
	sfx(oi,0)
}
function sfx(mi,p){
	p+=10;var m=document.getElementById(mi);
	m.style.clip="rect(0px,100%,"+p+"%,0px)";
	if(p>=100)return;
	setTimeout("sfx(\""+mi+"\","+p+")",10)
}
function gpsmi(mi){
	return(mi.indexOf("_")==-1)?"":mi.substring(0,mi.lastIndexOf("_"))
}
function gtmi(mi){
	var p=mi.indexOf("_");
	return(p==-1)?mi:mi.substring(0,p)
}
function h(m){
	vb=m.style.backgroundColor;
	vf=m.style.color;
	m.style.backgroundColor="#000000";
	m.style.color="#FFFFFF";
}
function d(m){
	m.style.backgroundColor=vb;
	m.style.color=vf;
}
function omo(t,mi){
	h(t);
	vc=mi;
	so(t,mi)
}
function omot(t,mi){
	d(t);
	scc(mi)
}
document.write("<img src='http://counter.yadro.ru/hit?r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' width=1 height=1 alt=''>")