	
			{
			vers = 1.1;
				{
				//preloads button images
				oneon = new Image;
				oneon.src = "../images/button2.gif";
				oneoff = new Image;
				oneoff.src = "../images/button1.gif";
				//sets the rest of the buttons so they are the same as the 1st buttons
				twoon = oneon;
				twooff = oneoff;

				threeon = oneon;
				threeoff = oneoff;

				fouron = oneon;
				fouroff = oneoff;

				fiveon = oneon;
				fiveoff = oneoff;

				sixon = oneon;
				sixoff = oneoff;	
			}
			
		function switchto(name, on)
			{
			if (vers == 1.1);
				{
					var image = eval(name + (on == 1? "on.src": "off.src"));

					document[name].src = image;
					}
				}
			}