
	timerMenu = null;
	var Atlatszosag = 0;
	var mostMutat = 0;
	
	var tartalom = new Array();
	tartalom[0] = '<a href="../pajert13/MEGbev.html">Bevezető</a>';
	tartalom[1] = '<a href="../pajert13/MEGSzab.html">A szabadalom</a>';
	tartalom[2] = '<a href="../pajert13/MEGNaudin.html">Naudin készüléke</a>';
	tartalom[3] = '<a href="../pajert14/MEGelokez.html">A terhelő ellenállás</a>';
	tartalom[4] = '<a href="../pajert13/MEGKiserletek.html">Kísérletek</a>';
	tartalom[5] = '<a href="../pajert15/MEGMagnes.html">Ritka földfém mágnesek</a>';
	tartalom[6] = '<a href="../pajert15/MEGElvek.html">Működési elv</a>';
	
	var sorrend = new Array();
	sorrend[0] = 0;
	sorrend[1] = 1;
	sorrend[2] = 6;
	sorrend[3] = 2;
	sorrend[4] = 3;
	sorrend[5] = 5;
	sorrend[6] = 4;
	
	var akcio1 = '<td class="tds" onMouseOver="clearTimeout(timerMenu);return true;" onMouseOut="rejtsdelaMenut()" style="width:250;text-align:left" width="280">'
	var akcio2 = '<td class="tds" onMouseOver="clearTimeout(timerMenu);return true;" onMouseOut="rejtsdelaMenut()" style="width:250;text-align:left" width="280">'
	var pirosPont = '<img src="../pajert2/piros_kor.gif">';
	var uresPont = '<img src="../pajert/blank.gif" width="19" height="10">'
	
	
//	if  (navigator.appVersion.indexOf("MSIE") != -1)
		document.write('<div id="BowmanMenu" style="position:absolute; left:0px; top:432px; z-index:511; width: 250px; height: 170px"></div>');
	

	function mutasdaMenut(e, iIndex, iX, iY )
	{
		if ( mostMutat != 0 )
			return; 
		
		mostMutat = 1;
			
		var menuTartalom = "<table cellpadding=0 cellspacing=0 name=link_table id=link_table>";
		for (var i = 0; i < sorrend.length; i++)
		{
			// elso oszlop...
			menuTartalom += '<tr>' + akcio1;
			if ( iIndex == sorrend[i] )
				menuTartalom += pirosPont;
			else
				menuTartalom += uresPont;
			menuTartalom += tartalom[sorrend[i]] + '</td></tr>';

		}
		menuTartalom += '</table>';
		document.getElementById("BowmanMenu").innerHTML = menuTartalom;
	

		clearTimeout(timerMenu);
		Atlatszosag = 0;
		document.getElementById("BowmanMenu").style.filter="alpha(opacity="+Atlatszosag+")";
		document.getElementById("BowmanMenu").style.visibility = "visible";
		if (!e) var e = window.event;
		if (e.pageX || e.pageY)
		{
			document.getElementById("BowmanMenu").style.left = e.pageX - 90;
			if (document.getElementById("BowmanMenu").style.left.indexOf("-") != "-1")
				document.getElementById("BowmanMenu").style.left = 0;
			document.getElementById("BowmanMenu").style.top = e.pageY - 190;
		}
		else if (e.clientX || e.clientY)
		{
			document.getElementById("BowmanMenu").style.left = document.body.scrollLeft + event.clientX - 90;
			if (document.getElementById("BowmanMenu").style.left.indexOf("-") != "-1")
				document.getElementById("BowmanMenu").style.left = 0;
			document.getElementById("BowmanMenu").style.top = document.body.scrollTop + event.clientY - 190;
		}
		setTimeout("lassanMutasd()", 1);

	}
	
	function rejtsdelaMenut()
	{
		clearTimeout(timerMenu);
		timerMenu = setTimeout("lassanRejtsdEl()", 400);
	}
	
	function lassanMutasd()
	{
		document.getElementById("BowmanMenu").style.filter="alpha(opacity="+Atlatszosag+")";
		document.getElementById("BowmanMenu").style.fontSize='20px';
		Atlatszosag += 20;
		if ( Atlatszosag < 110 )
			setTimeout("lassanMutasd()", 1);
		else 
			mostMutat = 0;
	}	
	
	function lassanRejtsdEl()
	{
		document.getElementById("BowmanMenu").style.filter="alpha(opacity="+Atlatszosag+")";
		Atlatszosag -= 20;
		if ( Atlatszosag > 0 )
			setTimeout("lassanRejtsdEl()", 1);
		else
		{
			BowmanMenu.style.visibility = "hidden";
		}
	}
	
	
	
	
	
