$(document).ready(function(){
	/* Work Gallery Code */
	$('#wnav a.thumb').each(function(i){
		$(this).click(function(evt){
			evt.preventDefault();
		});
		$(this).hover(function(e){
			$('.project').hide();
			$('#proj'+i).show();
			$('#wnav a.thumb').removeClass('selected');
			$(this).addClass('selected');
		});
	});
	$('.project').each(function(){
		var tmpProj = $(this);
		$('.alt a',this).each(function(i){
			$(this).hover(function(e){
				$(this).click(function(evt){
					evt.preventDefault();
				});
				$('.image img',tmpProj).hide();
				$('.image img',tmpProj).eq(i).fadeIn();
			});
		});
	});
	$('#thumbs').easySlider({prevId:'slideBtnLeft',nextId:'slideBtnRight'});	
});
