// 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();
	
	$('#billboard .items').nivoSlider({
				effect:'fade', // Specify sets like: 'fold,fade,sliceDown'
				slices:15, // For slice animations
				boxCols: 8, // For box animations
				boxRows: 4, // For box animations
				animSpeed:700, // Slide transition speed
				pauseTime:8000, // How long each slide will show
				startSlide:0, // Set starting Slide (0 index)
				directionNav:false, // Next & Prev navigation
				directionNavHide:false, // Only show on hover
				controlNav:true, // 1,2,3... navigation
				pauseOnHover:true, // Stop animation while hovering
				manualAdvance:false // Force manual transitions
			});
			
	$(function(){ $("label").inFieldLabels(); });
	// User defined functions go here
	
	// $('#filter a').click(function() {
	// 	$(this).css('outline','none');
	// 	$('#filter .current').removeClass('current');
	// 	$(this).parent().addClass('current');

	// 	var filterVal = $(this).text().toLowerCase().replace(' ','-');

	// 	if(filterVal == 'view-all') {
	// 		$('ul#portfolio li.hidden').fadeIn('slow').removeClass('hidden');
	// 	} else {
	// 		$('ul#portfolio li').each(function() {
	// 			if(!$(this).hasClass(filterVal)) {
	// 				$(this).fadeOut('normal').addClass('hidden');
	// 			} else {
	// 				$(this).fadeIn('slow').removeClass('hidden');
	// 			}
	// 		});
	// 	}

	// 	return false;
	//  });
	
})(this.jQuery);
