
var MenuSource = 
'<div style="VISIBILITY:hidden;POSITION:absolute;LEFT:0px;TOP:110px" id="ec1fd12d" onMouseOver=\'ShowMenu("ec1fd12d")\'><table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000><tr>'+
'<td width="100%" bgcolor="000000" align="center">'+
'<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000 width="100%"><tr>'+
'<td width="19" background="i/dm_bg.gif"><img src="i/dm_l.gif" width="19" height="6" border="0" alt=""></td><td width="100%" background="i/dm_bg.gif" align="right"><img src="i/1bl.gif" width="1" height="6" border="0" alt=""></td>'+
'</tr></table>'+
'<table border=0 cellspacing=0 cellpadding=1 bgcolor=#000000 width="100%"><tr><td><table cellpadding=0 cellspacing=0 width=100% border=0>'+
'<tr><td bgcolor=#919191 height=1><img src=i/1.gif width=10 height=1></td><td bgcolor=#919191 height=1 rowspan="10"><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/publish/about/"\'><a href="/publish/about/" class=popMenu>&nbsp;&nbsp;Î ÍÀÑ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/publish/contacts/"\'><a href="/publish/contacts/" class=popMenu>&nbsp;&nbsp;ÊÎÍÒÀÊÒÛ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/publish/vacancies/"\'><a href="/publish/vacancies/" class=popMenu>&nbsp;&nbsp;ÂÀÊÀÍÑÈÈ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'</table></td></tr></table>'+
'</td></tr></table></div>'+
'<div style="VISIBILITY:hidden;POSITION:absolute;LEFT:0px;TOP:110px" id="products" onMouseOver=\'ShowMenu("products")\'><table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000><tr>'+
'<td width="100%" bgcolor="000000" align="center">'+
'<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000 width="100%"><tr>'+
'<td width="19" background="i/dm_bg.gif"><img src="i/dm_l.gif" width="19" height="6" border="0" alt=""></td><td width="100%" background="i/dm_bg.gif" align="right"><img src="i/1bl.gif" width="1" height="6" border="0" alt=""></td>'+
'</tr></table>'+
'<table border=0 cellspacing=0 cellpadding=1 bgcolor=#000000 width="100%"><tr><td><table cellpadding=0 cellspacing=0 width=100% border=0>'+
'<tr><td bgcolor=#919191 height=1><img src=i/1.gif width=10 height=1></td><td bgcolor=#919191 height=1 rowspan="10"><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/soon/"\'><a href="/catalog/soon/" class=popMenu>&nbsp;&nbsp;ÑÊÎÐÎ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/new/"\'><a href="/catalog/new/" class=popMenu>&nbsp;&nbsp;ÍÎÂÈÍÊÈ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/authors/"\'><a href="/catalog/authors/" class=popMenu>&nbsp;&nbsp;ÀÂÒÎÐÛ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/sections/"\'><a href="/catalog/sections/" class=popMenu>&nbsp;&nbsp;ÐÀÇÄÅËÛ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/series/"\'><a href="/catalog/series/" class=popMenu>&nbsp;&nbsp;ÏÎ ÑÅÐÈßÌ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/catalog/klass/"\'><a href="/catalog/klass/" class=popMenu>&nbsp;&nbsp;ÏÎ ÊËÀÑÑÀÌ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'</table></td></tr></table>'+
'</td></tr></table></div>'+
'<div style="VISIBILITY:hidden;POSITION:absolute;LEFT:0px;TOP:110px" id="umk" onMouseOver=\'ShowMenu("umk")\'><table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000><tr>'+
'<td width="100%" bgcolor="000000" align="center">'+
'<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000 width="100%"><tr>'+
'<td width="19" background="i/dm_bg.gif"><img src="i/dm_l.gif" width="19" height="6" border="0" alt=""></td><td width="100%" background="i/dm_bg.gif" align="right"><img src="i/1bl.gif" width="1" height="6" border="0" alt=""></td>'+
'</tr></table>'+
'<table border=0 cellspacing=0 cellpadding=1 bgcolor=#000000 width="100%"><tr><td><table cellpadding=0 cellspacing=0 width=100% border=0>'+
'<tr><td bgcolor=#919191 height=1><img src=i/1.gif width=10 height=1></td><td bgcolor=#919191 height=1 rowspan="10"><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/umk/english/"\'><a href="/umk/english/" class=popMenu>&nbsp;&nbsp;ÀÍÃËÈÉÑÊÈÉ ßÇÛÊ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/umk/astronom/"\'><a href="/umk/astronom/" class=popMenu>&nbsp;&nbsp;ÀÑÒÐÎÍÎÌÈß&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/umk/matematika/"\'><a href="/umk/matematika/" class=popMenu>&nbsp;&nbsp;ÌÀÒÅÌÀÒÈÊÀ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/umk/fizika/"\'><a href="/umk/fizika/" class=popMenu>&nbsp;&nbsp;ÔÈÇÈÊÀ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'</table></td></tr></table>'+
'</td></tr></table></div>'+
'<div style="VISIBILITY:hidden;POSITION:absolute;LEFT:0px;TOP:110px" id="e43c05a8" onMouseOver=\'ShowMenu("e43c05a8")\'><table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000><tr>'+
'<td width="100%" bgcolor="000000" align="center">'+
'<table border=0 cellspacing=0 cellpadding=0 bgcolor=#000000 width="100%"><tr>'+
'<td width="19" background="i/dm_bg.gif"><img src="i/dm_l.gif" width="19" height="6" border="0" alt=""></td><td width="100%" background="i/dm_bg.gif" align="right"><img src="i/1bl.gif" width="1" height="6" border="0" alt=""></td>'+
'</tr></table>'+
'<table border=0 cellspacing=0 cellpadding=1 bgcolor=#000000 width="100%"><tr><td><table cellpadding=0 cellspacing=0 width=100% border=0>'+
'<tr><td bgcolor=#919191 height=1><img src=i/1.gif width=10 height=1></td><td bgcolor=#919191 height=1 rowspan="10"><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/buy/wholesale/"\'><a href="/buy/wholesale/" class=popMenu>&nbsp;&nbsp;ÎÏÒÎÌ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/buy/retail/"\'><a href="/buy/retail/" class=popMenu>&nbsp;&nbsp;Â ÐÎÇÍÈÖÓ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td nowrap class=popMenu bgcolor=#676767 height=18 onMouseOver=\'ChangeBgColor(this, "#919191")\' onMouseOut=\'ChangeBgColor(this, "#676767")\' onClick=\'self.location="/buy/internet/"\'><a href="/buy/internet/" class=popMenu>&nbsp;&nbsp;Â ÈÍÒÅÐÍÅÒÅ&nbsp;&nbsp;</a></td></tr>'+
'<tr><td bgcolor=#676767 height=5><img src=i/1.gif width=1 height=1></td></tr>'+
'</table></td></tr></table>'+
'</td></tr></table></div>'+
'';
var openedMenu = '';
function ShowMenu(menuId)
{
var el = document.all[menuId]
var elem = document.all['id_'+menuId]
if (el) {
if(!el.flag) {
if(el.style.posLeft)
el.posLeft = pageX(elem)-10+'px';
//			el.posLeft = document.all['id_'+menuId].offsetParent.offsetLeft + 192;
else
el.style.left = pageX(elem)-10+'px';
//			el.style.left = document.all['id_'+menuId].offsetParent.offsetLeft + 192;
el.flag = true;
}
el.style.visibility = 'visible';
}
openedMenu = menuId;
}
function HideMenu(menuId)
{
if (document.all[menuId]) document.all[menuId].style.visibility = 'hidden';
}
function ChangeBgColor(src, color) {
src.style.backgroundColor=color;
src.style.cursor='hand';
}			
function WriteMenu(){
document.write(MenuSource);
}
function pageX(elem) {
return elem.offsetParent ?
elem.offsetLeft + pageX( elem.offsetParent ) :
elem.offsetLeft;
}	

