var menu={'left':' <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page45.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it46" class="template-menu1"><div><a href="http://opalkova.com.ua/page45.html">Главная</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page2.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it3" class="template-menu1"><div><a href="http://opalkova.com.ua/page2.html">О ресторане</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page9.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it10" class="template-menu1"><div><a href="http://opalkova.com.ua/page9.html">Анонсы</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page1973.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1974" class="template-menu1"><div><a href="http://opalkova.com.ua/page1973.html">Новинки меню</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page71.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it14" class="template-menu1"><div><a href="http://opalkova.com.ua/page71.html">Интерьеры</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page21.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it22" class="template-menu1"><div><a href="http://opalkova.com.ua/page21.html">Карта вин</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page17.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it18" class="template-menu1"><div><a href="http://opalkova.com.ua/page17.html">Кухня</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page25.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it26" class="template-menu1"><div><a href="http://opalkova.com.ua/page25.html">Бар</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page1850.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it1855" class="template-menu1"><div><a href="http://opalkova.com.ua/page1850.html">Советы от шефа</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page101.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it30" class="template-menu1"><div><a href="http://opalkova.com.ua/page101.html">Фотоальбом</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page33.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it34" class="template-menu1"><div><a href="http://opalkova.com.ua/page33.html">Контакты</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page2082.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it2084" class="template-menu1"><div><a href="http://opalkova.com.ua/page2082.html">Кейтеринг</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,0)" onclick="window.location=\'http://opalkova.com.ua/page3015.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> <td id="it3016" class="template-menu1"><div><a href="http://opalkova.com.ua/page3015.html">Вам нужно это знать!!!</a></div></td></tr>  </table>  	<table width="100%" cellpadding="0" cellspacing="0" border="0"> 	<tr onmouseover="hilitediv(this,1,0)" onclick="opendiv(2582);;window.location=\'http://opalkova.com.ua/page2575.html\'+query_str;return false;" onmouseout="hilitediv(this,0,0)"> 	<td id="it2582" class="template-menu1" width="100%"><div><a href="http://opalkova.com.ua/page2575.html">Детские мероприятия</a></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv2582" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://opalkova.com.ua/page3468.html\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> <td id="it3469" class="template-menu2"><div><a href="http://opalkova.com.ua/page3468.html">Детская площадка</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://opalkova.com.ua/page2606.html\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> <td id="it2602" class="template-menu2"><div><a href="http://opalkova.com.ua/page2606.html">Детские дисконтные карты </a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://opalkova.com.ua/page3021.htm\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> <td id="it2976" class="template-menu2"><div><a href="http://opalkova.com.ua/page3021.htm">Детская анимация</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://opalkova.com.ua/page2975.htm\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> <td id="it3022" class="template-menu2"><div><a href="http://opalkova.com.ua/page2975.htm">День рожденья Вашего ребенка</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,1)" onclick="window.location=\'http://opalkova.com.ua/page3107.html\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> <td id="it3108" class="template-menu2"><div><a href="http://opalkova.com.ua/page3107.html">Программа мероприятий на выходные</a></div></td></tr>  </table>  	<table width="100%" cellpadding="0" cellspacing="0" border="0"> 	<tr onmouseover="hilitediv(this,1,1)" onclick="opendiv(3909);;window.location=\'http://opalkova.com.ua/page3908.html\'+query_str;return false;" onmouseout="hilitediv(this,0,1)"> 	<td id="it3909" class="template-menu2" width="100%"><div><a href="http://opalkova.com.ua/page3908.html">Фотоальбом</a></div> 	</td></tr> 	 	<tr class="subdiv" id="subdiv3909" ><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page4286.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it4287" class="template-menu3"><div><a href="http://opalkova.com.ua/page4286.html">Детский праздник / 07.06.09 </a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page4833.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it4829" class="template-menu3"><div><a href="http://opalkova.com.ua/page4833.html">Детский праздник/22.08.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page4876.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it4868" class="template-menu3"><div><a href="http://opalkova.com.ua/page4876.html">Детский праздник/23.08.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page5059.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it5048" class="template-menu3"><div><a href="http://opalkova.com.ua/page5059.html">Детский праздник/29 - 30.08.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page5179.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it5171" class="template-menu3"><div><a href="http://opalkova.com.ua/page5179.html">Детский праздник/05 - 06.09.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page5284.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it5278" class="template-menu3"><div><a href="http://opalkova.com.ua/page5284.html">Детский праздник/12 - 13.09.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page5354.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it5351" class="template-menu3"><div><a href="http://opalkova.com.ua/page5354.html">Детский праздник/19 - 20.09.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page5398.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it5401" class="template-menu3"><div><a href="http://opalkova.com.ua/page5398.html">Детский праздник/26 - 27.09.09</a></div></td></tr>  </table>  <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr onmouseover="hilitediv(this,1,2)" onclick="window.location=\'http://opalkova.com.ua/page6003.html\'+query_str;return false;" onmouseout="hilitediv(this,0,2)"> <td id="it6004" class="template-menu3"><div><a href="http://opalkova.com.ua/page6003.html">Розыгрыш подарочного сертификата от туристической фирмы</a></div></td></tr>  </table> </td></tr></table></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;

