<!--

 if (document.images) {
	img1on = new Image();          
    img1on.src = "/global/img/rating-star-grey-on.gif";
	img1off = new Image();          
    img1off.src = "/global/img/rating-star-grey-off.gif";
	
	img2on = new Image();          
    img2on.src = "/global/img/rating-star-grey-on.gif";
	img2off = new Image();          
    img2off.src = "/global/img/rating-star-grey-off.gif";
	
	img3on = new Image();          
    img3on.src = "/global/img/rating-star-grey-on.gif";
	img3off = new Image();          
    img3off.src = "/global/img/rating-star-grey-off.gif";
	
	img4on = new Image();          
    img4on.src = "/global/img/rating-star-grey-on.gif";
	img4off = new Image();          
    img4off.src = "/global/img/rating-star-grey-off.gif";
	
	img5on = new Image();          
    img5on.src = "/global/img/rating-star-grey-on.gif";
	img5off = new Image();          
    img5off.src = "/global/img/rating-star-grey-off.gif";}
// Function to 'activate' images.
function imgChange(imgName) {
	var isFound;
	isFound=0;
	if (imgName=='img' + 0) {
		//alert('all off');
		allOff();
		}
	else	{
		for (var i=1;i<= 5;i++) {
			if (imgName=='img' + i) {	
				// user clicked on this img--light up all images before it
				imgOn('img' + i);
				//alert('Found ' + i);
				isFound=1;
				}
			else  {
				if (isFound==1)	{// turn off all stars once we found the one they clicked
					imgOff('img' + i);
					//alert('Off ' + i);
					}
				else	{// haven't found it yet--turn these stars on
					imgOn('img' + i);
					//alert('Not found ' + i);
					}
				}
			}
		}
}

function allOff() {
	for (var i=1;i<= 5;i++) {
		imgOff('img' + i);
	}
}

// -->