var menu_array={'125':{'desc':'Главная'},'2007':{'desc':'Вакансии'},'1280':{'desc':'Технологии и оборудование'},'1679':{'desc':'Ушные бирки'},'1826':{'desc':'Миссия и девиз предприятия'},'1870':{'desc':'Система менеджмента качества'},'113':{'desc':'Полиграфическая продукция'},'1837':{'desc':'История предприятия'},'2346':{'desc':'Аппликаторы'},'106':{'desc':'Средства идентификации'},'98':{'desc':'Продукция'},'1492':{'desc':'Новости'},'78':{'desc':'Команда'},'120':{'desc':'Управление качеством'},'2002':{'desc':'Работа у нас'},'1845':{'desc':'Дипломы и сертификаты'},'166':{'desc':'Контактная информация'},'1357':{'desc':'Карта сайта'},'2501':{'desc':'Наши успехи и достижения'}};
menu_array[-1]='';
var menu_pages_divs={'77':'78','56':'57','105':'106','97':'98','112':'113','119':'120','0':'2033','1356':'1357','165':'166','1502':'1503','2006':'2007','1279':'1280','2001':'2002','1467':'1492','1509':'1510','306':'2294','2261':'1679','1844':'1845','1418':'1837','1825':'1826','1869':'1870','2345':'2346','2500':'2501'};
var menu_pages={'1502':{'0':'1503'},'2006':{'0':'2007'},'1279':{'0':'1280'},'2261':{'0':'1679'},'1825':{'0':'1826'},'1869':{'0':'1870'},'56':{'0':'57'},'112':{'0':'113'},'1509':{'0':'1510'},'306':{'0':'2294'},'1418':{'0':'1837'},'2345':{'0':'2346'},'105':{'0':'106'},'97':{'0':'98'},'1467':{'0':'1492'},'77':{'0':'78'},'119':{'0':'120'},'2001':{'0':'2002'},'1844':{'0':'1845'},'165':{'0':'166'},'1356':{'0':'1357'},'2500':{'0':'2501'}};
menu={'left':' 	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(98);;window.location=\'http://www.kpf-zorya.com.ua/site/page97.html\';return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it98" class="template-menu1" width="100%"><div><a href="../site/page97.html">Продукция</a></div> 	</td></tr> 	<tr><td class="template-menu-line"></td></tr> 	<tr class="subdiv" id="subdiv98" ><td><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu1"></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.kpf-zorya.com.ua/site/page1279.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1280" class="template-menu2"><div><a href="http://www.kpf-zorya.com.ua/site/page1279.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.kpf-zorya.com.ua/site/page112.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it113" class="template-menu2"><div><a href="http://www.kpf-zorya.com.ua/site/page112.html">Полиграфическая продукция</a></div></td></tr>  </table>  	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> 	<tr onmouseover="hilitediv(this,1,1)" onclick="opendiv(106);;window.location=\'http://www.kpf-zorya.com.ua/site/page105.html\';return false;" onmouseout="hilitediv(this,0,1)"> 	<td id="it106" class="template-menu2" width="100%"><div><a href="../site/page105.html">Средства идентификации</a></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv106" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://www.kpf-zorya.com.ua/site/page2261.html\';return false;" onmouseout="hilitediv(this,0,2)"> <td id="it1679" class="template-menu3"><div><a href="http://www.kpf-zorya.com.ua/site/page2261.html">Ушные бирки</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://www.kpf-zorya.com.ua/site/page2345.html\';return false;" onmouseout="hilitediv(this,0,2)"> <td id="it2346" class="template-menu3"><div><a href="http://www.kpf-zorya.com.ua/site/page2345.html">Аппликаторы</a></div></td></tr>  </table> </td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu2"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-menu-line"></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(120);;window.location=\'http://www.kpf-zorya.com.ua/site/page119.html\';return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it120" class="template-menu1" width="100%"><div><a href="../site/page119.html">Управление качеством</a></div> 	</td></tr> 	<tr><td class="template-menu-line"></td></tr> 	<tr class="subdiv" id="subdiv120" ><td><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu1"></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.kpf-zorya.com.ua/site/page1869.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it1870" class="template-menu2"><div><a href="http://www.kpf-zorya.com.ua/site/page1869.html">Система менеджмента качества</a></div></td></tr>  </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu2"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-menu-line"></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(2002);;window.location=\'http://www.kpf-zorya.com.ua/site/page2001.html\';return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it2002" class="template-menu1" width="100%"><div><a href="../site/page2001.html">Работа у нас</a></div> 	</td></tr> 	<tr><td class="template-menu-line"></td></tr> 	<tr class="subdiv" id="subdiv2002" ><td><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu1"></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.kpf-zorya.com.ua/site/page2006.html\';return false;" onmouseout="hilitediv(this,0,1)"> <td id="it2007" class="template-menu2"><div><a href="http://www.kpf-zorya.com.ua/site/page2006.html">Вакансии</a></div></td></tr>  </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-nested-menu2"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="template-menu-line"></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.kpf-zorya.com.ua/site/page165.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it166" class="template-menu1"><div><a href="http://www.kpf-zorya.com.ua/site/page165.html">Контактная информация</a></div></td></tr> <tr><td class="template-menu-line"></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.kpf-zorya.com.ua/site/page1356.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1357" class="template-menu1"><div><a href="http://www.kpf-zorya.com.ua/site/page1356.html">Карта сайта</a></div></td></tr> <tr><td class="template-menu-line"></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.kpf-zorya.com.ua/site/page2500.html\';return false;" onmouseout="hilitediv(this,0,0)"> <td id="it2501" class="template-menu1"><div><a href="http://www.kpf-zorya.com.ua/site/page2500.html">Наши успехи и достижения</a></div></td></tr> <tr><td class="template-menu-line"></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(3,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;
