//votes
var max_vote = 5;function actualiser(id)
{
	var imgsrc = new Array();	for(i = 0; i < max_vote; i++)	{		image = eval( 'document.img'+(i+1) );		if (i+1 <= id)		{			image.src = 'modules/jeuxflash/images/'+ (i+1) + '.png';		}		else		{			image.src = 'modules/jeuxflash/images/off.png';		}	}}function draw_vote(ri_id){	document.write('<div align="center" onmouseout="actualiser(0);document.ri_form.ri_value.value=\'\';">');	for(j = 1; j <= max_vote; j++)	{	document.write('<a href="index.php?mod=jeuxflash&ac=vote&id_jeux='+ri_id+'&note='+j+'","_top"><img name="img'+ j + '" src="modules/jeuxflash/images/off.png" style="border: 0px; margin: 0px; margin-top: 1px;" onmouseover="actualiser(' + j + ');document.ri_form.ri_value.value=\''+j+'\';"  alt="' + j + '" border="0"></a>');	}	document.write('</div>');}
