

//menu['left']=menu['left'].replace(/<!--TABLE-->/gim,'<table width="100%" cellpadding="0" cellspacing="0" border="0">');

function show_path(arr,page){
var res=menu2['left'].match(/class="subdiv_expand" id="subdiv(.*)"/);
var to_expand={};
var j=0;
if (res){
	for (var k=1;k<=res.length;k++){
		if (typeof(res[k])!="undefined"){
			to_expand[res[k]]=1;
		}
	}
}

for(i=1;;i++){
	if (typeof arr[i] == 'undefined')
		break;
	j++;
	if (i==0){
		str='"opendiv\\('+arr[i]+'\\);" onmouseout="[^"]+">\\s*<td class="[^"]+"';
		pat= new RegExp(str,"i");
		menu2['left']=menu2['left'].replace(pat,'"opendiv\('+arr[i]+'\);" onmouseout="hilitediv\(this,3,1\)">'+'<td class="template-menu-current1"');
		str='onmouseout="[^"]+">\\s*<td id="it'+arr[i]+'" class="[^"]+"';
		pat= new RegExp(str,"i");
		menu2['left']=menu2['left'].replace(pat,'onmouseout="hilitediv\(this,3,0\)"> <td id="it'+arr[i]+'" class="template-menu-current1"');
	}

	str='id="it'+arr[i]+'" class="template-menu[^"]+"';
	pat= new RegExp(str,"i");
	menu2['left']=menu2['left'].replace(pat,'class="template-menu-current'+((j>1)?(Math.min(4,j)):'1')+'"');

	if (typeof(to_expand[arr[i]])=="undefined"){
		pat='id="subdiv'+arr[i]+'"';
		menu2['left']=menu2['left'].replace(pat,pat+'style="display:'+((is.ie4)?'block':'table-row')+';"');
	}else{
		break;
	}
	
}
	document.write(menu2['left']);
if (res){
	for (var j=1;j<=res.length;j++ ){
		for (k in arr){
			if (arr[k]==res[j]){
				opendiv(res[j],1);
			}
		}
	}
}
}
var ext_menu=1;

var menu2={'left':'	<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu">	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(1176);;window.location=relative_path+\'page1175.html\';return false;" onmouseout="hilitediv(this,0,0)">	<td id="it1176" class="template-menu1" width="100%"><div><a href="page1175.html">Новости</a></div>	</td></tr>		<tr class="subdiv" id="subdiv1176" ><td><table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"><tr onmouseover="hilitediv(this,1,1)" onclick="window.location=relative_path+\'page2519.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it2520" class="template-menu2"><div><a href="page2519.html">ОАО "Ивано-Франковский арматурный завод" отпраздновал 35-летний юбилей </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=relative_path+\'page6488.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it6499" class="template-menu2"><div><a href="page6488.html">ОАО «Ивано-Франковский арматурный завод» стал победителем в номинации «Успешное промышленное предприятие 2006 года»</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=relative_path+\'page3192.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it6703" class="template-menu2"><div><a href="page3192.html">ОАО "Ивано-Франковский арматурный завод" принял участие в промышленной выставке "Трубопроводный транспорт-2007"</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=relative_path+\'page7629.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it7630" class="template-menu2"><div><a href="page7629.html">ОАО «Ивано-Франковский арматурный завод» стал победителем в номинации «Наибольший плательщик налогов 2007 года»</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=relative_path+\'page8412.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it8413" class="template-menu2"><div><a href="page8412.html">ОАО "Ивано-Франковский арматурный завод" награжден орденом "Звезда экономики Украины I степени.</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=relative_path+\'page46.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it47" class="template-menu1"><div><a href="page46.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=relative_path+\'page63.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it64" class="template-menu1"><div><a href="page63.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=relative_path+\'page1267.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it1268" class="template-menu1"><div><a href="page1267.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=relative_path+\'page68.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it69" class="template-menu1"><div><a href="page68.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=relative_path+\'page25.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it6656" class="template-menu1"><div><a href="page25.html">Потребности</a></div></td></tr></table>'} ;
