// Some variables

var img_base= "/images/riderinfo/rapid/"
var nrm = new Array();
var omo = new Array();

// Pre-load part.

if (document.images)
{
	for (i=0;i<images_txt.length;i++)
	{
		nrm[i] = new Image;
		nrm[i].src = img_base + images_txt[i] + "_off.gif"
		omo[i] = new Image;
		omo[i].src = img_base + images_txt[i] + "_on.gif";
	}
}


// The functions: first mouseover, then mouseout

function img_over(no)
{
	if (document.images)
	{
//		alert(no);
//		alert(omo[no].src);
		document.images[images_txt[no]].src = omo[no].src
	}
}

function img_out(no)
{
	if (document.images)
	{
		document.images[images_txt[no]].src = nrm[no].src
	}
}

