$(function(){
	var date = new Date();
	$("#d-in > option").eq(date.getDate() - 1).attr("selected", "selected");
	$("#d-out > option").eq(date.getDate()).attr("selected", "selected");
	
	var month = date.getMonth() + 1;
	var year = date.getFullYear();
	
	$("#my-in, #my-out").empty();
	for(var i = 0; i< 12; i++){
		if(month + i < 13) $("#my-in, #my-out").append('<option>' + year + '-' + (month + i) + '</option>');
		else $("#my-in, #my-out").append('<option>' + (year + 1) + '-' + (month + i - 12) + '</option>');
	}
});