var Remove = {
    init : function() {
	$.getJSON('/api/signed',function(ret) {
		      if(ret.err) return;
		      $('.i').click(
			  function(evt) {
			      var id = $(this).attr('id').substr('i-'.length);
			      if(evt.detail == 3) {
				  $(this).css({border:'10px solid #f00'});
				  if(confirm('do you delete this ?') == false) {
				      $(this).css({border:0});
				      return;
				  }
				  $.getJSON('/api/log/delete',{id:id},function(ret){
						location.reload();
			      });
			      }
			  });
		      
		  });
    }
};
//$(Remove.init);
