

//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(3322);;window.location=relative_path+\'page3253.html\';return false;" onmouseout="hilitediv(this,0,0)">	<td id="it3322" class="template-menu1" width="100%"><div><a href="page3253.html">Новини</a></div>	</td></tr>		<tr class="subdiv" id="subdiv3322" ><td><table width="100%" cellpadding="0" cellspacing="0" border="0" summary="menu"><tr onmouseover="hilitediv(this,1,1)" onclick="window.location=relative_path+\'page3242.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it6181" class="template-menu2"><div><a href="page3242.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+\'page8073.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it8088" class="template-menu2"><div><a href="page8073.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+\'page3537.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it6193" class="template-menu2"><div><a href="page3537.html">ВАТ "Івано-Франківський арматурний завод" прийняв участь у промисловій виставці "Трубопровідний транспорт-2008"</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+\'page7634.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it7867" class="template-menu2"><div><a href="page7634.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+\'page8419.html\';return false;" onmouseout="hilitediv(this,0,1)"><td id="it8425" class="template-menu2"><div><a href="page8419.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+\'page3126.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it3326" class="template-menu1"><div><a href="page3126.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+\'page3199.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it3330" class="template-menu1"><div><a href="page3199.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+\'page3218.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it3334" class="template-menu1"><div><a href="page3218.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+\'page3212.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it3338" class="template-menu1"><div><a href="page3212.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+\'page6622.html\';return false;" onmouseout="hilitediv(this,0,0)"><td id="it7335" class="template-menu1"><div><a href="page6622.html">Вакансії</a></div></td></tr></table>'} ;

