 function CategoryChangeView(obj) 
 {
  document.list_c_search.submit();
  return true;
 }

 

function check_passwd(part)
{
 if (part == 'member')
 {    
  if(!document.comment.cmt_subject.value)
  {
   alert('제목을 입력하여 주세요.');
   document.comment.cmt_subject.focus();
   return false;
  }


  if(!document.comment.cmt_memo.value)
  {
   alert('내용을 입력하여 주세요.');
   document.comment.cmt_memo.focus();
   return false;
  }
 }
 else
 {
 
 
  if(!document.comment.cmt_name.value)
  {
   alert('이름을 입력해 주세요.');
   document.comment.cmt_name.focus();
   return false;
  }
   
    if(!document.comment.cmt_passwd.value)
  {
   alert('패스워드를  입력하여 주세요.');
   document.comment.cmt_passwd.focus();
   return false;
  } 
   
   if(!document.comment.cmt_subject.value)
  {
   alert('제목을 입력하여 주세요.');
   document.comment.cmt_subject.focus();
   return false;
  }
     
  if(!document.comment.cmt_memo.value)
  {
   alert('내용을 입력하여 주세요.');
   document.comment.cmt_memo.focus();
   return false;
  }
  } 
 } 


