
function deleteComment(id) {
	
	var myRequest = new Request({method: 'get', 
					    url: 'lib/comments.php',
				     onSuccess: function (response_text) {
							if (response_text == 'deleted') {
								$("comment_"+id).setStyles({'visibility':'hidden','display':'none'});
								$("comment_"+id).setOpacity(0);				
							}
						}
					});
	myRequest.send('action=delete&id='+id);

}
	
		
