<div id="newdigg" class="newdigg">
	<div onclick="qmeCms.digg.send('{$channelid}','{$id}','good')" onmouseout="this.style.backgroundPosition='0 0';" onmousemove="this.style.backgroundPosition='left bottom';" class="diggbox digg_good" style="background-position: 0 0;">
		<div class="digg_act">ÎÒ¶¥</div>
		<div class="digg_num" id="digg_good_num">(0)</div>
		<div class="digg_percent">
			<div class="digg_percent_bar" id="digg_good_percent_bar"><span style="width: 0%;"></span></div>
			<div class="digg_percent_num" id="digg_good_percent_num">0.00%</div>
		</div>
	</div>
	<div onclick="qmeCms.digg.send('{$channelid}','{$id}','bad')" onmouseout="this.style.backgroundPosition='right top';" onmousemove="this.style.backgroundPosition='right bottom';" class="diggbox digg_bad" style="background-position: right top;">
		<div class="digg_act">ÎÒ²È</div>
		<div class="digg_num" id="digg_bad_num">(0)</div>
		<div class="digg_percent">
			<div class="digg_percent_bar" id="digg_bad_percent_bar"><span style="width: 0%;"></span></div>
			<div class="digg_percent_num" id="digg_bad_percent_num">0.00%</div>
		</div>
	</div>
</div>
<script type="text/javascript">
domReady(function(){
	AJAX.get(config.url + "index.php?mod=" + config.channelid + '&ac=count&id={$id}',function(resp){
		var json = evaljson(resp);
		if(json == null || typeof json == 'undefined' || typeof json == 'unknown') return false;
		if($('count-view') != null) $('count-view').innerHTML = json[3] + "´Î";
		qmeCms.digg.set(json[4], json[5]);
	});
});
</script>