window.onload = function() {
	menu();
};

function over()
{
	this.src=this.src.replace('_on','_over');
}

function out()
{
	this.src=this.src.replace('_over','_on');
}

function menu()
{
	IT = new Array();

	for(i=0;i<(I=document.images).length;i++)
	{
		if(I[i].src.indexOf('_on')>0)
		{
			I[i].onmouseover=over;
			I[i].onmouseout=out;
			IT[i] = new Image();

			IT[i].src = I[i].src.replace('_on','_over');
		}
	}
}
