var menu_array={'1530':{'desc':'Мы'},'1547':{'desc':'История'},'1553':{'desc':'Профиль агентства'},'1562':{'desc':'Нас найти'},'1638':{'desc':'Вакансии'},'1532':{'desc':'Знаем'},'1549':{'desc':'Региональные офисы'},'1555':{'desc':'Наши принципы'},'1564':{'desc':'Как мы работаем'},'1649':{'desc':'Написать нам'},'1542':{'desc':'Как'},'1557':{'desc':'Наши методы'},'1568':{'desc':'Портфолио'},'1671':{'desc':'Клиенты'},'1673':{'desc':'Услуги'},'1572':{'desc':'Обратная связь'},'1691':{'desc':'Online отчетность'},'72':{'desc':'Карта сайта'}};
menu_array[-1]='';
var menu_pages_divs={'0':'1574','71':'72','1630':'1530','1586':'1547','1590':'1549','1594':'1673','1598':'1555','1602':'1557','1607':'1562','1609':'1564','1634':'1568','1643':'1572','1615':'1638','1648':'1649','1678':'1671','1696':'1691'};
var menu_pages={'1630':{'0':'1530'},'1586':{'0':'1547'},'1594':{'0':'1553','1':'1673'},'1607':{'0':'1562'},'1615':{'0':'1638'},'1590':{'0':'1549'},'1598':{'0':'1555'},'1609':{'0':'1564'},'1648':{'0':'1649'},'1602':{'0':'1557'},'1634':{'0':'1568'},'1678':{'0':'1671'},'1643':{'0':'1572'},'1696':{'0':'1691'},'71':{'0':'72'}};
menu={'left':' 	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(1530);;window.location=\'http://www.agroup.com.ua/site/page1630.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it1530" class="template-menu1" width="100%"><div><a href="http://www.agroup.com.ua/site/page1630.html">Мы</a></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv1530" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1586.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1547" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1586.html">История</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1590.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1549" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1590.html">Региональные офисы</a></div></td></tr>  </table> </td></tr></table> 	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(1532);" onmouseout="hilitediv(this,0,0)"> 	<td id="it1532" class="template-menu1" width="100%"><div><span>Знаем</span></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv1532" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1594.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1553" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1594.html">Профиль агентства</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1598.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1555" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1598.html">Наши принципы</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1602.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1557" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1602.html">Наши методы</a></div></td></tr>  </table> </td></tr></table> 	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(1542);" onmouseout="hilitediv(this,0,0)"> 	<td id="it1542" class="template-menu1" width="100%"><div><span>Как</span></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv1542" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1607.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1562" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1607.html">Нас найти</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1609.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1564" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1609.html">Как мы работаем</a></div></td></tr>  </table> </td></tr></table> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://www.agroup.com.ua/site/page1634.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1568" class="template-menu1"><div><a href="http://www.agroup.com.ua/site/page1634.html">Портфолио</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://www.agroup.com.ua/site/page1678.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1671" class="template-menu1"><div><a href="http://www.agroup.com.ua/site/page1678.html">Клиенты</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://www.agroup.com.ua/site/page1594.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1673" class="template-menu1"><div><a href="http://www.agroup.com.ua/site/page1594.html">Услуги</a></div></td></tr>  </table>  	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(1572);;window.location=\'http://www.agroup.com.ua/site/page1643.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it1572" class="template-menu1" width="100%"><div><a href="http://www.agroup.com.ua/site/page1643.html">Обратная связь</a></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv1572" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1615.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1638" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1615.html">Вакансии</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://www.agroup.com.ua/site/page1648.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1649" class="template-menu2"><div><a href="http://www.agroup.com.ua/site/page1648.html">Написать нам</a></div></td></tr>  </table> </td></tr></table> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://www.agroup.com.ua/site/page1696.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1691" class="template-menu1"><div><a href="http://www.agroup.com.ua/site/page1696.html">Online отчетность</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://www.agroup.com.ua/site/page71.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it72" class="template-menu1"><div><a href="http://www.agroup.com.ua/site/page71.html">Карта сайта</a></div></td></tr>  </table> '};

mn_top='';mn_top1='';j=0;
function show_path(arr,page){
for (i in arr){
	j++;
	if (typeof(menu_pages[page][1])!='undefined' && typeof(menu_array[menu_pages_divs[page]])!='undefined')
		menu['top2']=menu_array[menu_pages_divs[page]]['desc'];
	else if (typeof(menu_array[menu_pages[page][0]])!='undefined')
		menu['top2']=menu_array[menu_pages[page][0]]['desc'];
	else
		menu['top2']='&nbsp;';
	if (i==0){
		str='"opendiv\\('+arr[i]+'\\);" onmouseout="[^"]+">\\s*<td class="[^"]+"';
		pat= new RegExp(str,"i");
		menu['left']=menu['left'].replace(pat,'"opendiv\('+arr[i]+'\);" onmouseout="hilitediv\(this,3,1\)">'+'<td class="template-menu-current"');
		str='onmouseout="[^"]+">\\s*<td id="it'+arr[i]+'" class="[^"]+"';
		pat= new RegExp(str,"i");
		menu['left']=menu['left'].replace(pat,'onmouseout="hilitediv\(this,3,0\)"> <td id="it'+arr[i]+'" class="template-menu-current"');
	}

	//str='id="img'+arr[i]+'" src="[^"]+"';
	//pat= new RegExp(str,"i");
	//menu['left']=menu['left'].replace(pat,'src="../pics/menu_dot_a.gif"');
	str='id="it'+arr[i]+'" class="template-menu[^"]+"';
	pat= new RegExp(str,"i");
	menu['left']=menu['left'].replace(pat,'class="template-menu-current'+((j>1)?(Math.min(4,j)):'')+'"');
	pat='id="subdiv'+arr[i]+'"';
	menu['left']=menu['left'].replace(pat,pat+'style="display:'+((is.ie4)?'block':'table-row')+';"');
	mn_top+=mn_top1;
	mn_top1=((mn_top1!='')?'->':'')+((typeof(menu_array[arr[i]])!='undefined') ? menu_array[arr[i]]['desc']:'&nbsp;');
}
	menu['top1']=mn_top;
	document.write(menu['left']);
}
var ext_menu=1;
