<!-- 
var w = 800; 
var n = 2;

var hm = new Array();
var mm = new Array();
var menu = new Array();

w = w+(screen.width-w)/2;

for(i=1;i<=n;i++) { hm[i] = 0; mm[i] = 0; }

function MM_swapImgRestore() { //v3.0
  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_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  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() { //v3.0
  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 gx(i) {
	var x = 0;	do { x += i.offsetLeft } while ((i = i.offsetParent) != null);	return x;
}

function gy(i) {
	var y = 0;	do { y += i.offsetTop } while ((i = i.offsetParent) != null);	return y;
}

function RegMenu(text, id, t, l) {
if(document.layers)
 {
  document.write("<layer id=m" + id + " top=" + t + " left=" + l + " onmouseover=\"mm[" + id + "]=1;\" onmouseout=\"Set('" + id + "',0);mm[" + id + "]=0;\" visibility=hide z-index=2 bgcolor=\"#000000\">" + text + "</layer>");
 }
 else if(document.all)
 {
  document.write("<div id=m" + id + " style=\"position:absolute;top:" + t + ";left:" + l + ";visibility:hidden;width:100;z-index:1;\" onmouseover=\"mm[" + id + "]=1;\" onmouseout=\"Set('" + id + "',0);mm[" + id + "]=0;\">" + text + "</div>");
 }
 }

 
function Set(id, mode) {
 if(document.layers || document.all) {
  if(mode) eval("setTimeout(\"Show(" + id + ");\",100)");
  else eval("setTimeout(\"Hide(" + id + ");\",100)");
 }
}

 function Show(id){
  if(hm[id]) {
   if(document.all) {
LC = gx(document.images["menu"+id])+2;
TC = gy(document.images["menu"+id])+15;
RC = LC + document.all["m" +id].clientWidth; 
WB = w;
if (RC > WB) LC = LC - (RC - WB);

document.all["m" +id].style.left = LC;
document.all["m" +id].style.top = TC;
eval("m" + id).style.visibility = 'visible';
   }    
   else if(document.layers) {
LC = document.images["menu"+id].x+2;
TC = document.images["menu"+id].y+15;
RC = LC + 120; 
WB = w;
if (RC > WB) LC = LC - (RC - WB)+1;
eval('document.layers["m" +id].left = LC');    
eval('document.layers["m" +id].top = TC');    
eval("document.layers['m" + id + "']").visibility = "show";
   }    
  }
 }
 
 function Hide(id){
  if(!mm[id] && !hm[id]) {
   if(document.all) {
    eval("m" + id).style.visibility = 'hidden';
   }
   else if(document.layers) {
    eval("document.layers['m" + id + "']").visibility = "hide";
   }    
  }
 }

menu = new Array();
menu[1] = "<table width=150 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#000000><table width=100% cellpadding=0 cellspacing=1 border=0>"+
"<tr><td bgcolor=#E8F3FF height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=str-dir.htm target=_top class=menu>Структура дирекции</a>&nbsp;</td></tr>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=ustav.htm target=_top class=menu>Устав</a>&nbsp;</td></tr>"+
"</table></td></tr></table>";
RegMenu(menu[1], 1, 0, 115);
menu[2] = "<table width=150 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#000000><table width=100% cellpadding=0 cellspacing=1 border=0>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=konkurs-info.htm target=_top class=menu>Ведомость проводимых торгов</a>&nbsp;</td></tr>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=zakonodatelstvo-po-torgam.htm target=_top class=menu>Законодательство по торгам</a>&nbsp;</td></tr>"+
"</table></td></tr></table>";
RegMenu(menu[2], 2, 0, 115);
menu[3] = "<table width=150 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#000000><table width=100% cellpadding=0 cellspacing=1 border=0>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=index.htm target=_top class=menu>Новости</a>&nbsp;</td></tr>"+

"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=pressa.htm target=_top class=menu>Обзор прессы</a>&nbsp;</td></tr>"+
"</table></td></tr></table>";
RegMenu(menu[3], 3, 0, 115);
menu[4] = "<table width=150 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#000000><table width=100% cellpadding=0 cellspacing=1 border=0>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=fak-otdel.htm target=_top class=menu><b>Факультеты и отделения</B></a>&nbsp;</td></tr>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=spec-special.htm target=_top class=menu><b>Специальности и специализации</b></a>&nbsp;</td></tr>"+
"<tr><td bgcolor=#E8F3FF  height=18 onMouseOver=\"this.style.backgroundColor='#ffffff';\" onMouseOut=\"this.style.backgroundColor='#E8F3FF';\" nowrap>&nbsp;<a href=kafedry.htm target=_top class=menu><b>Кафедры</b></a>&nbsp;</td></tr>"+
"</table></td></tr></table>";
RegMenu(menu[4], 4, 0, 115);
// -->
