	if(document.images)
	{	homeon = new Image();
		homeon.src = "./pics/homeon.gif";
		homeoff = new Image();
		homeoff.src = "./pics/homeoff.gif";

		contacton = new Image();
		contacton.src = "./pics/contacton.gif";
		contactoff = new Image();
		contactoff.src = "./pics/contactoff.gif";

		baseballon = new Image();
		baseballon.src = "./pics/baseballon.gif";
		baseballoff = new Image();
		baseballoff.src = "./pics/baseballoff.gif";

		calligraphyon = new Image();
		calligraphyon.src = "./pics/calligraphyon.gif";
		calligraphyoff = new Image();
		calligraphyoff.src = "./pics/calligraphyoff.gif";

		certificateson = new Image();
		certificateson.src = "./pics/certificateson.gif";
		certificatesoff = new Image();
		certificatesoff.src = "./pics/certificatesoff.gif";

		socialon = new Image();
		socialon.src = "./pics/socialon.gif";
		socialoff = new Image();
		socialoff.src = "./pics/socialoff.gif";

		wallson = new Image();
		wallson.src = "./pics/wallson.gif";
		wallsoff = new Image();
		wallsoff.src = "./pics/wallsoff.gif";

		classeson = new Image();
		classeson.src = "./pics/classeson.gif";
		classesoff = new Image();
		classesoff.src = "./pics/classesoff.gif";

		exampleon = new Image();
		exampleon.src = "./pics/exampleon.gif";
		exampleoff = new Image();
		exampleoff.src = "./pics/exampleoff.gif";
	}

	function On(imageName)
	{	if (document.images)
		{	document[imageName].src = eval(imageName+"on.src");
		}
	}

	function Off(imageName)
	{	if(document.images)
		{	document[imageName].src = eval(imageName+"off.src");
		}
	}
