jQuery(document).ready(function($){"use strict";$('a[data-rel]').each(function(){$(this).attr('rel',$(this).data('rel'));$(".pretty-gallery a[rel^='prettyPhoto']").prettyPhoto();});if($('.gallery').length){$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000,autoplay_slideshow:true});$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000,hideflash:true});}
if($('#home-banner').length){$('#home-banner').owlCarousel({loop:false,dots:true,nav:false,items:1,autoplay:true,});}
if($('#testimonials-1').length){$('#testimonials-1').owlCarousel({loop:false,dots:false,nav:true,items:1,autoplay:true,});}
if($('.counter').length){$('.counter').counterUp({delay:10,time:1000});}
if($('#sidebar-recenr-slider').length){$('#sidebar-recenr-slider').owlCarousel({loop:false,dots:false,nav:false,items:1,autoplay:true,});}
if($('#post-slider').length){$('#post-slider').owlCarousel({loop:false,dots:false,nav:true,items:1,autoplay:true,});}
if($('#campaigns-slider').length){$('#campaigns-slider').owlCarousel({loop:true,dots:false,nav:true,navText:'',items:3,smartSpeed:1000,padding:0,margin:30,responsiveClass:true,autoplay:true,responsive:{0:{items:1,},768:{items:2,},992:{items:2,},1199:{items:3,}}});}
if($('#testi-style-2').length){$('#testi-style-2').owlCarousel({loop:true,dots:false,nav:false,navText:'',items:3,smartSpeed:1000,padding:0,margin:30,responsiveClass:true,autoplay:true,responsive:{0:{items:1,},768:{items:2,},992:{items:2,},1199:{items:3,}}});}
if($('#map_contact_1').length){var map;var myLatLng=new google.maps.LatLng(40.712784,-74.005941);var myOptions={zoom:12,center:myLatLng,zoomControl:true,scrollwheel:false,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:false,styles:[{stylers:[{hue:'#2b2b2b'},{saturation:-100,},{lightness:10}]}],}
map=new google.maps.Map(document.getElementById('map_contact_1'),myOptions);var marker=new google.maps.Marker({position:map.getCenter(),map:map,icon:'images/map-icon-2.png'});marker.getPosition();}});