var mnu = new Array("about","main","prod","price","photo","contact");

var imgPath="/img_menu/";

mnu["about"]= new Array(2);
mnu["main"]= new Array(2);
mnu["prod"]= new Array(2);
mnu["price"]= new Array(2);
mnu["photo"]= new Array(2);
mnu["contact"]= new Array(2);

mnu["about"][0] = new Image(); mnu["about"][0].src=imgPath + "about.gif";
mnu["about"][1] = new Image(); mnu["about"][1].src=imgPath + "about_onm.gif";

mnu["main"][0] = new Image(); mnu["main"][0].src=imgPath + "main.gif";
mnu["main"][1] = new Image(); mnu["main"][1].src=imgPath + "main_onm.gif";

mnu["prod"][0] = new Image(); mnu["prod"][0].src=imgPath + "production.gif";
mnu["prod"][1] = new Image(); mnu["prod"][1].src=imgPath + "production_onm.gif";

mnu["price"][0] = new Image(); mnu["price"][0].src=imgPath + "price.gif";
mnu["price"][1] = new Image(); mnu["price"][1].src=imgPath + "price_onm.gif";

mnu["photo"][0] = new Image(); mnu["photo"][0].src=imgPath + "photo.gif";
mnu["photo"][1] = new Image(); mnu["photo"][1].src=imgPath + "photo_onm.gif";

mnu["contact"][0] = new Image(); mnu["contact"][0].src=imgPath + "contact.gif";
mnu["contact"][1] = new Image(); mnu["contact"][1].src=imgPath + "contact_onm.gif";

//-----work on mouse over-------
function mnuOnM(th,ind){   if(th.tagName=="IMG")
      th.src=mnu[ind][1].src;
}

//-----work on mouse out---------
function mnuOutM(th,ind){   if(th.tagName=="IMG")
      th.src=mnu[ind][0].src;
}