// Pre-load the images and assign them to a variable with home referenceif (browser) {	imgOn = new Image(9,9);	imgOn.src = "./resources/images/skeleton/box_pn_on.gif";	imgOff = new Image(9,9);	imgOff.src = "./resources/images/skeleton/box_pn_off.gif";}// Change the pre-loaded image to the "On" imagefunction switchImageOn(imgName) {	if (browser) {	  document[imgName].src = imgOn.src;	  return true;	}}// Change the pre-loaded image to the "Off" imagefunction switchImageOff(imgName) {    if (browser) {   	  //imgOff = imgOff.src;//eval("imgOff.src");	  document[imgName].src = imgOff.src;	  return true;	}}