function tdlInfoShow(id) {
	var curSelB = document.getElementById('tdl_main_cur');
	var curSel = curSelB.value;
	if(id != curSel) {
		var popSpeed = 0.5;
		var lblCurSelM = 'tdl_day_' + curSel;
		var lblNewSel = 'tdl_day_' + id;
		var curSelM = document.getElementById(lblCurSelM);
		var newSel = document.getElementById(lblNewSel);
		new Effect.BlindUp(lblCurSelM, {queue: {position: 'end', scope: 'tdl_switch', limit: 2}, duration: popSpeed});
		new Effect.BlindDown(lblNewSel, {queue: {position: 'end', scope: 'tdl_switch', limit: 2}, duration: popSpeed});
		curSelB.value = id;
	}
}

function tdlInfo(id, key) {
	if(key == "key") {
		if(event.keyCode == 13) {
			tdlInfoShow(id);
		}
	} else {
		tdlInfoShow(id);
	}
}