var menu={'left':' <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page14.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it9" class="template-menu1"><div><a href="http://microny.com.ua/page14.html">Homepage</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page236.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it226" class="template-menu1"><div><a href="http://microny.com.ua/page236.html">About Us</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page237.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it249" class="template-menu1"><div><a href="http://microny.com.ua/page237.html">Production Capacities</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page238.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it255" class="template-menu1"><div><a href="http://microny.com.ua/page238.html">Quality management</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page239.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it233" class="template-menu1"><div><a href="http://microny.com.ua/page239.html">Products</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page240.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it261" class="template-menu1"><div><a href="http://microny.com.ua/page240.html">Managers</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://microny.com.ua/page213.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it217" class="template-menu1"><div><a href="http://microny.com.ua/page213.html">Contacts</a></div></td></tr> <tr><td class="template-menu-line"></td></tr> </table> '};

//menu['left']=menu['left'].replace(/<!--TABLE-->/gim,'<table width="100%" cellpadding="0" cellspacing="0" border="0">');

function show_path(arr,page){
var res=menu['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 in arr){
	j++;
	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-current1"');
		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-current1"');
	}

	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)):'1')+'"');

	if (typeof(to_expand[arr[i]])=="undefined"){
		pat='id="subdiv'+arr[i]+'"';
		menu['left']=menu['left'].replace(pat,pat+'style="display:'+((is.ie4)?'block':'table-row')+';"');
	}else{
		break;
	}
	
}
	document.write(menu['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;
