$(document).ready(function(){
	$("#pop1").fadeIn();
	$("#tab2").addClass("white");
	
	$("#tab2").click(function(){
		$("#tab2").removeClass("white");
		$("#tab1").addClass("white");
		$("#pop1").hide();
		$("#pop2").fadeIn();	
	})
	
	$("#tab1").click(function(){
		$("#tab2").addClass("white");
		$("#tab1").removeClass("white");
		$("#pop2").hide();
		$("#pop1").fadeIn();	
	})
	
	
	$("#mero").click(function(){
		$("#ushacum").fadeIn().attr('disabled',true);
		$("#payment_month").removeAttr('disabled',true);	
	})
	
	$("#merp").click(function(){
		$("#ushacum").hide();	
		$("#payment_month").attr('disabled',false);
	})
	
	
	$("#merq").click(function(){
		$("#day").fadeIn().attr('disabled',true);
		$("#number_days").removeAttr('disabled',true);	
	})
	
	$("#merw").click(function(){
		$("#day").hide();	
		$("#number_days").attr('disabled',false);
	})
	
	$("#close").click(function(){
		$("#body_bid").hide();
		$("#popup_bid").hide();	
	})
})
