<script language="javascript" src="{$jspath}/jrating.js" type="text/javascript"></script>
{if permission('artvote')}
<script language="javascript" type="text/javascript">
<!--
$(document).ready(function(){ldelim}
$('#RateThis').submit(function()
{ldelim}
	var options = {ldelim}
		target:'#RateThankYou',
		url:'{$RatingUrl}',
		timeout:3000
	{rdelim};
$(this).ajaxSubmit(options); 
return false;{rdelim});{rdelim}); 
-->
</script>

<div class="box_innerhead">{#RateThis#}</div>
<form id="RateThis" method="post" action="">
<input name="starrate" type="radio" value="1" class="star" /> 
<input name="starrate" type="radio" value="2" class="star"/> 
<input name="starrate" type="radio" value="3" class="star" checked="checked" /> 
<input name="starrate" type="radio" value="4" class="star"/> 
<input name="starrate" type="radio" value="5" class="star"/>

&nbsp;&nbsp;
<input type="submit" class="button" value="{#RateThis#}" />
&nbsp;&nbsp;<span id="RateThankYou"></span>
</form>

<br style="clear:both" />
<br />
{/if}