text: jQuery(function($) {
  
  	//jQuery for page scrolling feature - requires jQuery Easing plugin
  	$(function() {
  		$('.navbar-nav li a').bind('click', function(event) {
  			var $anchor = $(this);
  			var nav = $($anchor.attr('href'));
  			if (nav.length) {
  			$('html, body').stop().animate({				
  				scrollTop: $($anchor.attr('href')).offset().top				
  			}, 1500, 'easeInOutExpo');
  			
  			event.preventDefault();
  			}
  		});
  						
  	});	
  	
  	
  
  	//Initiat WOW JS
  	new WOW().init();
  
  	// portfolio filter
  	$(window).load(function(){'use strict';
  		var $portfolio_selectors = $('.portfolio-filter >li>a');
  		var $portfolio = $('.portfolio-items');
  		$portfolio.isotope({
  			itemSelector : '.portfolio-item',
  			layoutMode : 'fitRows'
  		});
  		
  		$portfolio_selectors.on('click', function(){
  			$portfolio_selectors.removeClass('active');
  			$(this).addClass('active');
  			var selector = $(this).attr('data-filter');
  			$portfolio.isotope({ filter: selector });
  			return false;
  		});
  	});
  
  
  	//Pretty Photo
  	$("a[rel^='prettyPhoto']").prettyPhoto({
  		social_tools: false
  	});	
  	
  	$(window).scroll(function(){
  		if ($(this).scrollTop() > 100) {
  			$('.scrollup').fadeIn();
  			} else {
  				$('.scrollup').fadeOut();
  			}
  		});
  		$('.scrollup').click(function(){
  			$("html, body").animate({ scrollTop: 0 }, 1000);
  				return false;
  		});
  	
  	
  });