/* Author: Joshua Brown - Aztek 7/27/11 */

// remap jQuery to $
(function($){
	
	// Copyright script - found in the plugins.js file
	// To use, replace the '#copyright' id with the
	// id of the element that holds your copyright date
	$('#copyright').copyright();
	
	// Email defuscator - found in the plugins.js file
	$('.email').defuscate();
	
	
	
	// User defined functions go here	
	var isiPad = navigator.userAgent.match(/iPad/i)!=null;
	if(isiPad==false) {
	  $('body').fadeIn(2000);
	  $('a:not(.noTransition)').click(function(event) {
		  event.preventDefault();
		  linkLocation = this.href;
		  $('body').fadeOut(1000,function() {
			  window.location = linkLocation;
		  });
	  })
	}
	
	
	$('.portfolioList li, .categoryTagList li').hover(
		function() {
			$(this).find('.wrapper').stop().animate({
				left: 0
			},300)
		}, function() {
			$(this).find('.wrapper').stop().animate({
				left: '-160px'
			},300)
		}
	)
})(this.jQuery);
























