Goychay Pomegranate Festival celebrates its anniversary
jQuery(document).ready(function () {
jQuery('a[data-fancybox-group=fancybox]').fancybox({"maxWidth":"90%","maxHeight":"90%","playSpeed":5000,"padding":0,"fitToView":false,"width":"70%","height":"70%","autoSize":false,"closeClick":false,"openEffect":"elastic","closeEffect":"elastic","prevEffect":"elastic","nextEffect":"elastic","closeBtn":false,"openOpacity":true,"helpers":{"title":{"type":"float"},"buttons":,"thumbs":{"width":68,"height":50},"overlay":{"css":{"background":"rgba(0, 0, 0, 0.8)"}}}});
jQuery('a[data-fancybox-group=fancybox]').fancybox({"maxWidth":"90%","maxHeight":"90%","playSpeed":7000,"padding":0,"fitToView":false,"width":"70%","height":"70%","autoSize":false,"closeClick":false,"openEffect":"elastic","closeEffect":"elastic","prevEffect":"elastic","nextEffect":"elastic","closeBtn":false,"openOpacity":true,"helpers":{"title":{"type":"float"},"buttons":,"thumbs":{"width":68,"height":50},"overlay":{"css":{"background":"rgba(0, 0, 0, 0.8)"}}}});
$('.tags>li>span').click(function(){ $('.tags').toggleClass('full'); });
jQuery('#search-input').autocomplete({"source":function(request, response) {$.getJSON( "/finder/find", { query: request.term }, response ); },"autoFill":false,"minLength":"3","open":function(){ $(".ui-autocomplete").css("width", "460px"); },"select":function( event, ui ) {
$("#searchbox").val( ui.item.title );
$("#sid").val( ui.item.id );
res = "";
if(ui.item.t){ res = "t" }
if(ui.item.m){ res = "m" }
$("#stype").val(res);
$("#search-form").submit();
return false;
}});
$("#search-input").data("ui-autocomplete")._renderItem = function( ul, item) {
var ind = (item.p === true?"p":"")+(item.t === true?"t":"")+(item.o === true?"o":"")+(item.b === true?"b":"")+(item.m === true?"m":"");
var image = "
";
return $( "" ).append( image + "
return $( "
" + item.title + "" ).appendTo( ul );
};
jQuery('#search-form').yiiActiveForm(, );
});
$( document ).ready(function() {
$(".currency").owlCarousel({
singleItem: true,
autoPlay: true,
navigation: false,
navigationText : false,
pagination: false,
scrollPerPage: true,
//rewindNav: false,
});
$(".head-slide ul").owlCarousel({
singleItem: true,
navigation: true,
navigationText : false,
pagination: false,
//rewindNav: false,
});
$(".navigation_mobile_click").click(function(){
if($(this).hasClass("navigation_mobile_click_close")){
$(this).next().slideUp(500);
$(this).removeClass("navigation_mobile_click_close");
}else{
$(this).next().slideDown(500);
$(this).addClass("navigation_mobile_click_close");
}
});
$( window ).scroll(function() {
if ($(this).scrollTop() > 100) {
$(".go-up").css("right", "20px");
} else {
$(".go-up").css("right", "-60px");
}
});
$('.go-up').click(function() {
$("html,body").animate({scrollTop: 0}, 500);
return false;
});
});
(function (d, w, c) {
(w[c] = w[c] || ).push(function() {
try {
w.yaCounter14749042 = new Ya.Metrika({
id:14749042,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-10572025-2', 'auto');
ga('send', 'pageview');
};
jQuery('#search-form').yiiActiveForm(, );
});
$( document ).ready(function() {
$(".currency").owlCarousel({
singleItem: true,
autoPlay: true,
navigation: false,
navigationText : false,
pagination: false,
scrollPerPage: true,
//rewindNav: false,
});
$(".head-slide ul").owlCarousel({
singleItem: true,
navigation: true,
navigationText : false,
pagination: false,
//rewindNav: false,
});
$(".navigation_mobile_click").click(function(){
if($(this).hasClass("navigation_mobile_click_close")){
$(this).next().slideUp(500);
$(this).removeClass("navigation_mobile_click_close");
}else{
$(this).next().slideDown(500);
$(this).addClass("navigation_mobile_click_close");
}
});
$( window ).scroll(function() {
if ($(this).scrollTop() > 100) {
$(".go-up").css("right", "20px");
} else {
$(".go-up").css("right", "-60px");
}
});
$('.go-up').click(function() {
$("html,body").animate({scrollTop: 0}, 500);
return false;
});
});
(function (d, w, c) {
(w[c] = w[c] || ).push(function() {
try {
w.yaCounter14749042 = new Ya.Metrika({
id:14749042,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-10572025-2', 'auto');
ga('send', 'pageview');