// Add an entry to the menu
function AddMenu(nLevel, TextLink, ImgNorm, ImgMO, ImgW, ImgH, URLSelf, URLMain, StatusBarTxt) {
  menu[total] = new Object;
  menu[total].level = nLevel;
  menu[total].text = TextLink;
  menu[total].ImgNorm = ImgNorm;
  menu[total].ImgMO = ImgMO;
  menu[total].ImgW = ImgW;
  menu[total].ImgH = ImgH;
  menu[total].URLSelf = URLSelf;
  menu[total].URLMain = URLMain;
  menu[total].StatusBarTxt = StatusBarTxt;
  total++
}

function loadMenu(MenuURL) {
	if (MenuURL.length>0) {
		window.location.href=MenuURL;
	}
}

function chgImg(i,newimg) {
	if(document.images) document.images[i-1].src=newimg;
}

