<script>
function toggleD(obj) {
if (obj.style.display == 'none') obj.style.display = ''; else obj.style.display = 'none'; }
</script>
<? $i++ ?>
<a style='cursor:hand' onclick=toggleD(comment_<?=$i?>);>comment</a>
<div id=comment_<?=$i?> style='display:none'>
내용
</div>