function open_print(user_idx)
{
	window.open('/center/reserve/reserve.htm?rstep=print&user_idx='+user_idx,'_blank','scrollbars=yes,status=no,resizable=yes,width=610,height=600,left=30,top=30');
	return true;
}

function fn_unRegReserve(user_idx)
{
	if ( confirm('해당 예약을 취소하시겠습니까?') )
	{
			document.frmRL.cmd.value='undo';
			document.frmRL.method ='post';
			document.frmRL.action = '/message/reserve_action.php';
			document.frmRL.submit();
	}
}
function fn_RegAccept(user_idx)
{
	if ( confirm('해당 예약을 승인 처리하시겠습니까?') )
	{
			document.frmRL.cmd.value='accept';
			document.frmRL.method ='post';
			document.frmRL.action = '/message/reserve_action.php';
			document.frmRL.submit();
	}
}

function fn_ItemDelete(user_idx,p_idx)
{
	if ( confirm('해당 항목을 삭제 처리하시겠습니까?') )
	{
			document.frmRL.cmd.value='itemdel';
			document.frmRL.p_idx.value=p_idx;
			document.frmRL.method ='post';
			document.frmRL.action = '/message/reserve_action.php';
			document.frmRL.submit();
	}
}


function openWindow(url,width,height,resizable) 
{
	window.open(url,'_blank','scrollbars=yes,status=no,resizable='+resizable+',width='+width+',height='+height+',left=30,top=30');
}


