// JavaScript Document
function read_comment(id){
  if(id==null){
    id=GET['id'];
  }
  $("#box_comm").load('data.php?id='+id+'&info=commentn&action=read&type_id='+$('#comment_form input[name=type_id]').val());
}
function del(id){
$('#layer').show();
$.get('data.php',
       {info:'commentn',
        action:'delete',
        id:id,
        type_id:$('#comment_form input[name=type_id]').val()},
        function(data){
          try {if(data){eval(data)}}catch(e){} 
          $('#layer').hide();
        }
      );
    
}

