<!DOCTYPE html>
<!-- [container] [name: Main] -->
<html class="no-js" lang="uk">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404</title>
<link rel="alternate" hreflang="uk" href="https://infosaray.com.ua/404/" />
<link rel="alternate" hreflang="ru" href="https://infosaray.com.ua/ru/404/" />
<link rel="canonical" href="https://infosaray.com.ua/404/">
<meta property="og:title" content="404"/>
<meta property="og:url" content="https://infosaray.com.ua/404/"/>
<meta property="og:image" content="https://infosaray.com.ua/images/logo.png"/>
<meta property="og:type" content="website"/>
<meta property="og:site_name" content="Інфосарай"/>
<script>var BASESITE = "https://infosaray.com.ua/"; var LANG = "ua";</script>	
<link rel="preload" href="/fonts/opensanslight.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/opensanslightitalic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/opensans.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/opensansitalic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/opensanssemibold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/opensansbold.woff2" as="font" type="font/woff2" crossorigin>

<link rel="stylesheet" href="/css/style.css" />
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9W66G26X07"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-9W66G26X07');
</script>
</head>
<body>
<div id="networkBar"></div>
<div id="block_1"><!-- [block: block_1] -->
	<!-- menuheader/ancient --><!--
[name: Menuheader]
[type: Header]
-->
<link rel="stylesheet" href="/css/menuheader.css" />

<link rel="stylesheet" href="/css/menuheader-blogone.css" />
    <div class="sticky1-container header-sticky1-container" data-sticky1-container>
        <div class="sticky1" data-sticky1 data-margin-top="0" data-top-anchor="networkBar:top" data-sticky1-on="small" id="topMenu">
			
						
            <div class="top-bar show-bar">
                <div class="row row-width pos-relative show-bar">
                    <div class="small-2 medium-4 large-2 columns">
                        <a title="Головна" href="https://infosaray.com.ua/" class="logo-link">
                            <img src="/images/logo.png" alt="Головна" class="logo" loading="lazy" />
                        </a>						
                    </div>
					
					
					
					<div class="small-10 medium-4 large-8 columns expanded collapse show-for-large mega-drop-down-menu-wrapper" ng-non-bindable>
												
												<div class="row row-width mega-dropdown_menu">
							
							<ul style="display:inline-block;vertical-align:top;" class="menu mega-dropdown_menu-categories constructor-template" data-category-id="11" data-template-type="template-interface" data-template-name="menuheader" data-template-id="1">	
																																	
																										<li class="menu-cat-link  float-center last hover-bottom" data-toggle="other-categories1" href="https://infosaray.com.ua/blog/aktualne/" style="" ><a href="https://infosaray.com.ua/blog/aktualne/">Актуальне</a>														
									
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom" data-toggle="other-categories2" href="https://infosaray.com.ua/blog/tips/" style="" ><a href="https://infosaray.com.ua/blog/tips/">Поради</a>														
									
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom lsub" data-toggle="other-categories12" href="https://infosaray.com.ua/blog/biznes/" style="" ><a href="https://infosaray.com.ua/blog/biznes/">Бізнес</a>														
									
																							
										<ul class="dropdown-menu">
																																	<li><a href="https://infosaray.com.ua/blog/biznes/agronomy/">Агрономія</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/biznes/house/">Дім</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/biznes/development/">Розвиток</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/biznes/technologies/">Технології</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/biznes/transport/">Транспорт</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/biznes/finance/">Фінанси</a></li>
																					  
										</ul>				
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom lsub" data-toggle="other-categories3" href="https://infosaray.com.ua/blog/health/" style="" ><a href="https://infosaray.com.ua/blog/health/">Здоров'я</a>														
									
																							
										<ul class="dropdown-menu">
																																	<li><a href="https://infosaray.com.ua/blog/health/pregnancy/">Вагітність</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/health/cosmetology/">Косметологія</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/health/treatment/">Лікування</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/health/psychology/">Психологія</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/health/dream/">Сон</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/health/sport/">Спорт</a></li>
																					  
										</ul>				
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom lsub" data-toggle="other-categories4" href="https://infosaray.com.ua/blog/food/" style="" ><a href="https://infosaray.com.ua/blog/food/">Харчування</a>														
									
																							
										<ul class="dropdown-menu">
																																	<li><a href="https://infosaray.com.ua/blog/food/foods/">Продукти</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/food/cooking/">Рецепти</a></li>
																					  
										</ul>				
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom" data-toggle="other-categories8" href="https://infosaray.com.ua/blog/shopping/" style="" ><a href="https://infosaray.com.ua/blog/shopping/">Покупки</a>														
									
																		</li>
																										<li class="menu-cat-link  float-center last hover-bottom lsub" data-toggle="other-categories5" href="https://infosaray.com.ua/blog/interesting/" style="" ><a href="https://infosaray.com.ua/blog/interesting/">Цікаве</a>														
									
																							
										<ul class="dropdown-menu">
																																	<li><a href="https://infosaray.com.ua/blog/interesting/znaky-zodiaku/">Знаки зодіаку</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/interesting/names/">Імена</a></li>
																																	<li><a href="https://infosaray.com.ua/blog/interesting/mystery/">Світ таємниць</a></li>
																					  
										</ul>				
																		</li>
																							</ul>
							
						</div>
					</div>
					
					
					
										
                    <div class="small-2 medium-4 large-2 columns account-nav">
                        <div class="text-align-right mobile-menu-top show-bar">
							
							<button id="showSearch">
								<span class="button alpha small">
									<svg class="icon-large" viewBox="0 0 24 24"><path d="M22.62 23.172l-5.616-6.372c2.092-1.738 3.413-4.34 3.413-7.251 0-5.196-4.212-9.408-9.408-9.408s-9.408 4.212-9.408 9.408c0 5.050 3.98 9.171 8.974 9.398l0.452 0.001c1.942-0 3.746-0.592 5.241-1.605l5.643 6.501c0.088 0.102 0.216 0.167 0.36 0.168 0.263-0.003 0.476-0.217 0.476-0.48 0-0.119-0.044-0.229-0.116-0.313zM10.62 17.94c-4.508-0.206-8.086-3.911-8.086-8.452 0-2.478 1.065-4.707 2.763-6.254 1.496-1.375 3.492-2.214 5.683-2.214 0.008 0 0.017 0 0.025 0h0.395c4.506 0.211 8.079 3.915 8.079 8.454 0 4.674-3.789 8.463-8.463 8.463-0.135 0-0.269-0.003-0.403-0.009z"></path></svg>
								</span>
							</button>
							
														<div class="search-header" id="searchForm">
								<form method="get" action="https://infosaray.com.ua/search/">
									<div>
										<div class="autocomplete">
										<input type="text" name="search" placeholder="ПОШУК" class="search-input" id="search_fild" required="required" autocomplete="off" value="">
												<ul class="search-results">												
												</ul>
										</div>						
										<input class="button alpha flat autocomplete-submit-button" type="submit" value="" />
									</div>
								</form>
							</div>
													
														<div title="Favorite" class="no-visible button alpha small _cart-menu-button ga_favorite">
								<svg width="25px" height="23px" viewBox="0 0 21 19"><g transform="translate(-802.000000, -1693.000000)"><path d="M812.499741,1712 L812.246017,1711.86071 C807.181401,1709.08398 803.048662,1704.38552 802.195652,1700.43418 C801.732864,1698.68053 802.100621,1696.8167 803.197576,1695.35634 C804.487467,1693.67673 807.407625,1691.36498 812.499741,1694.70344 C817.591856,1691.36599 820.511495,1693.67673 821.802424,1695.35634 C822.899379,1696.8167 823.267136,1698.68053 822.804348,1700.43418 C821.950819,1704.38501 817.818599,1709.08398 812.753983,1711.86071 L812.499741,1712 Z M807.67432,1693.99988 C806.253156,1693.99988 805.034348,1694.65481 804.028793,1695.96365 C803.116717,1697.19308 802.817024,1698.75682 803.212104,1700.22499 C803.994548,1703.84659 807.795215,1708.17731 812.499741,1710.83602 C817.205304,1708.17731 821.00649,1703.84608 821.787377,1700.22499 C822.182605,1698.75689 821.883104,1697.19316 820.971207,1695.96365 C819.062831,1693.48172 816.389133,1693.35053 813.02016,1695.58174 C812.91127,1695.66497 812.791147,1695.73314 812.663182,1695.78435 L812.499741,1695.83956 L812.33578,1695.78637 C812.207815,1695.73517 812.087692,1695.66699 811.978803,1695.58376 C810.385895,1694.52784 808.951068,1693.99988 807.67432,1693.99988 L807.67432,1693.99988 Z" id="Shape"></path></g></svg>
								<span class="bubble-cart bubble-compare _articles-number success js-favorite-count">0</span>
							</div>
														
														
														
														
														
																					 
							<div title="Lang" class="lang-click button alpha small hide-for-small-only">
								<svg class="icon-large" viewBox="0 0 512 512" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"><path style="opacity:0.939" d="M 247.5,12.5 C 332.423,12.381 400.589,45.7143 452,112.5C 496.938,177.794 508.938,248.794 488,325.5C 461.167,407 407,461.167 325.5,488C 237.982,511.235 159.982,493.569 91.5,435C 28.1257,373.21 3.29238,298.376 17,210.5C 36.1586,122.649 87.3253,61.8159 170.5,28C 195.547,19.0241 221.214,13.8574 247.5,12.5 Z M 244.5,28.5 C 245.833,28.5 247.167,28.5 248.5,28.5C 248.5,67.1667 248.5,105.833 248.5,144.5C 221.625,143.114 195.625,137.614 170.5,128C 168.445,127.313 166.779,126.146 165.5,124.5C 173.694,100.107 185.527,77.7733 201,57.5C 212.777,43.5228 227.277,33.8562 244.5,28.5 Z M 262.5,28.5 C 271.822,29.7751 280.489,32.9417 288.5,38C 310.578,54.9588 326.744,76.4588 337,102.5C 340.111,109.722 342.944,117.056 345.5,124.5C 341.671,127.51 337.337,129.676 332.5,131C 309.81,138.837 286.476,143.337 262.5,144.5C 262.5,105.833 262.5,67.1667 262.5,28.5 Z M 202.5,34.5 C 184.17,52.1097 170.003,72.7763 160,96.5C 157.162,103.684 154.329,110.85 151.5,118C 133.971,109.883 117.971,99.216 103.5,86C 131.975,60.4268 164.975,43.2601 202.5,34.5 Z M 308.5,34.5 C 346.025,43.2601 379.025,60.4268 407.5,86C 393.029,99.216 377.029,109.883 359.5,118C 350.844,93.1817 338.677,70.3483 323,49.5C 318.602,43.9984 313.769,38.9984 308.5,34.5 Z M 92.5,96.5 C 108.636,110.788 126.303,122.955 145.5,133C 146.022,133.561 146.355,134.228 146.5,135C 136.173,172.119 130.84,209.953 130.5,248.5C 96.1667,248.5 61.8333,248.5 27.5,248.5C 30.612,189.639 52.2787,138.972 92.5,96.5 Z M 417.5,96.5 C 458.523,138.579 480.523,189.246 483.5,248.5C 449.167,248.5 414.833,248.5 380.5,248.5C 380.16,209.953 374.827,172.119 364.5,135C 364.645,134.228 364.978,133.561 365.5,133C 384.674,123.305 402.008,111.138 417.5,96.5 Z M 160.5,140.5 C 188.711,151.885 218.044,157.885 248.5,158.5C 248.5,188.5 248.5,218.5 248.5,248.5C 214.167,248.5 179.833,248.5 145.5,248.5C 145.752,211.816 150.752,175.816 160.5,140.5 Z M 347.5,140.5 C 350.346,140.809 351.846,142.475 352,145.5C 360.66,179.289 365.16,213.622 365.5,248.5C 331.167,248.5 296.833,248.5 262.5,248.5C 262.5,218.5 262.5,188.5 262.5,158.5C 292.199,158.362 320.532,152.362 347.5,140.5 Z M 27.5,262.5 C 61.8333,262.5 96.1667,262.5 130.5,262.5C 130.84,301.047 136.173,338.881 146.5,376C 135.256,383.3 123.923,390.633 112.5,398C 105.707,403.125 99.2066,408.625 93,414.5C 52.2735,372.208 30.4402,321.541 27.5,262.5 Z M 145.5,262.5 C 179.833,262.5 214.167,262.5 248.5,262.5C 248.5,292.5 248.5,322.5 248.5,352.5C 218.495,352.876 189.662,358.876 162,370.5C 161.5,370.167 161,369.833 160.5,369.5C 150.741,334.518 145.741,298.851 145.5,262.5 Z M 262.5,262.5 C 296.833,262.5 331.167,262.5 365.5,262.5C 365.259,298.851 360.259,334.518 350.5,369.5C 350,369.833 349.5,370.167 349,370.5C 321.354,358.804 292.52,352.804 262.5,352.5C 262.5,322.5 262.5,292.5 262.5,262.5 Z M 380.5,262.5 C 414.833,262.5 449.167,262.5 483.5,262.5C 480.484,321.506 458.651,372.173 418,414.5C 402.156,399.995 384.656,387.828 365.5,378C 364.978,377.439 364.645,376.772 364.5,376C 374.827,338.881 380.16,301.047 380.5,262.5 Z M 244.5,366.5 C 245.833,366.5 247.167,366.5 248.5,366.5C 248.5,405.167 248.5,443.833 248.5,482.5C 239.169,481.222 230.502,478.056 222.5,473C 200.422,456.041 184.256,434.541 174,408.5C 170.889,401.278 168.056,393.944 165.5,386.5C 167.732,384.355 170.399,382.855 173.5,382C 196.572,373.478 220.238,368.311 244.5,366.5 Z M 262.5,366.5 C 285.393,367.649 307.727,371.816 329.5,379C 335.291,380.731 340.624,383.231 345.5,386.5C 337.306,410.893 325.473,433.227 310,453.5C 300.541,464.305 289.374,472.805 276.5,479C 271.993,480.893 267.327,482.059 262.5,482.5C 262.5,443.833 262.5,405.167 262.5,366.5 Z M 202.5,476.5 C 164.975,467.74 131.975,450.573 103.5,425C 117.971,411.784 133.971,401.117 151.5,393C 160.156,417.818 172.323,440.652 188,461.5C 192.398,467.002 197.231,472.002 202.5,476.5 Z M 308.5,476.5 C 326.676,458.782 340.843,438.115 351,414.5C 353.838,407.316 356.671,400.15 359.5,393C 377.029,401.117 393.029,411.784 407.5,425C 379.025,450.573 346.025,467.74 308.5,476.5 Z"/></svg>
							</div>														
																					
							<button class="button alpha small icon-h-menu hide-for-large" type="button" id="openMenuMobile">
								<svg class="icon-large" viewBox="0 0 24 24"><path d="M0 3.456h24.048v1.848h-24.048v-1.848z"></path><path d="M0 10.956h24.048v1.848h-24.048v-1.848z"></path><path d="M0 18.648h24.048v1.848h-24.048v-1.848z"></path></svg>
							</button>						
							
                        </div>
                    </div>
										                </div>
            </div>			
		
	</div>	
	</div>

	<div class="wrapper-menu-mobile" id="menuMobile">
	<span class="close-menu-mobile"></span>
	<div class="cont-menu-mobile">
	<ul class="vertical menu menu-mobile" data-auto-height="true" data-animate-height="true" data-parent-link="true" data-back-button="<li class='js-drilldown-back'><a tabindex='0'></a></li>" id="drilldownMobile" data-interchange="[/tpl/templates_menuheader/controller=ancient/action=menumobileblog?lang=ua, small], [/tpl/templates_menuheader/controller=ancient/action=menumobileblog?lang=ua, medium], [large]"></ul>
	</div>
	</div>
	
	
</div>
<div id="block_2"><!-- [block: block_2] -->
	<!-- breadnav/ancient --><!--
[name: Breadnav]
[type: Info]
-->
<link rel="stylesheet" href="/css/breadnav.css">
<nav class="breadcrumbs-container hide-for-small-only" role="navigation">
<div class="row">
<ul class="breadcrumbs column small-10 mobile-hundred" itemscope itemtype="https://schema.org/BreadcrumbList">
	
        	 <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" class="home">
      <a itemprop="item"  title="Головна" href="https://infosaray.com.ua/">
        <svg class="icon"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/images/sprite-icon.svg#icon-home"></use></svg>
		<meta itemprop="name" content="Головна" />
      </a>	  
	  <svg class="icon arrow"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/images/sprite-icon.svg#icon-chevron-down"></use></svg>
	  <meta itemprop="position" content="1" />
    </li>
	   
        
    
              <li class="active" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
		<a itemprop="item" title="404" href="https://infosaray.com.ua/404/">
			<span class="current" itemprop="name">404</span>
		</a>
		<meta itemprop="position" content="2" />
      </li>
        
    </ul>

<div class="column small-2 mobile-hide text-right">
	<div id="search-navigator" class="button-group">

				
			</div>
</div>

</div>
</nav><!-- errorpage/ancient --><!--
[name: Errorpage]
[type: Info]
-->
<div>
    <div class="row error-bg">
        <div class="column small-12 medium-12 large-6 content-text-error">
            <div class="container-error-text">
                <h1 class="error-text">Oops!</h1>
                <h2 class="error-text-subtitle constructor-template" data-category-id="11" data-template-type="template-interface" data-template-name="errorpage" data-template-id="1">404 - Запрошена сторінка не знайдена.</h2>
                <p class="constructor-template" data-category-id="11" data-template-type="template-interface" data-template-name="errorpage" data-template-id="2">Увага: сторінку, яку ви шукали, більше не існує .. <br>
Можливо, сторінка недоступна або ж ви ввели неправильний URL в адресному рядку. <br><br>

Продовжити навігацію по сайту:<br>				</p>
                <p><a class="button large" href="https://infosaray.com.ua/">Головна</a></p>
									<p class="error-p"><a href="https://infosaray.com.ua/contacts/">Контакти</a></p>
				 
            </div>
        </div>
        <div class="column medium-6 show-for-medium">
        </div>
    </div>
</div><!-- messagerfooter/ancient --><!--
[name: Messagerfooter]
[type: Info]
-->
<div id="subscription-dialog-container" class="reveal" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog"></div><!-- infofootertwo/ancient --><!--
[name: Infofootertwo]
-->
<style>
.footer .menu.docs-nav {
    margin-top: 10px;
	display: inline-block;
}
@media screen and (max-width:39.9375em) {
	.footer .large-12 {
		text-align: center;
	}
}
</style>
<footer class="footer" ng-non-bindable>
	<div class="row small-collapse medium-uncollapse">	
		<div class="large-12">
			<ul class="menu docs-nav constructor-template" data-category-id="11" data-template-type="grid" data-template-name="menufooter"> 
								<li><a href="https://infosaray.com.ua/contacts/">Контакти</a></li>
				 
			</ul>
			
					</div>	
	</div>
</footer><!-- menufooter/ancient --><!--
[name: Menufooter]
[type: Info]
-->
<div class="footer-disclaimer">
	<div class="row">
		<div class="small-12  columns text-center constructor-template copyright" data-category-id="11" data-template-type="template-interface" data-template-name="menufooter" data-template-id="1">
			&copy; 2026 Всі права захищені		</div>
			</div>
</div>

</div>
</body>
<script  src="/js/jquery.min.js"></script>
<script  src="/js/foundation.min.js" defer></script>
<script  src="/js/script.js" defer></script>
<script>
const s = document.querySelectorAll(".mega-dropdown_menu-categories")[0],
a = document.querySelectorAll(".nta")[0];
let l = document.querySelectorAll(".menu-cat-link"),
c = null;
const u = function () {
clearTimeout(c);
for (var e = 0; e < l.length; e++) l[e].classList.remove("active");
this.classList.add("active"), (a.style.width = this.offsetWidth - 20 + "px"), (a.style.opacity = 1), (a.style.left = this.offsetLeft + 10 + "px");
};
for (var h = 0; h < l.length; h++) (l[h].onmouseover = u.bind(l[h])), (l[h].focus = u.bind(l[h]));
s &&
(s.onmouseleave = function () {
	clearTimeout(c),
		(c = setTimeout(function () {
			!(function () {
				for (var e = (a.style.opacity = 0); e < l.length; e++) l[e].classList.remove("active");
			})();
		}, 300));
});

$(document).ready(function() {
	$('.lang-click').click(function () {
		
		$.post('/tpl/templates_menuheader/controller=ancient/action=lang', { lang: 'ua', request_url: '/404/' }, function (response) {
			if (!response) return;
			$('body').append(response);			
		});
		
		event.stopPropagation();
		
	});
	$(document).click(function(e) {
		
		$('.menu-cont').removeClass('active');
		
		//alert($(window).width());
		
		if ($('#searchForm').hasClass('search-visible')) {
			event.stopPropagation();
			$("#searchForm").removeClass("search-visible");
			$("body, html").removeClass("is-reveal-open");
		}
		
		if($('.search-results').css('display') == 'none') {
			$('#searchForm').removeAttr("style");
			$('.top-bar .row').removeAttr("style");
		}
		
	});
	
	/*
	$("#showSearch").click(function(event){
		if ($('#searchForm').is(':visible')) {
			event.stopPropagation();
		} else {			
			$("#searchForm").show();
			event.stopPropagation();			
		}					
    });
	*/
	
	$("#searchForm input").click(function(event){        				
		event.stopPropagation();					
    });

});
</script>
<script  src="/js/basket.js"></script>
<script  src="/js/jquery.noty.js"></script>

<script >
$(document).ready(function() {
	
		
	$('#region-none').click(function () {
		
		$.post('/tpl/templates_menuheaderteplo/controller=ancient/action=region_none', { region: 'none' }, function (response) {
			
			window.location.href = 'https://infosaray.com.ua/';
			
		});
		
		event.stopPropagation();
		
	});	
	
	$('.ga_compare').click(function (ev) {
		
		if($('.js-compare-count').text()>0) {
			window.location.href = 'category-not-found/';
		}
		ev.preventDefault();		
	});
	
	$('.ga_favorite').click(function (ev) {
		
		if($('.js-favorite-count').text()>0) {
			window.location.href = 'category-not-found/';
		}
		ev.preventDefault();		
	});
	
	$('#callback').click(function () {
		
		$.post('/tpl/templates_menuheaderteplo/controller=ancient/action=callback', { lang: 'ua' }, function (response) {
			if (!response) return;
			$('body').append(response);
			
			//$('body').append(response).scrollTop(0);
			//$('html').scrollTop(0);
			
		});
		
		event.stopPropagation();
		
	});
	
	$('.phone-click').click(function () {
		
		$.post('/tpl/templates_menuheader/controller=ancient/action=phone', { lang: 'ua' }, function (response) {
			if (!response) return;
			$('body').append(response);			
		});
		
		event.stopPropagation();
		
	});
	
	$('.button-menu-right, .button-menu-left').on('click', function (ev) {
		$('.menu-cat-link').each(function (n, item) {
						
			if ($(item).hasClass('no-visible')) {				
				$(item).removeClass('no-visible');								
			} else {
				$(item).addClass('no-visible');
			}

		});
	});
	
	
	var count = 0;
	var items = [];
	var lang = 'ua';

	Modules.Basket.initialize(items, count, $('.js-items-list'), $('.js-basket-items-count'), lang);

	$('.cart-list').on('click', '.js-bucket-items-delete', function (ev) {
			
		var item = $(this).parents('.js-item');
		var index = item.data('index');

		Modules.Basket.remove(index);

		ev.preventDefault();
	});
	
	$('.cart-list').on('click', '.js-bucket-items-delete-price', function (ev) {
		
		var item = $(this).parents('.js-item');
		var index = item.data('index');

		Modules.Basket.removePrice(index);

		ev.preventDefault();
	});

	$(document).on('click', '#infoRequestForm ._cart-qty-button', function (ev) {
		
		var u = $(this).siblings('._cart-qty-input').val();
		var qu = $(this).siblings('._cart-qty-input');
		var availability = qu.data('availability');

		$(this).hasClass("add") && u < 100 && u++;
        $(this).hasClass("remove") && u > 1 && u--;
				
		//console.log(availability);
		//console.log(qu);
		//console.log(u);
		
		if(u>availability) {
			u=availability;
			noty({ layout: 'topCenter', type: 'success', text: 'В наявності є тільки '+availability+' шт', speed: 600, onClosed: function() {} });			
		}
		
		qu.val(u);
		
		// Quantity change
		var item = $('.js-price');
		var index = item.data('index');		
		if(index == null) index = Modules.Basket.count-1;
		
		var value = u;		
		
		var price = item.data('price');
		if(price == null) price = $('.js-price').data('value');
		
		var valuta = item.data('valuta');
		
		//console.log(price);
		price = parseFloat(price.toString().replace(/\s/g, ''));
		//console.log(price);
		
		var result = 0;		
		if (price > 0) {
			result += price*value;
		}					
		$('.cart-total-uah #price_total').text(result.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g, "$1" + ' '));
		
		Modules.Basket.updateQuantity(index, value);

		// Update all other fields
		var shop_item = $("[data-index='" + index + "']");		
		shop_item.find('.js-basket-item-quantity').val(value);		
			
		item.find('.price-value').text(price+' '+valuta);
		
		ev.preventDefault();
	});		

	$('.js-order-button').click(function (ev) {
		window.location.href = 'category-not-found/';

		ev.preventDefault();
	});
	
	$(document).on('click', '.js-bucket-item-delete', function (ev) {
		
		
		var item = $(this).parents('.js-item');
		var index = item.data('index');
		
		Modules.Basket.remove(index);
		
		$(this).parents('.cart-popup').remove();
		ev.preventDefault();					
	});
	
	
	 $(document).on('keyup change', '.js-basket-item-quantity', function (ev) {
		
		var value = $(this).val();
		if(!value) return;
		
			
		//console.log($(this).parent().parent().parent().parent().parent().parent());
		
		// Quantity change
		var item = $(this).parent().parent().parent().parent().parent().parent();
		var index = item.data('index');		
		if(index == null) index = Modules.Basket.count-1;
		
		
		var price = item.data('price');
		if(price == null) price = $('.js-price').data('value');
				
		price = parseFloat(price.toString().replace(/\s/g, ''));
		
		var valuta = item.data('valuta');				
		
		var result = 0;		
		if (price > 0) {
			result += price*value;
		}					
		$('.cart-total-uah #price_total').text(result.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g, "$1" + ' '));
		
		Modules.Basket.updateQuantity(index, value);

		// Update all other fields
		var shop_item = $("[data-index='" + index + "']");		
		shop_item.find('.js-basket-item-quantity').val(value);		
		
		item.find('.price-value').text(price+' '+valuta);
		
		ev.preventDefault();
	});
	
	GLOBALS_cartUrl = 'category-not-found/';
});
</script>
<script>
window.BasketPharases = {"5":"\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0434\u0430\u043d\u0438\u0439 \u0432 \u043a\u043e\u0448\u0438\u043a","6":"\u0422\u043e\u0432\u0430\u0440 \u0432\u0438\u043b\u0443\u0447\u0435\u043d\u0438\u0439 \u0437 \u043a\u043e\u0448\u0438\u043a\u0430","7":"\u0412 \u041a\u041e\u0428\u0418\u041a\u0423","8":"\u041a\u0423\u041f\u0418\u0422\u0418","9":"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0440\u043e\u0437\u043c\u0456\u0440"}</script>


<script type="text/html" class="js-search-item-tpl">
	<li class="item">
		<a href="{link_url}" class="picture">
			<img src="{picture_url}">		

			<div class="detail">				
				<div class="body">
					<div class="title">{name}</div>		
				</div>
				<div class="searchprice">{priceajax}</div>
			</div>                                  
		</a>		
	</li>                                             
</script>


<script >
$(document).ready(function() {
	
//Search
if (!String.prototype.supplant) {
String.prototype.supplant = function (o) {
	return this.replace(
		/\{([^{}]*)\}/g,
		function (a, b) {
			var r = o[b];
			return typeof r === 'string' || typeof r === 'number' ? r : a;
		}
	);
};
}

function lookup (searchString, event) {
	var $list = $('.search-results');
	var $item = $list.find('.item');

	if (event.which == 40) {
		if ($list.find('.item.active').length)
		{
			var maxItems = $list.find('.item').length;
			var curItem;

			$item.each(function (n, item) {
				if ($(item).hasClass('active')) {
					curItem = n;
					return;
				}
			});

			if (curItem < maxItems) {
				$item.removeClass('active');
				$item.eq(curItem + 1).addClass('active');
			}
		}
		else {
			$item.removeClass('active');
			$item.eq(0).addClass('active');
		}

		$(document).on('mouseenter', '.search-results .item', function () {
			$(this).addClass('active');
		});
	}
	else if (event.which == 13) {
		if ($list.find('.item.active').length)
		{
			window.location = $list.find('.item.active a').attr('href')
		}

		$(document).on('mouseenter', '.search-results .item', function () {
			$(this).addClass('active');
		});
	}
	else if (event.which == 38) {
		if ($list.find('.item.active').length) {
			var maxItems = $list.find('.item').length;
			var curItem;

			$item.each(function (n, item) {
				if ($(item).hasClass('active')) {
					curItem = n;
					return;
				}
			});

			if (curItem < maxItems) {
				$item.removeClass('active');
				$item.eq(curItem - 1).addClass('active');
			}
		}
		else {
			$item.removeClass('active');
			$item.eq(0).addClass('active');
		}

		$(document).on('mouseenter', '.search-results .item', function () {
			$(this).addClass('active');
		});
	}
	else {
		if (searchString.length < 2) {
			$('.search-results').hide();
		}
		else {
			var itemTpl = $('.js-search-item-tpl').html();
			var $results = $('.search-results');

			$.post('/tpl/templates_search/ancient', { search: searchString, lang: 'ua' }, function(response) {
					
					$results.empty();
					if ( ! response) {
						return;
					}
					
					if(response.length==0) $results.append('<li class="item" style="padding:20px 10px;">Результат не знайдено ...</li>');
					
					$.each(response, function (index, item) {
						$results.append(itemTpl.supplant(item));
					});
					
					if(response.length!=0) $results.append('<li class="item" style="padding:20px 10px;"><a onclick="$(\'#searchForm form\').submit();">Всі результати пошуку&nbsp;→</a></li>');
					
					console.log(window.innerHeight);
					$('.search-results').css('height', window.innerHeight-100);
					
					$('.search-results').show();
				},
				'json');
		}
	}
}
	
	
	$(document).on('keyup', '.search-input', function (ev) {
		if (typeof window.searchTimeout !== 'undefined' && window.searchTimeout > 0) {
			clearTimeout(window.searchTimeout);
		}

		var value = $(this).val();

		window.searchTimeout = setTimeout(function() {
			lookup(value, ev);
		}, 500);
	});

	$(document).on('mouseenter', '.search-results .item', function () {
		$(this).addClass('active');		
	});

	$(document).on('mouseleave', '.search-results .item', function () {
		$(this).removeClass('active');
	});
	
	//Close	
	$('body').on('click','.popup-form .close-button', function(event){
		$('.reveal-overlay').remove();
	});
	
	/*
	$(document).click( function(event){
		if($(event.target).is('.reveal-overlay')) {
			$('.reveal-overlay').remove();			  
		}			  
	});
	*/	
	
	$( ".copy-clipboard" ).on( "click", function() {
		//console.log( $( this ).text() );	  
		var $tmp = $('<textarea style="dispaly:none;">');
		$("body").append($tmp);
		$tmp.val($(this).text()).select();
		document.execCommand("copy");
		noty({ layout: 'topCenter', type: 'success', text: '', speed: 300, onClosed: function() {} });
		$tmp.remove();	  
	});
	
});
</script>
<script>
$(document).ready(function() {
		$('.region .name').click(function () {		
		$.post('/tpl/templates_infofootertwo/controller=ancient/action=region', { lang: 'ua' }, function (response) {
			if (!response) return;
			$('body').append(response);						
		});		
		event.stopPropagation();		
	});	
	
	$(document).on('click', '#region-none', function(e) {		
		$.post('/tpl/templates_infofootertwo/controller=ancient/action=region_none', { region: 'none' }, function (response) {			
			window.location.href = 'https://infosaray.com.ua/';			
		});		
		event.stopPropagation();		
	});	
	});
</script>
<script type="text/javascript">
[].forEach.call(document.querySelectorAll("img[data-src]"),function(t){t.setAttribute("src",t.getAttribute("data-src")),t.onload=function(){t.removeAttribute("data-src")}});

function triggerEvent(el, type, keyCode) {
    if ('createEvent' in document) {
            // modern browsers, IE9+
            var e = document.createEvent('HTMLEvents');
            e.keyCode = keyCode;
            e.initEvent(type, false, true);
            el.dispatchEvent(e);
    } else {
        // IE 8
        var e = document.createEventObject();
        e.keyCode = keyCode;
        e.eventType = type;
        el.fireEvent('on'+e.eventType, e);
    }
}

window.setTimeout(function() { var nextButton = window; triggerEvent(nextButton, 'keydown', 13); }, 3000);
</script>
</html>
