	$(document).ready(function() {
	
//		$("#highlight .slider").easySlider();
//
//		$("#projet .slider").easySlider();
//			
//		jQuery.fn.fadeToggle = function(speed, easing, callback) {
//  			return this.animate({opacity: 'toggle'}, speed, easing, callback);
//		};		
//		
		// toggles the slickbox on clicking the noted link
//		$('a#highlightToggle').click(function() {
//			$('#highlight').slideToggle("slow");
//			$('#portfolioMenu').slideToggle("slow");
//			$('#highlightToggle').toggleClass("maximize");
//			$('#highlight #prevBtn').toggle();
//			$('#highlight #nextBtn').toggle();
//			return false;
//		});
//
		//Hide (Collapse) the toggle containers on load
//		$('#projectSlides').hide();
//		
//		$('a#moreProjectsToggle').click(function() {
//			$('#projectSlides').slideToggle("slow");
//			return false;
//		});
//		
//		$('.projectList li').hover(function() {
//			$('div.projectName').fadeIn();
//		});


		// Email protection
		$('a.email').each(function(){
			e = this.rel.replace('/','@');
			this.href = 'mailto:' + e;
			$(this).text(e);
		});
		
		//Load the images as user scroll
		$("img").lazyload({
			effect      : "fadeIn"
		});

		
	});