// JavaScript Document

function fill(i) 
{
	var ids = new Array (document.getElementById("s1"),
						 document.getElementById("s2"),
						 document.getElementById("s3"),
						 document.getElementById("s4"),
						 document.getElementById("s5"));

	for (a=0;a<5;a++)
	{
		ids[a].src = "images\/star_off.gif";
	}
	for (a=0;a<i;a++)
	{
		ids[a].src = "images\/star.gif";
	}
}