function vc_js(){vc_togglebehaviour(),vc_tabsbehaviour(),vc_accordionbehaviour(),vc_teasergrid(),vc_carouselbehaviour(),vc_slidersbehaviour(),vc_prettyphoto(),vc_googleplus(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_google_fonts(),vc_gridbehaviour(),vc_rowbehaviour(),vc_preparehoverbox(),vc_googlemapspointer(),vc_ttaactivation(),jquery(document).trigger("vc_js"),window.settimeout(vc_waypoints,500)}document.documentelement.classname+=" js_active ",document.documentelement.classname+="ontouchstart"in document.documentelement?" vc_mobile ":" vc_desktop ",function(){for(var prefix=["-webkit-","-moz-","-ms-","-o-",""],i=0;i=$tabs.tabs("length")&&(index=0),$tabs.tabs("select",index)}else{index=$tabs.tabs("option","active");var length=$tabs.find(".wpb_tab").length;index=jquery(this).parent().hasclass("wpb_next_slide")?length<=index+1?0:index+1:index-1<0?length-1:index-1,$tabs.tabs("option","active",index)}})})}}),"function"!=typeof window.vc_accordionbehaviour&&(window.vc_accordionbehaviour=function(){jquery(".wpb_accordion").each(function(index){var $tabs,$this=jquery(this),active_tab=($this.attr("data-interval"),!isnan(jquery(this).data("active-tab"))&&0 div > h3",autoheight:!1,heightstyle:"content",active:active_tab,collapsible:collapsible,navigation:!0,activate:vc_accordionactivate,change:function(event,ui){void 0!==jquery.fn.isotope&&ui.newcontent.find(".isotope").isotope("layout"),vc_carouselbehaviour(ui.newpanel)}}),!0===$this.data("vcdisablekeydown")&&($tabs.data("uiaccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teasergrid&&(window.vc_teasergrid=function(){var layout_modes={fitrows:"fitrows",masonry:"masonry"};jquery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var $container=jquery(this),$thumbs=$container.find(".wpb_thumbnails"),layout_mode=$thumbs.attr("data-layout-mode");$thumbs.isotope({itemselector:".isotope-item",layoutmode:void 0===layout_modes[layout_mode]?"fitrows":layout_modes[layout_mode]}),$container.find(".categories_filter a").data("isotope",$thumbs).click(function(e){e.preventdefault();var $thumbs=jquery(this).data("isotope");jquery(this).parent().parent().find(".active").removeclass("active"),jquery(this).parent().addclass("active"),$thumbs.isotope({filter:jquery(this).attr("data-filter")})}),jquery(window).bind("load resize",function(){$thumbs.isotope("layout")})})}),"function"!=typeof window.vc_carouselbehaviour&&(window.vc_carouselbehaviour=function($parent){($parent?$parent.find(".wpb_carousel"):jquery(".wpb_carousel")).each(function(){var $this=jquery(this);if(!0!==$this.data("carousel_enabled")&&$this.is(":visible")){$this.data("carousel_enabled",!0);getcolumnscount(jquery(this));jquery(this).hasclass("columns_count_1")&&900;var carousele_li=jquery(this).find(".wpb_thumbnails-fluid li");carousele_li.css({"margin-right":carousele_li.css("margin-left"),"margin-left":0});var fluid_ul=jquery(this).find("ul.wpb_thumbnails-fluid");fluid_ul.width(fluid_ul.width()+300),jquery(window).resize(function(){screen_size!=(screen_size=getsizename())&&window.settimeout("location.reload()",20)})}})}),"function"!=typeof window.vc_slidersbehaviour&&(window.vc_slidersbehaviour=function(){jquery(".wpb_gallery_slides").each(function(index){var $imagesgrid,this_element=jquery(this);if(this_element.hasclass("wpb_slider_nivo")){var slidertimeout=1e3*this_element.attr("data-interval");0===slidertimeout&&(slidertimeout=9999999999),this_element.find(".nivoslider").nivoslider({effect:"boxraingrow,boxrain,boxrainreverse,boxraingrowreverse",slices:15,boxcols:8,boxrows:4,animspeed:800,pausetime:slidertimeout,startslide:0,directionnav:!0,directionnavhide:!0,controlnav:!0,keyboardnav:!1,pauseonhover:!0,manualadvance:!1,prevtext:"prev",nexttext:"next"})}else this_element.hasclass("wpb_image_grid")&&(jquery.fn.imagesloaded?$imagesgrid=this_element.find(".wpb_image_grid_ul").imagesloaded(function(){$imagesgrid.isotope({itemselector:".isotope-item",layoutmode:"fitrows"})}):this_element.find(".wpb_image_grid_ul").isotope({itemselector:".isotope-item",layoutmode:"fitrows"}))})}),"function"!=typeof window.vc_prettyphoto&&(window.vc_prettyphoto=function(){try{jquery&&jquery.fn&&jquery.fn.prettyphoto&&jquery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyphoto({animationspeed:"normal",hook:"data-rel",padding:15,opacity:.7,showtitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1')}),vc_initvideobackgrounds(),callskrollinit=!1,window.vcparallaxskroll&&window.vcparallaxskroll.destroy(),$(".vc_parallax-inner").remove(),$("[data-5p-top-bottom]").removeattr("data-5p-top-bottom data-30p-top-bottom"),$("[data-vc-parallax]").each(function(){var skrollrsize,skrollrstart,$parallaxelement,parallaximage,youtubeid;callskrollinit=!0,"on"===$(this).data("vcparallaxofade")&&$(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),skrollrsize=100*$(this).data("vcparallax"),($parallaxelement=$("
").addclass("vc_parallax-inner").appendto($(this))).height(skrollrsize+"%"),(youtubeid=vcextractyoutubeid(parallaximage=$(this).data("vcparallaximage")))?insertyoutubevideoasbackground($parallaxelement,youtubeid):void 0!==parallaximage&&$parallaxelement.css("background-image","url("+parallaximage+")"),skrollrstart=-(skrollrsize-100),$parallaxelement.attr("data-bottom-top","top: "+skrollrstart+"%;").attr("data-top-bottom","top: 0%;")}),callskrollinit&&window.skrollr&&(vcskrollroptions={forceheight:!1,smoothscrolling:!1,mobilecheck:function(){return!1}},window.vcparallaxskroll=skrollr.init(vcskrollroptions),window.vcparallaxskroll)}),"function"!=typeof window.vc_gridbehaviour&&(window.vc_gridbehaviour=function(){jquery.fn.vcgrid&&jquery("[data-vc-grid]").vcgrid()}),"function"!=typeof window.getcolumnscount&&(window.getcolumnscount=function(el){for(var find=!1,i=1;!1===find;){if(el.hasclass("columns_count_"+i))return find=!0,i;i++}});var screen_size=getsizename();function getsizename(){var screen_w=jquery(window).width();return 1170
').find(".inner");new yt.player($container[0],{width:"100%",height:"100%",videoid:youtubeid,playervars:{playlist:youtubeid,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,wmode:"transparent"},events:{onready:function(event){event.target.mute().setloop(!0)}}}),vcresizevideobackground($element),jquery(window).bind("resize",function(){vcresizevideobackground($element)})}function vcresizevideobackground($element){var iframew,iframeh,marginleft,margintop,containerw=$element.innerwidth(),containerh=$element.innerheight();containerw/containerh<16/9?(iframew=containerh*(16/9),iframeh=containerh,marginleft=-math.round((iframew-containerw)/2)+"px",margintop=-math.round((iframeh-containerh)/2)+"px"):(iframeh=(iframew=containerw)*(9/16),margintop=-math.round((iframeh-containerh)/2)+"px",marginleft=-math.round((iframew-containerw)/2)+"px"),iframew+="px",iframeh+="px",$element.find(".vc_video-bg iframe").css({maxwidth:"1000%",marginleft:marginleft,margintop:margintop,width:iframew,height:iframeh})}function vcextractyoutubeid(url){if(void 0===url)return!1;var id=url.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/);return null!==id&&id[1]}if("function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(event,ui){var $ui_panel,$google_maps,panel=ui.panel||ui.newpanel,$pie_charts=panel.find(".vc_pie_chart:not(.vc_ready)"),$round_charts=panel.find(".vc_round-chart"),$line_charts=panel.find(".vc_line-chart"),$carousel=panel.find('[data-ride="vc_carousel"]');if(vc_carouselbehaviour(),vc_plugin_flexslider(panel),ui.newpanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&ui.newpanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jquery(this).data("vcgrid");grid&&grid.gridbuilder&&grid.gridbuilder.setmasonry&&grid.gridbuilder.setmasonry()}),panel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&panel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var grid=jquery(this).data("vcgrid");grid&&grid.gridbuilder&&grid.gridbuilder.setmasonry&&grid.gridbuilder.setmasonry()}),$pie_charts.length&&jquery.fn.vcchat&&$pie_charts.vcchat(),$round_charts.length&&jquery.fn.vcroundchart&&$round_charts.vcroundchart({reload:!1}),$line_charts.length&&jquery.fn.vclinechart&&$line_charts.vclinechart({reload:!1}),$carousel.length&&jquery.fn.carousel&&$carousel.carousel("resizeaction"),$ui_panel=panel.find(".isotope, .wpb_image_grid_ul"),$google_maps=panel.find(".wpb_gmaps_widget"),0<$ui_panel.length&&$ui_panel.isotope("layout"),$google_maps.length&&!$google_maps.is(".map_ready")){var $frame=$google_maps.find("iframe");$frame.attr("src",$frame.attr("src")),$google_maps.addclass("map_ready")}panel.parents(".isotope").length&&panel.parents(".isotope").each(function(){jquery(this).isotope("layout")})}),"function"!=typeof window.vc_googlemapspointer)function vc_googlemapspointer(){var $=window.jquery,$wpbgmapswidget=$(".wpb_gmaps_widget");$wpbgmapswidget.click(function(){$("iframe",this).css("pointer-events","auto")}),$wpbgmapswidget.mouseleave(function(){$("iframe",this).css("pointer-events","none")}),$(".wpb_gmaps_widget iframe").css("pointer-events","none")}function vc_sethoverboxperspective(hoverbox){hoverbox.each(function(){var $this=jquery(this),perspective=4*$this.width()+"px";$this.css("perspective",perspective)})}function vc_sethoverboxheight(hoverbox){hoverbox.each(function(){var $this=jquery(this),hoverboxinner=$this.find(".vc-hoverbox-inner");hoverboxinner.css("min-height",0);var frontheight=$this.find(".vc-hoverbox-front-inner").outerheight(),backheight=$this.find(".vc-hoverbox-back-inner").outerheight(),hoverboxheight=backheight