if (document.images) {

//create "on" array and populate with image objects
   var onImgArray = new Array ()
   onImgArray[1] = new Image(81,26)
   onImgArray[2] = new Image(61,23)
   onImgArray[3] = new Image(81,26)
   onImgArray[4] = new Image(81,26)
   onImgArray[5] = new Image(61,23)
   onImgArray[6] = new Image(81,26)
   onImgArray[7] = new Image(81,26)
   onImgArray[8] = new Image(81,26)
   onImgArray[9] = new Image(81,26)
   onImgArray[10] = new Image(81,26)
   onImgArray[11] = new Image(81,26)
   onImgArray[12] = new Image(81,26)
   onImgArray[13] = new Image(61,23)
   onImgArray[14] = new Image(61,23)
   onImgArray[15] = new Image(81,26)   
   
//set URLs for the "on" images
   onImgArray[1].src = "images/bn_Appetizers_on.gif"
   onImgArray[2].src = "images/bn_Baked_on.gif"
   onImgArray[3].src = "images/bn_Beverages_on.gif"
   onImgArray[4].src = "images/bn_Catering_on.gif"
   onImgArray[5].src = "images/bn_Classic_on.gif"
   onImgArray[6].src = "images/bn_Desserts_on.gif"
   onImgArray[7].src = "images/bn_Dinner_on.gif"
   onImgArray[8].src = "images/bn_KidsMenu_on.gif"
   onImgArray[9].src = "images/bn_Lunch_on.gif"
   onImgArray[10].src = "images/bn_Salads_on.gif"
   onImgArray[11].src = "images/bn_Sashimi_on.gif"
   onImgArray[12].src = "images/bn_Sides_on.gif"
   onImgArray[13].src = "images/bn_Special_on.gif"
   onImgArray[14].src = "images/bn_Tempura_on.gif"
   onImgArray[15].src = "images/bn_Sushi_on.gif"   
   
//create "off" array and populate with image objects
   var offImgArray = new Array ()
   offImgArray[1] = new Image(81,26)
   offImgArray[2] = new Image(61,23)
   offImgArray[3] = new Image(81,26)
   offImgArray[4] = new Image(81,26)
   offImgArray[5] = new Image(61,23)
   offImgArray[6] = new Image(81,26)
   offImgArray[7] = new Image(81,26)
   offImgArray[8] = new Image(81,26)
   offImgArray[9] = new Image(81,26)
   offImgArray[10] = new Image(81,26)
   offImgArray[11] = new Image(81,26)
   offImgArray[12] = new Image(81,26)
   offImgArray[13] = new Image(61,23)
   offImgArray[14] = new Image(61,23)
   offImgArray[15] = new Image(81,26)      

//set URLs for the "off" images
   offImgArray[1].src = "images/bn_Appetizers_off.gif"
   offImgArray[2].src = "images/bn_Baked_off.gif"
   offImgArray[3].src = "images/bn_Beverages_off.gif"
   offImgArray[4].src = "images/bn_Catering_off.gif"
   offImgArray[5].src = "images/bn_Classic_off.gif"
   offImgArray[6].src = "images/bn_Desserts_off.gif"
   offImgArray[7].src = "images/bn_Dinner_off.gif"
   offImgArray[8].src = "images/bn_KidsMenu_off.gif"
   offImgArray[9].src = "images/bn_Lunch_off.gif"
   offImgArray[10].src = "images/bn_Salads_off.gif"
   offImgArray[11].src = "images/bn_Sashimi_off.gif"
   offImgArray[12].src = "images/bn_Sides_off.gif"
   offImgArray[13].src = "images/bn_Special_off.gif"
   offImgArray[14].src = "images/bn_Tempura_off.gif"
   offImgArray[15].src = "images/bn_Sushi_off.gif"      
  }

function imageOn(i) {
     if (document.images) {
	     document.images[i].src = onImgArray[i].src
	 }
}
function imageOff(i) {
     if (document.images) {
	     document.images[i].src = offImgArray[i].src
	 }
}	 
function imageOn(i) {
     if (document.images) {
	     document.images["Leftbtn" + i].src = onImgArray[i].src
	 }     		       
}
function imageOff(i) {
     if (document.images) {
	     document.images["Leftbtn" + i].src = offImgArray[i].src
	 }     		       
}  		  		       
