 menu1=new menu("../images/menu1.jpg","../images/menu1-over.jpg");
 menu2=new menu("../images/menu2.jpg","../images/menu2-over.jpg");
 menu3=new menu("../images/menu3.jpg","../images/menu3-over.jpg");
 menu4=new menu("../images/menu4.jpg","../images/menu4-over.jpg");
 menu5=new menu("../images/menu5.jpg","../images/menu5-over.jpg");
 menu6=new menu("../images/menu6.jpg","../images/menu6-over.jpg");
 menu7=new menu("../images/menu7.jpg","../images/menu7-over.jpg");
 menu8=new menu("../images/menu8.jpg","../images/menu8-over.jpg");
 menu9=new menu("../images/menu9.jpg","../images/menu9-over.jpg");


 function menu(norm_src,sel_src)
 {
  this.norm=new Image();
   this.sel=new Image();
  this.norm.src=norm_src;
   this.sel.src=sel_src; 

 
 }

 function on(ImageName)
 {
   NewSrc11=eval(ImageName+".sel.src");
   document[ImageName].src=NewSrc11;
 
   
 }

 function off(ImageName)
 {
   NewSrc21=eval(ImageName+".norm.src");
   document[ImageName].src=NewSrc21; 
 
   
 }

function showPic( imgName, imgCaption, imgWidth, imgHeight) {
	if(imgWidth<=100)imgWidth=100
	if(imgHeight<=100)imgHeight=100
	winHeight=imgHeight+20;
	w = window.open('','Demo','toolbar=no,top=110, left=80,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+imgWidth+',height='+winHeight);
	w.document.write( "<html><head><title>"+imgCaption+"</title>" );
	w.document.write( "<script language='JavaScript'>\n");
	w.document.write( "IE5=NN4=NN6=false\n");
	w.document.write( "if(document.all)IE5=true;\n");
	w.document.write( "else if(document.getElementById)NN6=true\n");
	w.document.write( "else if(document.layers)NN4=true\n");
	w.document.write( "function autoSize() {\n");
	w.document.write( "	if(IE5) self.resizeTo(document.images[0].width+10,document.images[0].height+31)\n");
	w.document.write( "	else if(NN6) self.sizeToContent()\n");
	w.document.write( "	else top.window.resizeTo(document.images[0].width,document.images[0].height)\n");
	w.document.write( "	self.focus()\n");
	w.document.write( "}\n</scr");
	w.document.write( "ipt>\n");
	w.document.write( "</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad=" );
	w.document.write( "'javascript:autoSize();'>" );
	w.document.write( "<a href='javascript:top.window.close();'><img name='kep' id='kep' src='"+imgName+"' border=0 alt='Bezárás'></a>" );
	w.document.write( "</body></html>" );
	w.document.close();
}

//------------------------------beki
function bekistart(){
for (var i = 1; i < 8; i++) {
akt = document.getElementById("nevtel"+i);
akt.style.display='none';
}
}
function beki(name) {
  var azatabla=document.getElementById(name);
	if (azatabla.style.display != 'none') {
		azatabla.style.display='none';
	} else { 
		if (/MSIE/.test(navigator.userAgent)) {
			azatabla.style.display='block';
		}
		else {
			azatabla.style.display='table';
		}
	}
}

