 $(document).ready(function(){ 
       $("#closerestab").css('cursor','pointer');
	   $("#closereslefttab").css('cursor','pointer');
	   $("#resleftbutton").hide();
}); 
$(function(){
	$("#closerestab").bind('click',function(){closeReserve();});
	$("#resbutton").bind('click',function(){showReserve();});
});
function showReserve(){
	$("#registop").animate({
    top: 0
  }, 1000);

}
function closeReserve(){
	$("#registop").animate({
    top: -250
  }, 1000);

}

$(function(){
	$("#closereslefttab").bind('click',function(){closeLeftReserve();});
	$("#resleftbutton").bind('click',function(){showLeftReserve();});
});
function showLeftReserve(){
	$("#regisleft").animate({
    left: 0
  }, 1000, function(){
		$("#resleftbutton").hide();
		$("#closereslefttab").show();
  	}
  );

}
function closeLeftReserve(){
	$("#regisleft").animate({
    left: -650
}, 1000, function(){
		$("#closereslefttab").hide();
		$("#resleftbutton").show();
  		}
   );

}

