$(".page a:eq(1)").click(function(){
$(".pic img:eq(1)").animate({top:"0"},1000);
$(".pic img:eq(0)").animate({top:"-168px"},1000);
});
$(".page a:eq(0)").click(function(){
$(".pic img:eq(1)").animate({top:"168px"},1000);
$(".pic img:eq(0)").animate({top:"0"},1000);
});
$(".pic img:eq(1)").animate({top:"0"},1000);
$(".pic img:eq(0)").animate({top:"-168px"},1000);
});
$(".page a:eq(0)").click(function(){
$(".pic img:eq(1)").animate({top:"168px"},1000);
$(".pic img:eq(0)").animate({top:"0"},1000);
});