  menupics = new Array;
  menupics[0] = new Image;
  menupics[0].src = "/img/menu/icon-a-b.gif";
  menupics[1] = new Image;
  menupics[1].src = "/img/menu/icon-b-b.gif";
  menupics[2] = new Image;
  menupics[2].src = "/img/menu/icon-c-b.gif";
  menupics[3] = new Image;
  menupics[3].src = "/img/menu/icon-d-b.gif";
  menupics[4] = new Image;
  menupics[4].src = "/img/menu/icon-e-b.gif";
  menupics[5] = new Image;
  menupics[5].src = "/img/menu/icon-f-b.gif";
  menupics[6] = new Image;
  menupics[6].src = "/img/menu/icon-g-b.gif";
  menupics[7] = new Image;
  menupics[7].src = "/img/menu/icon-h-b.gif";
  menupics[8] = new Image;
  menupics[8].src = "/img/menu/text-a-b.gif";
  menupics[9] = new Image;
  menupics[9].src = "/img/menu/text-b-b.gif";
  menupics[10] = new Image;
  menupics[10].src = "/img/menu/text-c-b.gif";
  menupics[11] = new Image;
  menupics[11].src = "/img/menu/text-d-b.gif";
  menupics[12] = new Image;
  menupics[12].src = "/img/menu/text-e-b.gif";
  menupics[13] = new Image;
  menupics[13].src = "/img/menu/text-f-b.gif";
  menupics[14] = new Image;
  menupics[14].src = "/img/menu/icon-k-b.gif";
  menupics[15] = new Image;
  menupics[15].src = "/img/menu/ar-b.gif";
  menupics[16] = new Image;
  menupics[16].src = "/img/menu/icon-i1-b.gif";
  menupics[17] = new Image;
  menupics[17].src = "/img/menu/icon-j-b.gif";
  menupics[18] = new Image;
  menupics[18].src = "/img/menu/icon-back-b.gif";
  menupics[19] = new Image;
  menupics[19].src = "/img/menu/icon-camera-b.gif";
  menupics[20] = new Image;
  menupics[20].src = "/img/nagyit1-b.gif";
  menupics[21] = new Image;
  menupics[21].src = "/img/nagyit2-b.gif";
  menupics[22] = new Image;
  menupics[22].src = "/img/negyit3-b.gif";
  menupics[23] = new Image;
  menupics[23].src = "/img/arcok-b.gif";
  menupics[24] = new Image;
  menupics[24].src = "/img/eletkepek-b.gif";
  menupics[25] = new Image;
  menupics[25].src = "/img/outdoor-b.gif";
  menupics[26] = new Image;
  menupics[26].src = "/img/privat-b.gif";


  function menuover(img,txt) {
    if (document.images) { 
      document.images[img].src = "/img/menu/"+img+"-b.gif"; 
      if (txt) {
        document.images["menutext"].src = "/img/menu/"+txt+"-b.gif"; 
      }
    }
  }

  function menuout(img,txt) {
    if (document.images) { 
      document.images[img].src = "/img/menu/"+img+"-a.gif"; 
      if (txt) {
        document.images["menutext"].src = "/img/menu/"+txt+"-a.gif"; 
      }
    }
  }
  
  function menuover2(i1) {
      eval("document.images['nagyit1-" + i1 + "'].src = '/img/nagyit1.gif';");
	  eval("document.images['nagyit2-" + i1 + "'].src = '/img/nagyit2.gif';");
	  eval("document.images['nagyit3-" + i1 + "'].src = '/img/nagyit3.gif';");
  }

  function menuout2(i1) {
      eval("document.images['nagyit1-" + i1 + "'].src = '/img/nagyit1-b.gif';");
	  eval("document.images['nagyit2-" + i1 + "'].src = '/img/nagyit2-b.gif';");
	  eval("document.images['nagyit3-" + i1 + "'].src = '/img/nagyit3-b.gif';");
  }

  
  function reszletek(id) { //a reszletek oldal megynitasa id szerint a kiir() hivja meg
	  cim = "reszletek.php?id="+id;
	  kisablak=window.open(cim,'kep_window','width=640,height=480,left=300,top=200');
  }

  function reszletekweb(id,oldal) { //a reszletek oldal megynitasa id szerint a kiir() hivja meg
	  cim = "reszletek.php?id="+id+"&oldal="+oldal;
	  kisablak=window.open(cim,'kep_window','width=640,height=480,left=300,top=200');
  }

  function kepref(id,il,width,height) { //a reszletek oldal megynitasa id szerint a kiir() hivja meg
	  cim = "kepref.php?id="+id+"&il="+il;
	  eval("kisablak2=window.open(cim,'kep_window','width=" + width + ",height=" + height + ",left=300,top=200')");
  }

  function kepref2(id,il,width,height) { //a reszletek oldal megynitasa id szerint a kiir() hivja meg
	  cim = "kepref.php?id="+id+"&il="+il+"&sajto=yes";
	  eval("kisablak2=window.open(cim,'kep_window','width=" + width + ",height=" + height + ",left=300,top=200')");
  }

  function openwindow(cim) {
	  eval("kisablak3=window.open(cim,'my_new_window','toolbar=yes,location=no,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes, copyhistory=yes')");
   }

  
