function custom_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment;
global $comm_avatar, $commenter_avatar, $ht, $wd, $comm_author, $user, $author; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<a name="comment-<?php comment_ID() ?>"></a>
<div class="comment-container">
<?php if(get_comment_type() == "comment"){
$commenter_id = $comment->user_id;
$commenter_avatar_img = getimagesize(get_option('vbb_VBURL')."/image.php?u=".$commenter_id);
?>
<div class="avatar"><img alt="Avatar de <?php echo the_commenter_link() ?>" src="<?php echo commenter_avatar($commenter_id); ?>" class="avatar avatar-70 photo avatar-default" <?php echo commenterimageResize($commenter_avatar_img[0], $commenter_avatar_img[1], 70); ?> /></div>
<?php } ?>
<div class="comment-right">
<div class="comment-head">
<span class="name fl"><a href="<?php echo get_option('vbb_VBURL'); ?>/member.php?u=<?php echo $commenter_id ?>"><?php the_commenter_link() ?></a></span>
<?php if(get_comment_type() == "comment"){ ?>
<span class="reply fr"><?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?></span><!-- /.reply -->
<span class="date fr"><a href="<?php echo get_comment_link(); ?>" title="<?php _e('Direct link to this comment', 'woothemes'); ?>"><?php echo get_comment_date($GLOBALS['woodate']) ?> <?php _e('at', 'woothemes'); ?> <?php echo get_comment_time(); ?></a></span>
<?php }?>
<span class="edit fr"><?php edit_comment_link('Edit ', '', ''); ?></span>
</div><!-- /.comment-head -->
<div class="comment-entry" id="divcomment-<?php comment_ID(); ?>">
<?php comment_text() ?>
<?php if ($comment->comment_approved == '0') { ?>
<p class='unapproved'><?php _e('Your comment is awaiting moderation.', 'woothemes'); ?></p>
<?php } ?>
</div><!-- /comment-entry -->
</div><!-- /comment-right -->
</div><!-- /.comment-container -->
<?php
}