<!--

function ujablak(mypage,myname,w,h,scroll,pos){

var win=null;

if (!(navigator.appName == "Netscape" && navigator.appVersion.indexOf("4") == 0) && !document.all){

if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
}
else{
day = new Date();
id = day.getTime();

LeftPosition=(screen.width)?(screen.width-w)/2:50;
TopPosition=(screen.height)?(screen.height-h)/2:50;

eval("page" + id + " = window.open(mypage, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+w+',height='+h+',left = '+LeftPosition+',top = '+TopPosition);");
}}



function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) {
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end


function opendef(param) {
window.open(param, "Definíció","width=400,height=300,scrollbars=1,resizeable=0");
}


popbasedir = "magyarmenu/";
mpx=3;
mpy=3;
peXt = (navigator.userAgent.indexOf("Opera")!=-1 && navigator.userAgent.indexOf("5.")>0) ? "op" : (document.all) ? "ie" : (document.layers) ? "nn" : (!document.all && document.getElementById) ? "mo" : "";
if (peXt!=""){
document.write('<Scr'+'ipt Language="JavaScript" Src="'+popbasedir+'popup'+peXt+'.js"></Scr'+'ipt>');
}
window.onload = onloevha;

function onloevha(){
if (peXt=="nn")
popmcreate();
}





 var tooltip_window = null;



function tooltip(mensaje, status)
  {
//    if(document.forma.ett.checked)
//    {
      if(status != 0)
      {
        if(tooltip != null) tooltip.focus();
        else
        {
          var tooltip = open('', 'Leírás', 'width=300, height=' + (mensaje.length/2.3) +',scrollbars=0,resizeable=0');
          tooltip_window = tooltip;
          tooltip.document.open();
          tooltip.document.writeln('<html><head><title>Leírás</title></head><body text=black bgcolor=#FFFFE1>');
          tooltip.document.writeln('<CENTER><FONT size=2><B>' + mensaje + '</B></FONT></CENTER>');
          tooltip.document.writeln('</body></html>');
          tooltip.document.close();
        }
      }
      else
      {
        if(tooltip_window != null) tooltip_window.close();
      }
    }
//  }

var win=null;

function NewWindow(mypage,myname,w,h,scroll,pos){

if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
//if (document.all&&window.print){win=window.showModelessDialog(mypage,"","help:0;resizable:0;dialogWidth:'+w+'px;dialogHeight:'+h+'px");}
//else {
win=window.open(mypage,myname,settings);
//}

}

////-->



