' + $('
').html(item.value[index].Yazar.substring(0, item.value[index].Yazar.length - 1)).text().replace('
';\n } else if (urunadi == 'YayineviAra') {\n yayinevleri += '
';\n\n\n } else {\n\n\n kitaplar += '
' + item.value[index].PRICE + ' TL
';\n\n\n\n\n\n\n }\n\n\n\n });\n\n if (kitaplar != \"\") {\n $(ul).append('' + kitaplar);\n\n }\n if (yazarlar != \"\") {\n $(ul).append('' + yazarlar);\n }\n if (yayinevleri != \"\") {\n $(ul).append('' + yayinevleri);\n\n }\n\n\n\n\n\n\n $(ul).append('
');\n};\n\nfunction gotur(url) {\n window.location.href = url;\n}\n\nfunction TumunuGoster() {\n if ($.trim($(\"#txtArama\").val()).length == 13 & parseFloat($.trim($(\"#txtArama\").val())) > 0) {\n window.location.href = '/Istem/Urun/Detay.aspx?Barcode=' + $.trim($(\"#txtArama\").val());\n } else {\n window.location.href = '/Istem/Urun/Listele.aspx?ara=' + $(\"#txtArama\").val() + '&yazar=0&yayinEvi=0&ilk=1';\n }\n}\n\n//$(window).resize(function () {\n// var width = $(window).width();\n// if (width < 768) {\n// $(\"#filtrecollapse\").removeClass(\"in\")\n// }\n// else {$(\"#filtrecollapse\").addClass(\"in\")}\n//});\n$(document).ready(function () {\n var width = $(window).width();\n if (width < 768) {\n $(\"#filtrecollapse\").removeClass(\"in\")\n } else {\n $(\"#filtrecollapse\").addClass(\"in\")\n }\n})\n\nfunction Sayfakapat() {\n\n $(\"#spnurunbekleyenadet\").val(\"\");\n $(\"#spnurunfaturalananadet\").val(\"\");\n $('#divGiris').bPopup().close();\n\n return false;\n}\n\nfunction SepeteEklekontrol(urunId, barkod, ithalat, birimfiyat, indirimli, kdv, birim, indirim1, txtAdet1, kimyazdi) {\n Sayfakapat();\n\n\n\n return false;\n}\n\nfunction popupAc() {\n $('#divGiris').bPopup({\n appendTo: 'form',\n zIndex: 999,\n modalClose: true\n });\n}\n$(document).ready(function () {\n $('[data-toggle=\"popover\"]').popover();\n});\n\n$(document).on(\"change\", \"[id ^= filter1]\", function (e) {\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=9428&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=0&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= filter2]\", function (e) {\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=9427&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=0&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= chcders]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + (getParameterByName(\"dersId\") == \"0\" ? valuee + ',' : getParameterByName(\"dersId\") + valuee + ',') + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?ders=' + (getParameterByName(\"dersId\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"dersId\").replace(valuee + ',', '')) + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= chcsinif]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + (getParameterByName(\"sinif\") == \"0\" ? valuee + ',' : getParameterByName(\"sinif\") + valuee + ',') + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + (getParameterByName(\"sinif\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"sinif\").replace(valuee + ',', '')) + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n\n$(document).on(\"change\", \"[id ^= chcyazar]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + (getParameterByName(\"yazar\") == \"0\" ? valuee + ',' : getParameterByName(\"yazar\") + valuee + ',') + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + (getParameterByName(\"yazar\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"yazar\").replace(valuee + ',', '')) + '';\n }\n\n }\n });\n\n\n});\n","$(document).ready(function () {\n $('.expandable-header').click(function (e) {\n e.preventDefault();\n\n var $header = $(this);\n var $content = $header.nextAll('.expandable-content');\n\n if ($content.is(':visible')) {\n $content.slideUp('fast');\n } else {\n $content.slideDown('fast');\n }\n });\n});\n","$('.menu .link').bind('click', function (e) {\n e.preventDefault();\n $('.user-info').removeClass('active');\n if ($(this).parent().hasClass('active')) {\n $(this).parent().removeClass('active');\n } else {\n $(this).parent().addClass('active');\n }\n})\n\n$('.user-info .link').bind('click', function (e) {\n e.preventDefault();\n $('.menu').removeClass('active');\n if ($(this).parent().hasClass('active')) {\n $(this).parent().removeClass('active');\n } else {\n $(this).parent().addClass('active');\n }\n})\n","$('.orders .item').not('.order-close').bind('click', function (e) {\n $('.orders .item').removeClass('active');\n $(this).addClass('active');\n});\n\n$('.order-modal .order-close').bind('click', function (e) {\n $('.orders .item').removeClass('active');\n e.stopPropagation();\n});\n","// on document ready\r\n(function($){\r\n\t\"use strict\";\r\n\r\n\tvar globalDfd = $.Deferred();\r\n\t$(window).bind('load',function(){\r\n\t\t// after loading all the scripts\r\n\t\tglobalDfd.resolve();\r\n\t});\r\n\r\n\t$(function(){\r\n\r\n\t$.fx.speeds._default = 500;\r\n\r\n\t// open dropdown\r\n\r\n\t$.fn.css3Animate = function(element){\r\n\t\treturn $(this).on('click',function(e){\r\n\t\t\tvar dropdown = element;\r\n\t\t\t$(this).toggleClass('active');\r\n\t\t\te.preventDefault();\r\n\t\t\tif(dropdown.hasClass('opened')){\r\n\t\t\t\tdropdown.removeClass('opened').addClass('closed');\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tdropdown.removeClass('closed')\r\n\t\t\t\t},500);\r\n\t\t\t}else{\r\n\t\t\t\tdropdown.addClass('opened');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\t$('#lang_button').css3Animate($('#lang_button').next('.dropdown_list'));\r\n\t$('#currency_button').css3Animate($('#currency_button').next('.dropdown_list'));\r\n\r\n\t// waypoints helper functions\r\n\r\n\t$.fn.waypointInit = function(classN,offset,delay,inv){\r\n\t\treturn $(this).waypoint(function(direction){\r\n\t\t\tvar current = $(this);\r\n\t\t\tif(direction === 'down'){\r\n\t\t\t\tif(delay){\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\tcurrent.addClass(classN);\r\n\t\t\t\t\t},delay);\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tcurrent.addClass(classN);\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n \tif(inv == true){\r\n current.removeClass(classN);\r\n \t}\r\n }\r\n\t\t},{ offset : offset })\r\n\t};\r\n\r\n\t// synchronise\r\n\r\n\t$.fn.waypointSynchronise = function(config){\r\n\t\tvar element = $(this);\r\n\t\tfunction addClassToElem(el,eq){\r\n\t\t\tel.eq(eq).addClass(config.classN);\r\n\t\t}\r\n\t\telement.closest(config.container).waypoint(function(direction){\r\n\t\t \telement.each(function(i){\r\n\t\t\t\tif(direction === 'down'){\r\n\r\n\t\t \t\t\tif(config.globalDelay != undefined){\r\n\t\t \t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\t\taddClassToElem(element,i);\r\n\t\t \t\t\t\t\t},i * config.delay);\r\n\t\t \t\t\t\t},config.globalDelay);\r\n\t\t \t\t\t}else{\r\n\t\t \t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\taddClassToElem(element,i)\r\n\t\t \t\t\t\t},i * config.delay);\r\n\t\t \t\t\t}\r\n\r\n\t\t\t\t}else{\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(config.inv){\r\n\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\telement.eq(i).removeClass(config.classN);\r\n\t\t\t\t\t\t},i * config.delay);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},{ offset : config.offset });\r\n\t\treturn element;\r\n\t};\r\n\r\n\t// animation main page\r\n\r\n\t(function(){\r\n\t\tglobalDfd.done(function(){\r\n\t\t$('.products_container:not(.a_type_2) .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.products_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.products_container.a_type_2 .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.products_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.wfilter_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.wfilter_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.bestsellers_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.bestsellers_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tglobalDelay : 400,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.banner_type_2[class*=\"animate_ft\"]').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 800,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.animate_half_tc').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 0,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.heading2').waypointInit('animate_sj_finished animate_fade_finished','800px');\r\n\t\t$('.nav_buttons_wrap.animate_fade').waypointInit('animate_sj_finished animate_fade_finished','800px');\r\n\t\t$('.product_brands a.animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.product_brands',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_sj_finished animate_fade_finished\"\r\n\t\t});\r\n\t\t$('.blog_carousel a.photoframe').waypointSynchronise({\r\n\t\t\tcontainer : '.blog_animate.animate_ftr',\r\n\t\t\tdelay : 0,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.blog_carousel .mini_post_content > .animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.blog_animate.animate_ftr',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.blog_animate.animate_ftr').waypointInit('animate_horizontal_finished','800px');\r\n\t\t$('.ti_animate.animate_ftr').waypointInit('animate_horizontal_finished','800px',1000);\r\n\t\t$('.testiomials_carousel .animate_ftr:first').waypointInit('animate_horizontal_finished','851px',1200);\r\n\t\t$('.testiomials_carousel .animate_ftr:nth-child(2)').waypointInit('animate_horizontal_finished','973px',1400);\r\n\t\t$('.testiomials_carousel .animate_ftr:nth-child(3)').waypointInit('animate_horizontal_finished','987px',1600);\r\n\t\t$('.heading1.animate_ftr').waypointInit('animate_horizontal_finished','1000px');\r\n\t\t$('.isotope_menu > li.animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.isotope_menu',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 1000,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.flexslider.animate_ftr').waypointInit('animate_horizontal_finished','1000px');\r\n\t\tsetTimeout(function(){\r\n\t\t\t$('.s_banners .d_block.animate_ftr').waypointSynchronise({\r\n\t\t\t\tcontainer : '.s_banners',\r\n\t\t\t\tdelay : 300,\r\n\t\t\t\toffset : 830,\r\n\t\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t\t});\r\n\t\t},200);\r\n\t\t$('.widget.animate_ftr').waypointInit('animate_horizontal_finished','800px',200);\r\n\t\t$('.heading5').waypointInit('animate_horizontal_finished','800px');\r\n\t\t$('.banner.animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 1000,\r\n\t\t\tglobalDelay : 800,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.nc_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.nc_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.info_blocks_container .animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.info_blocks_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.our_recent_work_carousel .animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.our_recent_work_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.p_tables .animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.p_tables',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_fade_finished\"\r\n\t\t});\r\n\t\t$('.animate_corporate_container .animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.animate_corporate_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_fade_finished\"\r\n\t\t});\r\n\t\t\r\n\t\t// sticky menu\r\n\r\n\t\twindow.sticky = function(){\r\n\t\t\tvar container = $('[role=banner] .h_bot_part'),\r\n\t\t\t\toffset = container.closest('[role=\"banner\"]').hasClass('type_5') ? 0 : -container.outerHeight(),\r\n\t\t\t\tmenu = $('.menu_wrap'),\r\n\t\t\t\tmHeight = menu.outerHeight();\r\n\t\t\t\t//console.log(mHeight);\r\n\t\t\tcontainer.waypoint(function(direction){\r\n\t\t\t\tvar _this = $(this);\r\n\t\t\t\tif(direction == \"down\"){\r\n\t\t\t\t\tmenu.addClass('sticky');\r\n\t\t\t\t\tcontainer.parent('[role=\"banner\"]').css('border-bottom',mHeight + \"px solid transparent\");\r\n\t\t\t\t}else if(direction == \"up\"){\r\n\t\t\t\t\tmenu.removeClass('sticky');\r\n\t\t\t\t\tcontainer.parent('[role=\"banner\"]').css('border-bottom','none');\r\n\t\t\t\t}\r\n\t\t\t},{offset : offset});\r\n\r\n\t\t\tfunction getMenuWidth(){\r\n\t\t\t\tif(menu.hasClass('type_2')){\r\n\t\t\t\t\tmenu.css('width',menu.parent().width());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetMenuWidth();\r\n\t\t\t$(window).on('resize',getMenuWidth);\r\n\t\t};\r\n\t\tsticky();\r\n\r\n\t\t});\r\n\t})();\r\n\r\n\t// jackbox\r\n\r\n\t(function(){\r\n\r\n\t\tif($(\".jackbox[data-group]\").length){\r\n\t\t\tjQuery(\".jackbox[data-group]\").jackBox(\"init\",{\r\n\t\t\t\t showInfoByDefault: false,\r\n\t\t\t\t preloadGraphics: true, \r\n\t\t\t\t fullscreenScalesContent: true,\r\n\t\t\t\t autoPlayVideo: true,\r\n\t\t\t\t flashVideoFirst: false,\r\n\t\t\t\t defaultVideoWidth: 960,\r\n\t\t\t\t defaultVideoHeight: 540,\r\n\t\t\t\t baseName: \".jackbox\",\r\n\t\t\t\t className: \".jackbox\",\r\n\t\t\t\t useThumbs: true,\r\n\t\t\t\t thumbsStartHidden: false,\r\n\t\t\t\t thumbnailWidth: 75,\r\n\t\t\t\t thumbnailHeight: 50,\r\n\t\t\t\t useThumbTooltips: true,\r\n\t\t\t\t showPageScrollbar: false,\r\n\t\t\t\t useKeyboardControls: true \r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// remove products from shopping cart\r\n\t\r\n\t$('[role=\"banner\"]').on('click','.close_product',function(){\r\n\t\t$(this).closest('li').animate({'opacity':'0'},function(){\r\n\t\t\t$(this).slideUp(500);\r\n\t\t});\r\n\t});\r\n\r\n\t// searchform\r\n\r\n\t(function(){\r\n\t\t$('[role=\"banner\"]').on('click','.search_button',function(){\r\n\t\t\t$('.searchform_wrap').addClass('opened');\r\n\t\t});\r\n\t\t$('[role=\"banner\"]').on('click','.close_search_form',function(){\r\n\t\t\t$('.searchform_wrap').removeClass('opened').addClass('closed');\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\t$('.searchform_wrap').removeClass('closed');\r\n\t\t\t},400)\r\n\t\t});\r\n\t})();\r\n\r\n\t// ie9 placeholder\r\n\r\n\t(function(){\r\n\t\tif($('html').hasClass('ie9')) {\r\n\t\t\t$('input[placeholder]').each(function(){\r\n\t\t\t\t$(this).val($(this).attr('placeholder'));\r\n\t\t\t\tvar v = $(this).val();\r\n\t\t\t\t$(this).on('focus',function(){\r\n\t\t\t\t\tif($(this).val() === v){\r\n\t\t\t\t\t\t$(this).val(\"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}).on(\"blur\",function(){\r\n\t\t\t\t\tif($(this).val() == \"\"){\r\n\t\t\t\t\t\t$(this).val(v);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\t\r\n\t\t}\r\n\t})();\r\n\r\n\t// revolution slider\r\n\r\n\tif($('.r_slider').length){\r\n\t var api = $('.r_slider').revolution({\r\n\t delay:5000,\r\n\t startwidth:1140,\r\n\t startheight:500,\r\n\t autoHeight:\"off\",\r\n\t fullScreenAlignForce:\"off\",\r\n\t \r\n\t onHoverStop:\"on\",\r\n\t \r\n\t thumbWidth:100,\r\n\t thumbHeight:50,\r\n\t thumbAmount:3,\r\n\t \r\n\t hideThumbsOnMobile:\"off\",\r\n\t hideBulletsOnMobile:\"off\",\r\n\t hideArrowsOnMobile:\"off\",\r\n\t hideThumbsUnderResoluition:0,\r\n\r\n\t \t\t hideTimerBar:\"on\",\r\n\t hideThumbs:0,\r\n\t \r\n\t navigationType:\"bullet\",\r\n\t navigationArrows:\"solo\",\r\n\t navigationStyle:\"round\",\r\n\t \r\n\t navigationHAlign:\"center\",\r\n\t navigationVAlign:\"bottom\",\r\n\t navigationHOffset:0,\r\n\t navigationVOffset:15,\r\n\t \r\n\t soloArrowLeftHalign:\"left\",\r\n\t soloArrowLeftValign:\"center\",\r\n\t soloArrowLeftHOffset:40,\r\n\t soloArrowLeftVOffset:0,\r\n\t \r\n\t soloArrowRightHalign:\"right\",\r\n\t soloArrowRightValign:\"center\",\r\n\t soloArrowRightHOffset:40,\r\n\t soloArrowRightVOffset:0,\r\n\t \r\n\t \r\n\t touchenabled:\"on\",\r\n\t \r\n\t stopAtSlide:-1,\r\n\t stopAfterLoops:-1,\r\n\t hideCaptionAtLimit:0,\r\n\t hideAllCaptionAtLilmit:0,\r\n\t hideSliderAtLimit:0,\r\n\t \r\n\t dottedOverlay:\"none\",\r\n\t \r\n\t fullWidth:\"off\",\r\n\t forceFullWidth:\"off\",\r\n\t fullScreen:\"off\",\r\n\t fullScreenOffsetContainer:\"#topheader-to-offset\",\r\n\t \r\n\t shadow:0\r\n\t \r\n\t });\r\n\t\tapi.bind(\"revolution.slide.onloaded\",function (e,data) {\r\n\t\t var container = $('.revolution_slider');\r\n\t\t container.find('.tp-leftarrow').append('
');\r\n\t\t container.find('.tp-rightarrow').append('
');\r\n\t\t // $('.tp-leftarrow,.tp-rightarrow').fadeIn(1500);\r\n\r\n\t\t // create custom thumbs\r\n\r\n\t\t \t(function(){\r\n\t\t \t\tvar image = $('.r_slider [data-custom-thumb]'),\r\n\t\t \t\t\tlen = image.length,\r\n\t\t \t\t\tbullet = $('.tp-bullets .bullet');\r\n\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t \t\t\tbullet.eq(i).append('
');\r\n\t\t \t\t}\r\n\t\t \t})();\r\n\r\n\t\t\t$('.tp-bullets .bullet').each(function(){\r\n\t\t\t\tvar curr = $(this);\r\n\t\t\t\tcurr.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t\t\tcurr.children('.custom_thumb').toggleClass('active')\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t}\r\n\r\n\t// carousel with filter\r\n\t\r\n\t(function(){\r\n\r\n\t\tvar cwf = $('.wfilter_carousel'),\r\n\t\t\tprev = $('.wfilter_prev'),\r\n\t\t\tnext = $('.wfilter_next'),\r\n\t\t\tfilter = $('[data-carousel-filter]'),\r\n\t\t\telements = [],\r\n\t\t\titem = cwf.find('.photoframe'),\r\n\t\t\tlen = item.length;\r\n\r\n\t\tif(cwf.length){\r\n\r\n\t\t\tvar cf = cwf.owlCarousel({\r\n\t\t\t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t\t});\r\n\r\n\t\t \tprev.on('click',function(){\r\n\t\t \t\tcf.trigger('owl.prev');\r\n\t\t \t});\r\n\t\t \tnext.on('click',function(){\r\n\t\t \t\tcf.trigger('owl.next');\r\n\t\t \t});\r\n\r\n\t\t \tfor(var i = 0; i < len; i++){\r\n\t\t \t\telements.push(item.eq(i)[0].outerHTML);\r\n\t\t \t}\r\n\t\t \t\r\n\r\n\t\t \tfilter.on('click','li',function(){\r\n\t\t \t\tvar\tself = $(this),\r\n\t\t \t\t\tactiveElem = self.children('[data-filter]').data('filter');\r\n\t\t \t\tcwf.addClass('changed').find('.owl-wrapper').animate({\r\n\t\t \t\t\topacity : 0\r\n\t\t \t\t},function(){\r\n\t\t \t\t\tvar s = $(this);\r\n\t\t \t\t\tcwf.children().remove();\r\n\t\t \t\t\tif(activeElem == \"*\"){\r\n\t\t \t\t\t\t$.each(elements,function(i,v){\r\n\t\t \t\t\t\t\tcwf.append(v);\r\n\t\t\t \t\t\t});\r\n\t\t \t\t\t}else{\r\n\t\t\t \t\t\t$.each(elements,function(i,v){\r\n\t\t\t \t\t\t\tif(v.indexOf(activeElem) !== -1){\r\n\t\t\t \t\t\t\t\tcwf.append(v);\r\n\t\t\t \t\t\t\t}\r\n\t\t\t \t\t\t});\r\n\t\t \t\t\t}\r\n\t\t \t\t\tcwf.data('owlCarousel').destroy();\r\n\t\t \t\t\tcwf.owlCarousel({\r\n\t\t \t\t\t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t\t\t \t\tautoPlay : false,\r\n\t\t\t\t \t\tslideSpeed : 1000,\r\n\t\t\t\t \t\tautoHeight : true,\r\n\t\t\t\t \t\tafterInit: function(){\r\n\t\t\t\t \t\t\tcwf.addClass('no_children_animate');\r\n\t\t\t\t \t\t}\r\n\t\t \t\t\t});\r\n\t\t \t\t\t$(window).trigger('resize');\r\n\t\t \t\t});\r\n\t\t \t\tself.closest('li').addClass('active').siblings().removeClass('active');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// bestsellers carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar bsc = $('.bestsellers_carousel');\r\n\t\tif(bsc.length){\r\n\t\t\tvar bs = bsc.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.bestsellers_prev').on('click',function(){\r\n\t\t \t\tbs.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.bestsellers_next').on('click',function(){\r\n\t\t \t\tbs.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// our_recent_work_carousel\r\n\r\n\t(function(){\r\n\t\tvar orw = $('.our_recent_work_carousel');\r\n\t\tif(orw.length){\r\n\t\t\tvar orwc = orw.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,3],[992,3],[768,3],[421,2],[10,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.orw_prev').on('click',function(){\r\n\t\t \t\torwc.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.orw_next').on('click',function(){\r\n\t\t \t\torwc.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// new collections carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar ncc = $('.nc_carousel');\r\n\t\tif(ncc.length){\r\n\t\t\tvar nc = ncc.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,3],[992,3],[768,3],[575,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.nc_prev').on('click',function(){\r\n\t\t \t\tnc.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.nc_next').on('click',function(){\r\n\t\t \t\tnc.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// camera slideshow\r\n\r\n\t(function(){\r\n\t\tvar\tcs = $('.camera_wrap');\r\n\r\n\t\tif(cs.length){\r\n\r\n\t\t\tcs.camera({ \r\n\t\t\t\theight: '41%',\r\n\t\t\t\tnavigation: true,\r\n\t\t\t\tpagination: true,\r\n\t\t\t\tplayPause:false,\r\n\t\t\t\tthumbnails: false,\r\n\t\t\t\ttime: 4000,\r\n\t\t\t\ttransPeriod : 1000,\r\n\t\t\t\tnavigationHover: false,\r\n\t\t\t\tonLoaded: function() {\r\n\t\t\t\t\tvar image = $('.camera_wrap .camera_src > [data-src]'),\r\n\t\t\t \t\t\tlen = image.length,\r\n\t\t\t \t\t\tbullet = $('.camera_wrap .camera_pag_ul > li');\r\n\t\t\t \t\tif(bullet.find('.custom_thumb').length) return;\r\n\t\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t\t \t\t\tbullet.eq(i).append('
');\r\n\t\t\t \t\t}\r\n\t\t\t \t\tbullet.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t \t\t\t$(this).children('.custom_thumb').toggleClass(\"active\");\r\n\t\t\t \t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tcs.find('.camera_prev').append('
');\r\n\t\t\tcs.find('.camera_next').append('
');\r\n\t\t}\r\n\t})();\r\n\r\n\t// rating\r\n\r\n\t$('body').on('click','.rating_list li',function(){\r\n\t\t$(this).siblings().removeClass('active');\r\n\t\t$(this).addClass('active').prevAll().addClass('active');\r\n\t});\r\n\r\n\t// product brands carousel\r\n\r\n\t(function(){\r\n\t\tif($('.product_brands').length){\r\n\t\t \tvar pb = $(\".product_brands\").owlCarousel({\r\n\t\t \t\titemsCustom : $('.product_brands').hasClass('with_sidebar') ? [[1199,4],[992,4],[768,3],[480,3],[300,2]] : [[1199,6],[992,5],[768,4],[480,3],[300,2]],\r\n\t\t \t\tautoPlay : true,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 600,\r\n\t\t \t\taddClassActive : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.pb_prev').on('click',function(){\r\n\t\t \t\tpb.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.pb_next').on('click',function(){\r\n\t\t \t\tpb.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// blog carousel\r\n\r\n\t(function(){\r\n\t\tif($('.blog_carousel').length){\r\n\t\t\tvar blog = $('.blog_carousel').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 600,\r\n\t\t \t\tautoHeight : true,\r\n\t\t \t\ttransitionStyle : \"backSlide\"\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t\t$('.blog_prev').on('click',function(){\r\n\t\t\tblog.trigger('owl.prev');\r\n\t\t});\r\n\r\n\t\t$('.blog_next').on('click',function(){\r\n\t\t\tblog.trigger('owl.next');\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// testimonials\r\n\r\n\t(function(){\r\n\t\tif($('.testiomials_carousel').length){\r\n\t\t\tvar tc = $('.testiomials_carousel').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.ti_prev').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.ti_next').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\t(function(){\r\n\t\tif($('.testiomials_carousel_2').length){\r\n\t\t\tvar tc = $('.testiomials_carousel_2').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.ti_2_prev').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.ti_2_next').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// go to top button\r\n\r\n\t(function(){\r\n\t\t$('#go_to_top').waypointInit('animate_horizontal_finished','0px',0,true);\r\n\t\t$('#go_to_top').on('click',function(){\r\n\t\t\t$('html,body').animate({\r\n\t\t\t\tscrollTop : 0\r\n\t\t\t},500);\r\n\t\t});\r\n\t})();\r\n\r\n\t// social widgets\r\n\r\n\t(function(){\r\n\t\t$('.sw_button').on('click',function(){\r\n\t\t\t$(this).parent().toggleClass('opened').siblings().removeClass('opened');\r\n\t\t});\r\n\t})();\r\n\r\n\t// responsive menu\r\n\r\n\twindow.rmenu = function(){\r\n\r\n\t\tvar menuWrap = $('[role=\"navigation\"]'),\r\n\t\t\tmenu = $('.main_menu'),\r\n\t\t\tbutton = $('#menu_button');\r\n\r\n\t\tfunction orientationChange(){\r\n\t\t\tif($(window).width() < 767){\r\n\t\t\t\t\tbutton.off('click').on('click',function(){\r\n\t\t\t\t\t\tmenuWrap.stop().slideToggle();\r\n\t\t\t\t\t\t$(this).toggleClass('active');\r\n\t\t\t\t\t});\r\n\t\t\t\tmenu.children('li').children('a').off('click').on('click',function(e){\r\n\t\t\t\t\tvar self = $(this);\r\n\t\t\t\t\tself\r\n\t\t\t\t\t\t.closest('li')\r\n\t\t\t\t\t\t.toggleClass('current_click')\r\n\t\t\t\t\t\t.find('.sub_menu_wrap')\r\n\t\t\t\t\t\t.stop()\r\n\t\t\t\t\t\t.slideToggle()\r\n\t\t\t\t\t\t.end()\r\n\t\t\t\t\t\t.closest('li')\r\n\t\t\t\t\t\t.siblings('li')\r\n\t\t\t\t\t\t.removeClass('current_click')\r\n\t\t\t\t\t\t.children('a').removeClass('prevented').parent()\r\n\t\t\t\t\t\t.find('.sub_menu_wrap')\r\n\t\t\t\t\t\t.stop()\r\n\t\t\t\t\t\t.slideUp();\r\n\t\t\t\t\tif(!(self.hasClass('prevented'))){\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tself.addClass('prevented');\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tself.removeClass('prevented');\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}else if($(window).width() > 767){\r\n\t\t\t\tmenuWrap.removeAttr('style').find('.sub_menu_wrap').removeAttr('style');\r\n\t\t\t\tmenu.children('li').children('a').off('click');\r\n\t\t\t}\r\n\t\t}\r\n\t\torientationChange();\r\n\r\n\t\t$(window).on('resize',orientationChange);\r\n\r\n\t};\r\n\trmenu();\r\n\t\r\n\t// custom select\r\n\r\n\t(function(){\r\n\r\n\t\t$('.custom_select').each(function(){\r\n\t\t\tvar list = $(this).children('ul'),\r\n\t\t\t\tselect = $(this).find('select'),\r\n\t\t\t\ttitle = $(this).find('.select_title');\r\n\t\t\ttitle.css('min-width',title.outerWidth());\r\n\r\n\t\t\t// select items to list items\r\n\r\n\t\t\tif($(this).find('[data-filter]').length){\r\n\t\t\t\tfor(var i = 0,len = select.children('option').length;i < len;i++){\r\n\t\t\t\t\tlist.append('
'+select.children('option').eq(i).text()+' ')\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tfor(var i = 0,len = select.children('option').length;i < len;i++){\r\n\t\t\t\t\tlist.append('
'+select.children('option').eq(i).text()+' ')\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tselect.hide();\r\n\r\n\t\t\t// open list\r\n\t\t\t\r\n\t\t\ttitle.on('click',function(){\r\n\t\t\t\tlist.slideToggle(400);\r\n\t\t\t\t$(this).toggleClass('active');\r\n\t\t\t});\r\n\r\n\t\t\t// selected option\r\n\r\n\t\t\tlist.on('click','li',function(){\r\n\t\t\t\tvar val = $(this).text();\r\n\t\t\t\ttitle.text(val);\r\n\t\t\t\tlist.slideUp(400);\r\n\t\t\t\tselect.val(val);\r\n\t\t\t\ttitle.toggleClass('active');\r\n\t\t\t});\r\n\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// widgets\r\n\r\n\t(function(){\r\n\t\tvar slider;\r\n\t\tif($('#price').length){\r\n\t\t\tslider = $('#price').slider({ \r\n\t\t\t \torientation: \"horizontal\",\r\n\t\t\t\trange: true,\r\n\t\t\t\tvalues: [ 0, 237 ],\r\n\t\t\t\tmin: 0,\r\n\t\t\t\tmax: 250,\r\n\t\t\t\tslide : function(event ,ui){\r\n\t\t\t\t\t$(this).next().find('.first_limit').val('$' + ui.values[0]);\r\n\t\t\t\t\t$(this).next().find('.last_limit').val('$' + ui.values[1]);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tvar color = $('.select_color').on('click',function(){\r\n\t\t\t$(this).addClass('active').parent().siblings().children('button').removeClass('active');\r\n\t\t});\r\n\r\n\t\t$('.close_fieldset').on('click',function(){\r\n\t\t\t$(this).closest('fieldset').animate({\r\n\t\t\t\t'opacity':'0'\r\n\t\t\t},function(){\r\n\t\t\t\t$(this).slideUp();\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\t$('button[type=\"reset\"]:not(#styleswitcher button[type=\"reset\"])').on('click',function(){\r\n\t\t\tcolor.eq(0).addClass('active').parent().siblings().children('button').removeClass('active');\r\n\t\t\tslider.slider( \"option\", \"values\", [ 0, 237 ] );\r\n\t\t});\r\n\r\n\t\t$('.categories_list').on('click','a',function(e){\r\n\t\t\tif($(this).parent().children('ul').length){\r\n\t\t\t\t$(this).parent().toggleClass('active').end().next().slideToggle();\r\n\t\t\t\te.preventDefault();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t$('.categories_list > li > a').on('click',function(e){\r\n\t\t\tif($(this).parent().children('ul').length){\r\n\t\t\t\t$(this).toggleClass('scheme_color').toggleClass('color_dark');\r\n\t\t\t\te.preventDefault();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// twitter\r\n\r\n\t(function(){\r\n\t\t$('.twitterfeed').tweet({\r\n\t\t\tusername: 'fanfbmltemplate',\r\n\t\t\tmodpath : 'twitter/',\r\n\t count: 2,\r\n\t loading_text: 'loading twitter feed...',\r\n\t template: '
@{screen_name} {text}
{time}
{reply_action} {retweet_action} {favorite_action} '\r\n\t });\r\n\t})();\r\n\r\n\t// quick view carousel\r\n\r\n\t(function(){\r\n\t\tvar qvc = $('.qv_carousel'),\r\n\t\t\tqvcsingle = $('.qv_carousel_single');\r\n\t\tif(qvc.length){\r\n\t\t\tvar qv = qvc.owlCarousel({\r\n\t\t\t\titems: 3,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.qv_btn_prev').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.qv_btn_next').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\t\tif(qvcsingle.length){\r\n\t\t\tvar qvcs = qvcsingle.owlCarousel({\r\n\t\t\t\titemsCustom : [[1199,3],[992,3],[768,3],[480,3],[300,3]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.qv_btn_single_prev').on('click',function(){\r\n\t\t\t\tqvcs.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.qv_btn_single_next').on('click',function(){\r\n\t\t\t\tqvcs.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// quantity\r\n\r\n\t(function(){\r\n\t\t\r\n\t\t$('.quantity').on('click','button',function(){\r\n\t\t\tvar data = $(this).data('direction'),\r\n\t\t\t\ti = $(this).parent().children('input[type=\"text\"]'),\r\n\t\t\t\tval = i.val();\r\n\t\t\tif(data == \"up\"){\r\n\t\t\t\tval++;\r\n\t\t\t\ti.val(val);\r\n\t\t\t}else if(data == \"down\"){\r\n\t\t\t\tif(val == 1) return;\r\n\t\t\t\tval--;\r\n\t\t\t\ti.val(val);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// popup \r\n\r\n\t(function(){\r\n\r\n\t\t$('.popup').on('popup/position',function(){\r\n\t\t\tvar _this = $(this),\r\n\t\t\tpos = setTimeout(function(){\r\n\t\t\t\tvar mt = _this.outerHeight() / -2,\r\n\t\t\t\t\tml = _this.outerWidth() / -2;\r\n\t\t\t\t_this.css({\r\n\t\t\t\t\t'margin-left':ml,\r\n\t\t\t\t\t'margin-top':mt\r\n\t\t\t\t});\r\n\t\t\t\tclearTimeout(pos);\r\n\t\t\t},100);\r\n\t\t});\r\n\r\n\t\tvar close = $('.popup > .close');\r\n\t\tif($('[data-popup]').length){\r\n\t\t\t$(\"body\").on('click','[data-popup]',function(e){\r\n\t\t\t\tvar popup = $(this).data('popup'),\r\n\t\t\t\t\tpc = $(popup).find('.popup');\r\n\r\n\t\t\t\tpc.trigger('popup/position');\r\n\r\n\t\t\t\t$(popup).fadeIn(function(){\r\n\t\t\t\t\tvar scroll = $('.custom_scrollbar');\r\n\t\t\t\t\tif(scroll.length){\r\n\t\t\t\t\t\tvar isVisible = setInterval(function(){\r\n\t\t\t\t\t\t\tif(scroll.is(':visible')){\r\n\t\t\t\t\t\t\t\tscroll.customScrollbar({\r\n\t\t\t\t\t\t\t\t\tpreventDefaultScroll: true\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tclearInterval(isVisible);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},100);\r\n\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\t$(popup).on('click',function(e){\r\n\t\t\t\t\t\tif($(e.target).hasClass('popup_wrap')){\r\n\t\t\t\t\t\t\t$(this).fadeOut();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t\te.preventDefault();\r\n\t\t\t});\r\n\t\t}\r\n\t\tclose.on('click',function(){\r\n\t\t\t$(this).closest('.popup_wrap').fadeOut();\r\n\t\t});\r\n\t})();\r\n\r\n\t// tabs\r\n\r\n\t(function(){\r\n\t\tvar tabs = $('.tabs');\r\n\t\tif(tabs.length){\r\n\t\t\ttabs.tabs({\r\n\t\t\t\tbeforeActivate: function(event, ui) {\r\n\t\t\t var hash = ui.newTab.children(\"li a\").attr(\"href\");\r\n\t\t\t window.location.hash = hash;\r\n\t\t\t \t},\r\n\t\t\t\thide : {\r\n\t\t\t\t\teffect : \"fadeOut\",\r\n\t\t\t\t\tduration : 450\r\n\t\t\t\t},\r\n\t\t\t\tshow : {\r\n\t\t\t\t\teffect : \"fadeIn\",\r\n\t\t\t\t\tduration : 450\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// accordion & toggle\r\n\r\n\t(function(){\r\n\r\n\t\tvar aItem = $('.accordion:not(.toggle) .accordion_item'),\r\n\t\t\tlink = aItem.find('.a_title'),\r\n\t\t\taToggleItem = $('.accordion.toggle .accordion_item'),\r\n\t\t\ttLink = aToggleItem.find('.a_title');\r\n\r\n\t\taItem.add(aToggleItem).children('.a_title').not('.active').next().hide();\r\n\r\n\r\n\t\tlink.on('click',function(){\r\n\r\n\t\t\t $(this).removeClass('bg_light_color_1 color_dark')\r\n\t\t\t\t.addClass('active color_light')\r\n\t\t\t\t.next().stop().slideDown()\r\n\t\t\t\t.parent().siblings()\r\n\t\t\t\t.children('.a_title')\r\n\t\t\t\t.removeClass('active color_light')\r\n\t\t\t\t.addClass('bg_light_color_1 color_dark')\r\n\t\t\t\t.next().stop().slideUp();\r\n\r\n\t\t});\r\n\r\n\t\ttLink.on('click',function(){\r\n\t\t\t$(this).toggleClass('active color_light bg_light_color_1 color_dark')\r\n\t\t\t\t\t.next().stop().slideToggle();\r\n\r\n\t\t})\r\n\r\n\t})();\r\n\r\n\t// related projects\r\n\r\n\t(function(){\r\n\t\tvar rp = $('.related_projects');\r\n\t\tif(rp.length){\r\n\t\t\tvar qv = rp.owlCarousel({\r\n\t\t\t\titemsCustom : rp.hasClass(\"product_full_width\") ? [[1199,4],[992,4],[768,3],[480,1],[300,1]] : [[1199,3],[992,3],[768,3],[480,1],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.rp_prev').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.rp_next').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t(function () {\r\n\t var rp = $('.related_projects2');\r\n\t if (rp.length) {\r\n\t var qv = rp.owlCarousel({\r\n\t itemsCustom: rp.hasClass(\"product_full_width\") ? [[1199, 4], [992, 4], [768, 3], [480, 1], [300, 1]] : [[1199, 3], [992, 3], [768, 3], [480, 1], [300, 1]],\r\n\t autoPlay: false,\r\n\t slideSpeed: 1000,\r\n\t autoHeight: true\r\n\t });\r\n\r\n\t $('.rp_prev2').on('click', function () {\r\n\t qv.trigger('owl.prev');\r\n\t });\r\n\r\n\t $('.rp_next2').on('click', function () {\r\n\t qv.trigger('owl.next');\r\n\t });\r\n\t }\r\n\r\n\t})();\r\n\r\n\t// block select\r\n\r\n\t(function(){\r\n\t\tvar b = $('.block_select');\r\n\r\n\t\tb.each(function(){\r\n\t\t\tvar _this = $(this);\r\n\t\t\tif(_this.find('input[type=\"radio\"]').is(':checked')) _this.addClass('selected');\r\n\t\t});\r\n\t\tb.on('click',function(){\r\n\t\t\t$(this)\r\n\t\t\t\t.addClass('selected')\r\n\t\t\t\t.find('input[type=\"radio\"]')\r\n\t\t\t\t.prop('checked',true)\r\n\t\t\t\t.end()\r\n\t\t\t\t.siblings('.selected')\r\n\t\t\t\t.removeClass('selected')\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// special carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar sc = $('.specials_carousel');\r\n\t\tif(sc.length){\r\n\t\t\tvar spc = sc.owlCarousel({\r\n\t\t\t\t// singleItem : true,\r\n\t\t\t\titemsCustom : [[1199,1],[992,1],[768,1],[480,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 500,\r\n\t\t \t\tautoHeight : true,\r\n\t\t \t\ttransitionStyle : \"backSlide\"\r\n\t\t \t});\r\n\r\n\t\t\t$('.sc_prev').on('click',function(){\r\n\t\t\t\tspc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.sc_next').on('click',function(){\r\n\t\t\t\tspc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t\tfunction ellipsis(){\r\n\t\t\tvar el = $('.ellipsis').hide();\r\n\t\t\t\tel.each(function(){\r\n\t\t\t\t\tvar self = $(this);\r\n\t\t\t\t\tself.css({\r\n\t\t\t\t\t\t'width': self.parent().outerWidth(),\r\n\t\t\t\t\t\t'white-space' : 'nowrap'\r\n\t\t\t\t\t});\r\n\t\t\t\t\tself.show();\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\tellipsis();\r\n\t\t$(window).on('resize',ellipsis);\r\n\r\n\t\t// contact form\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar cf = $('#contactform');\r\n\t\t\tcf.append('
');\r\n\r\n\t\t\tcf.on(\"submit\",function(event){\r\n\r\n\t\t\t\tvar self = $(this),text;\r\n\r\n\t\t\t\tvar request = $.ajax({\r\n\t\t\t\t\turl:\"bat/mail.php\",\r\n\t\t\t\t\ttype : \"post\",\r\n\t\t\t\t\tdata : self.serialize()\r\n\t\t\t\t});\r\n\r\n\t\t\t\trequest.then(function(data){\r\n\t\t\t\t\tif(data == \"1\"){\r\n\r\n\t\t\t\t\t\ttext = \"Your message has been sent successfully!\";\r\n\r\n\t\t\t\t\t\tcf.find('input:not([type=\"submit\"]),textarea').val('');\r\n\r\n\t\t\t\t\t\t$('.message_container').html('
')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse{\r\n\t\t\t\t\t\tif(cf.find('textarea').val().length < 20){\r\n\t\t\t\t\t\t\ttext = \"Message must contain at least 20 characters!\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(cf.find('input').val() == \"\"){\r\n\t\t\t\t\t\t\ttext = \"All required fields must be filled!\";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$('.message_container').html('
')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t},function(){\r\n\t\t\t\t\t$('.message_container').html('
Connection to server failed!
')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t});\r\n\r\n\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\t\t// newsletter\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar subscribe = $('#newsletter');\r\n\t\t\tsubscribe.append('
');\r\n\t\t\tvar message = $('.message_container_subscribe'),text;\r\n\r\n\t\t\tsubscribe.on('submit',function(e){\r\n\t\t\t\tvar self = $(this);\r\n\t\t\t\t\r\n\t\t\t\tif(self.find('input[type=\"email\"]').val() == ''){\r\n\t\t\t\t\ttext = \"Please enter your e-mail!\";\r\n\t\t\t\t\tmessage.html('
')\r\n\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t}else{\r\n\t\t\t\t\tself.find('span.error').hide();\r\n\t\t\t\t\t$.ajax({\r\n\t\t\t\t\t\ttype: \"POST\",\r\n\t\t\t\t\t\turl: \"bat/newsletter.php\",\r\n\t\t\t\t\t\tdata: self.serialize(), \r\n\t\t\t\t\t\tsuccess: function(data){\r\n\t\t\t\t\t\t\tif(data == '1'){\r\n\t\t\t\t\t\t\t\ttext = \"Your email has been sent successfully!\";\r\n\t\t\t\t\t\t\t\tmessage.html('
')\r\n\t\t\t\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t.prevAll('input[type=\"email\"]').val(\"\");\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\ttext = \"Invalid email address!\";\r\n\t\t\t\t\t\t\t\tmessage.html('
')\r\n\t\t\t\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\te.preventDefault();\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\r\n\t\t//elevate zoom\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tif($('[data-zoom-image]').length){\r\n\r\n\t\t\t\tvar button = $('.qv_preview [class*=\"button_type_\"]');\r\n\r\n\t\t\t\t$(\"#zoom_image\").elevateZoom({\r\n\t\t\t\t\tgallery:'qv_carousel_single',\r\n\t\t\t\t zoomWindowFadeIn: 500,\r\n\t\t\t\t\tzoomWindowFadeOut: 500\r\n\t\t\t\t}); \r\n\r\n\t\t\t\tbutton.on(\"click\", function(e){\r\n\t\t\t\t var ez = $('#zoom_image').data('elevateZoom');\r\n\t\t\t\t\t$.fancybox(ez.getGalleryList());\r\n\t\t\t\t \te.preventDefault();\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t\t// first letter\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar dp = $('[class*=\"first_letter\"]');\r\n\r\n\t\t\tdp.each(function(){\r\n\t\t\t\tvar self = $(this),\r\n\t\t\t\tfl = self.text().charAt(0);\r\n\t\t\t\tself.text(self.text().substr(1)).prepend('
'+fl+' ');\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\t});\r\n\r\n\t\r\n\t\r\n\t$(window).load(function(){\r\n\r\n\t\tfunction randomSort(selector,items){\r\n\r\n\t\t\tvar sel = selector,\r\n\t\t\t\tit = items,\r\n\t\t\t\trandom = [],\r\n\t\t\t\tlen = it.length;\r\n\t\t\tit.removeClass('random');\r\n\t\t\tif(selector === \".random\"){\r\n\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t \t\t\trandom.push(+(Math.random() * len).toFixed());\r\n\t\t \t\t}\r\n\t\t \t\t$.each(random,function(i,v){\r\n\t\t \t\t\titems.eq(Math.floor(Math.random() * v - 1)).addClass('random');\r\n\t\t \t\t});\r\n\t\t \t}\r\n\r\n\t\t}\r\n\r\n\t\t// isotope \r\n\r\n\t\t//(function(){\r\n\t\t//\tif($('.products_container').length){\r\n\r\n\t\t//\t\tvar container = $('.products_container');\r\n\r\n\t\t//\t\tcontainer.isotope({\r\n\t\t//\t\t \titemSelector : '.product_item',\r\n\t\t//\t\t\tlayoutMode : 'fitRows'\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t// filter items when filter link is clicked\r\n\r\n\t\t//\t\t$('.isotope_menu').on('click','button',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.attr('data-filter');\r\n\t\t//\t\t\trandomSort.call(self,self.data('filter'),container.find('.product_item'));\r\n\t\t//\t\t \tself.closest('li').addClass('active').siblings().removeClass('active');\r\n\t\t//\t\t \tcontainer.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\t\t//\t}\r\n\r\n\t\t//\t// portfolio\r\n\r\n\t\t//\tif($('.portfolio_isotope_container').length){\r\n\r\n\t\t//\t\tvar container = $('.portfolio_isotope_container');\r\n\r\n\t\t//\t\tcontainer.isotope({\r\n\t\t//\t\t\titemSelector : '.portfolio_item',\r\n\t\t//\t\t\tlayoutMode : 'fitRows'\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t$('#filter_portfolio').on('click','li',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.data('filter');\r\n\t\t//\t\t \tcontainer.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\r\n\t\t//\t}\r\n\r\n\t\t//\tif($('.portfolio_masonry_container').length){\r\n\r\n\t\t//\t\tvar container1 = $('.portfolio_masonry_container');\r\n\r\n\t\t//\t\tcontainer1.isotope({\r\n\t\t//\t\t\titemSelector : '.portfolio_item',\r\n\t\t//\t\t\tlayoutMode : 'masonry',\r\n\t\t//\t\t\tmasonry: {\r\n\t\t//\t\t\t columnWidth: 10,\r\n\t\t//\t\t\t gutter:0\r\n\t\t//\t\t\t}\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t$('#filter_portfolio').on('click','li',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.data('filter');\r\n\t\t//\t\t \tcontainer1.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\r\n\t\t//\t}\r\n\r\n\t\t//})();\r\n\r\n\t\t// flexslider\r\n\r\n\t\t(function(){\r\n\t\t\tvar flx = $('.flexslider:not(.simple_slide_show)');\r\n\r\n\t\t\tif(flx.length){\r\n\t\t\t\tflx.flexslider({\r\n\t\t\t\t\tanimation : \"slide\",\r\n\t\t\t\t\tanimationSpeed : 1000,\r\n\t\t\t\t\tprevText: \"
\",\r\n\t\t\t\t\tnextText: \"
\",\r\n\t\t\t\t\tslideshow: true,\r\n\t\t\t\t slideshowSpeed : 3000,\r\n\t\t\t\t\tstart: function(){\r\n\t\t \t\t\tvar image = $('.flexslider [data-custom-thumb]'),\r\n\t\t\t \t\t\tlen = image.length,\r\n\t\t\t \t\t\tbullet = $('.flex-control-nav li');\r\n\t\t\t \t\t\tfor(var i = 0; i < len; i++){\r\n\t\t\t \t\t\t\tbullet.eq(i).append('
');\r\n\t\t\t \t\t\t}\r\n\t\t\t\t\t\t$('.flex-control-nav li').each(function(){\r\n\t\t\t\t\t\t\tvar curr = $(this);\r\n\t\t\t\t\t\t\tcurr.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t\t\t\t\t\tcurr.children('.custom_thumb').toggleClass('active')\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tbullet.find('.custom_thumb').on('click',function(){\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t\t// simple slideshow\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar flx = $('.simple_slide_show');\r\n\r\n\t\t\tfunction showTitle(){\r\n\t\t\t\tvar f = $(this),\r\n\t\t\t\t\tc = f.data('flexslider').currentSlide;\r\n\t\t\t\t\t\r\n\t\t\t\t\tf.find('.slides')\r\n\t\t\t\t\t.children('li')\r\n\t\t\t\t\t.eq(c+1)\r\n\t\t\t\t\t.children('.simple_s_caption')\r\n\t\t\t\t\t.addClass('active')\r\n\t\t\t\t\t.parent()\r\n\t\t\t\t\t.siblings()\r\n\t\t\t\t\t.children('.simple_s_caption')\r\n\t\t\t\t\t.removeClass('active');\r\n\t\t\t}\r\n\t\t\tif(flx.length){\r\n\t\t\t\tflx.each(function(){\r\n\t\t\t\t\tvar curr = $(this);\r\n\t\t\t\t\tcurr.flexslider({\r\n\t\t\t\t\t\tanimation : \"slide\",\r\n\t\t\t\t\t\tanimationSpeed : 1000,\r\n\t\t\t\t\t\tprevText: \"
\",\r\n\t\t\t\t\t\tnextText: \"
\",\r\n\t\t\t\t\t\tslideshow:true,\r\n\t\t\t\t\t\tcontrolNav:false,\r\n\t\t\t\t\t\tstart:function(){\r\n\t\t\t\t\t\t\tshowTitle.call(curr);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tafter:function(){\r\n\t\t\t\t\t\t\tshowTitle.call(curr);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t});\r\n\r\n})(jQuery);\r\n\r\n\r\n","$('.product-slider .products_container').slick({\n lazyLoad: 'ondemand',\n slidesToShow: 2,\n slidesToScroll: 2,\n prevArrow: '
',\n nextArrow: '
'\n});\n\n\n$('.product-slider-vertical .products_container').slick({\n lazyLoad: 'ondemand',\n slidesToShow: 3,\n slidesToScroll: 3,\n vertical: true,\n prevArrow: '
',\n nextArrow: '
'\n});\n","/* eslint-disable no-unused-vars */\nfunction changeValue(value2) {\n if (value2 == 0) {\n bilgiler();\n }\n if (value2 == 1) {\n ekbilgiler();\n }\n\n}\n\n\n\nfunction bilgiler() {\n $(\"#divBilgiler\").attr('style', 'display:block');\n $(\"#divEkBilgiler\").attr('style', 'display:none');\n}\n\nfunction ekbilgiler() {\n $(\"#divEkBilgiler\").attr('style', 'display:block');\n $(\"#divBilgiler\").attr('style', 'display:none');\n}\n"]}