var base= "images/"

var nrm = new Array();

var omo = new Array();

var stuff = new Array('home','new','all','about','blog','contact');



if (document.images)

{

	for (i=0;i<stuff.length;i++)

	{

		nrm[i] = new Image;

		nrm[i].src = base + stuff[i] + "_off.gif"

		omo[i] = new Image;

		omo[i].src = base + stuff[i] + "_on.gif";

	}

}



function over(no)

{

	if (document.images)

	{

		document.images[stuff[no]].src = omo[no].src

	}

}



function out(no)

{

	if (document.images)

	{



	document.images[stuff[no]].src = nrm[no].src

	}

}


