{if $type == 'qcomment'}
{include file='ajax.comments.qcomment.tpl'
method='post'}
{elseif $type == 'comment'}
{include
file='ajax.comments.comment.tpl' method='post'}
{elseif $type ==
'reply'}
{include file='ajax.comments.reply.tpl'
method='post'}
{/if}
<script>jQuery("span[class*=timeago]").timeago();</script>