var menu1=new Array()
menu1[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF"'
menu1[1]='><DIV class=submenu'
menu1[2]='><A href="altalanos.html">Általános bevezető</A></DIV><DIV class=submenu'
menu1[3]='><A href="angol.html">Angol tagozat</A></DIV><DIV class=submenu'
menu1[4]='><A href="nemet.html">Német tagozat</A></DIV><DIV class=submenu'
menu1[5]='><A href="oraterv.html">Óraterv</A></DIV><DIV class=submenu'
menu1[6]='><A href="eredmeny.html">Eredményeink</A></DIV><DIV class=submenu'
menu1[7]='><A href="kepek.html">Képek</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu2=new Array()
menu2[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu2[1]='<DIV class=submenu'
menu2[2]='><A href="nyar2b.html">Nyári tudnivalók, 2.B</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu3=new Array()
menu3[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu3[1]='<DIV class=submenu'
menu3[2]='><A href="alap.html">Az alapítványról</A></DIV><DIV class=submenu'
menu3[3]='><A href="hova.html">Hová forduljak, ha...</A></DIV><DIV class=submenu'
menu3[4]='><A href="fogado.html">Fogadóórák, értekezletek</A></DIV><DIV class=submenu'
menu3[5]='><A href="terem.html">Terembeosztás</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu4=new Array()
menu4[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu4[1]='<DIV class=submenu'
menu4[2]='><A href="tanev.html">Tanév rendje</A></DIV><DIV class=submenu'
menu4[3]='><A href="du.html">Délutáni foglalkozások</A></DIV><DIV class=submenu'
menu4[4]='><A href="program.html">Iskolai programok</A></DIV><DIV class=submenu'
menu4[5]='><A href="naptar.html">Éves programok táblázat</A></DIV><DIV class=submenu'
menu4[6]='><A href="tabor.html">Táborok 2012</A></DIV><DIV class=submenu'
menu4[7]='><A href="vandortabor.html">Vándortábor 2012</A></DIV><DIV class=submenu'
menu4[8]='><A href="esemeny1011.html">Eseményeink 2010/2011</A></DIV><DIV class=submenu'
menu4[9]='><A href="esemeny0910.html">Eseményeink 2009/2010</A></DIV><DIV class=submenu'
menu4[10]='><A href="sport.html">Sportolási lehetőségek</A></DIV><DIV class=submenu'
menu4[11]='><A href="balett.html">Balett gyerekeknek<br>6-11 éves korig</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu5=new Array()
menu5[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu5[1]='<DIV class=submenu'
menu5[2]='><A href="etlap.html">Étlapok</A></DIV><DIV class=submenu'
menu5[3]='><A href="ebed.html">Ebédbefizetés</A></DIV><DIV class=submenu'
menu5[4]='><A href="tankonyv.html">Tankönyvellátás</A></DIV><DIV class=submenu'
menu5[5]='><A href="papir.html">Papírgyűjtés</A></DIV><DIV class=submenu'
menu5[6]='><A href="egyeb.html">Egyéb tudnivalók</A></DIV><DIV class=submenu'
menu5[7]='><A href="ponthatar.html">Ponthatár táblázat</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu6=new Array()
menu6[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu6[1]='<DIV class=submenu'
menu6[2]='><A href="felszereles.html">Felszerelések</A></DIV><DIV class=submenu'
menu6[3]='><A href="olvasmany5.html">Kötelező olvasmányok</A></DIV><DIV class=submenu'
menu6[4]='><A href="termeszet5.html">Természetismeret</A></DIV><DIV class=submenu'
menu6[5]='><A href="atletika5.html">Atlétikai szintek</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu7=new Array()
menu7[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu7[1]='<DIV class=submenu'
menu7[2]='><A href="olvasmany6.html">Kötelező olvasmányok</A></DIV><DIV class=submenu'
menu7[3]='><A href="atletika6.html">Atlétikai szintek</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu8=new Array()
menu8[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu8[1]='<DIV class=submenu'
menu8[2]='><A href="olvasmany7.html">Kötelező olvasmányok</A></DIV><DIV class=submenu'
menu8[3]='><A href="biologia7.html">Biológia</A></DIV><DIV class=submenu'
menu8[4]='><A href="atletika7.html">Atlétikai szintek</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu9=new Array()
menu9[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu9[1]='<DIV class=submenu'
menu9[2]='><A href="tovtantaj.html">Továbbtanulási tájékoztató</A></DIV><DIV class=submenu'
menu9[3]='><A href="tovtanstat.html">Továbbtanulási statisztika</A></DIV><DIV class=submenu'
menu9[4]='><A href="olvasmany8.html">Kötelező olvasmányok</A></DIV><DIV class=submenu'
menu9[5]='><A href="atletika8.html">Atlétikai szintek</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menu10=new Array()
menu10[0]='<TABLE cellspacing=0 cellpadding=0 border=0><TR><TD bgcolor="#FFFFFF">'
menu10[1]='<DIV class=submenu'
menu10[2]='><A href="ovoda.html">Óvodás foglalkozások</A></DIV><DIV class=submenu'
menu10[3]='><A href="tanitok.html">Leendő elsős tanítók</A></DIV><DIV class=submenu'
menu10[4]='><A href="beir.html">Beiratkozás</A></DIV><img src="1x1.gif" width="180" height="1"></TD></TR></TABLE>'

var menuwidth='180px'
var menubgcolor=''
var disappeardelay=500
var hidemenu_onclick="no"

var win = null;
function NewWindow(theURL,winName,w,h,scroll,res)
{
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+ res +''
	win = window.open(theURL,winName,settings)
}

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6) document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype)
{
	var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
	var parentEl=what.offsetParent;
	while (parentEl!=null) {
		totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
		parentEl=parentEl.offsetParent;
	}
	return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth)
{
	if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top=-500
	if (menuwidth!="") {
		dropmenuobj.widthobj=dropmenuobj.style
		dropmenuobj.widthobj.width=menuwidth
	}
	if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") obj.visibility=visible
	else if (e.type=="click") obj.visibility=hidden
}

function iecompattest()
{
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge)
{
	var edgeoffset=0

	if (whichedge=="rightedge") {
		var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
		dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
		if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
		edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
	} else {
		var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
		dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
		if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
		edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
	}
	edgeoffset=0
	return edgeoffset
}

function populatemenu(what)
{
	if (ie4||ns6)
	dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth)
{
	if (window.event) event.cancelBubble=true
	else if (e.stopPropagation) e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	populatemenu(menucontents)
	if (ie4||ns6) {
		showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
	}
	return clickreturnvalue()
}

function clickreturnvalue()
{
	if (ie4||ns6) return false
	else return true
}

function contains_ns6(a, b)
{
	while (b.parentNode)
	if ((b = b.parentNode) == a)
	return true;
	return false;
}

function dynamichide(e)
{
	if (ie4&&!dropmenuobj.contains(e.toElement)) delayhidemenu()
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) delayhidemenu()
}

function hidemenu(e)
{
	if (typeof dropmenuobj!="undefined") {
		if (ie4||ns6) dropmenuobj.style.visibility="hidden"
	}
}

function delayhidemenu()
{
	if (ie4||ns6) delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu()
{
	if (typeof delayhide!="undefined") clearTimeout(delayhide)
}

