<script>
function nolike<?php echo $id; ?>(id) {
$.post('like.php?a_id=<?php echo $id; ?>', { nolikedata: "nolike", nolike: id }, function(data) {
$('#ln<?php echo $id; ?>').html(data).slow();
});
}
</script>
<div id="ln<?php echo $id; ?>" style="float: right;">
<a href="#" onclick="return false" onmousedown="javascript:like<?php echo $id; ?>('<?php echo $id; ?>');">Like</a>
</div>