// JavaScript Document Sliding
	$(document).ready(function(){
		//Partial Sliding (Only show some of background)
		$('.boxgrid.peek').hover(function(){
			$(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160});
		}, function() {
			$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
		});
	});
	$(document).ready(function(){
		//Partial Sliding (Only show some of background)
		$('.boxgridWork.peek').hover(function(){
			$(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160});
		}, function() {
			$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
		});
	});

$(document).ready(function() {
		$('#menu2 li a').click(function() {
			$('#menu2 li').removeClass('selected2');
			$(this).parent('li').addClass('selected2');
			thisItem 	= $(this).attr('rel');
			if(thisItem != "all") {
				$('#item2 li[rel='+thisItem+']').stop()
					.animate({'width' : '308px', 
					'opacity' : 1
					});
				$('#item2 li[rel!='+thisItem+']').stop()
					.animate({'width' : '0px', 
					'opacity' : 0,
					'marginRight' : 0, 
					'marginLeft' : 0
					});
				$('#item2 li[rel!='+thisItem+']').stop()
					.animate({'width' : '0px', 
					'opacity' : 0,
					'marginRight' : 0, 
					'marginLeft' : 0
					});
				} 
			else 
				{
				$('#item2 li').stop()
					.animate({'opacity' : 1, 
					'width' : '308px'
					});
				}
			})
		});

