
	timerMenu = null;
	var Atlatszosag = 0;
	var mostMutat = 0;
	
	var tartalom = new Array();
	tartalom[0] = '<a href="../pajert3/VizABevezeto.html">Bevezető</a>';
	tartalom[1] = '<a href="../pajert10/VizKeszAutok.html">Vízhajtású motorok</a>';
	tartalom[2] = '<a href="../pajert3/VizHidrAuto.html">Hidrogénmotorok</a>';
	tartalom[3] = '<a href="../pajert10/VizViz.html">Az ismeretlen víz</a>';
	tartalom[4] = '<a href="../pajert4/VizSzamitas.html">Hidrogénszükséglet</a>';
	tartalom[5] = '<a href="../pajert3/VizElektrol.html">Elektrolízis</a>';
	tartalom[9] = '<a href="../pajert4/VizKorrozio.html">Korróziógátlás</a>';
	tartalom[10] = '<a href="../pajert5/VizBubor.html">Buborékoztató</a>';
	tartalom[11] = '<a href="../pajert8/VizSzonda.html">Oxigénszonda</a>';
	tartalom[12] = '<a href="../pajert8/VizKiserletek.html">Kísérletek</a>';
	tartalom[16] = '<a href="../pajert33/VizMagnes.html">A víz és a mágnes</a>';
	tartalom[17] = '<a href="../pajert43/VizElHalo.html">Elektróda geometria</a>';
	
	var sorrend = new Array();
	sorrend[0] = 0;
	sorrend[1] = 17;
	sorrend[2] = 1;
	sorrend[3] = 16;
	sorrend[4] = 2;
	sorrend[5] = 10;
	sorrend[6] = 3;
	sorrend[7] = 9;
	sorrend[8] = 4;
	sorrend[9] = 11;
	sorrend[10] = 5;
	sorrend[11] = 12;
	
	var akcio1 = '<td class="tds" onMouseOver="clearTimeout(timerMenu);return true;" onMouseOut="rejtsdelaMenut()" style="width:250;text-align:left" width="550">'
	var akcio2 = '<td class="tds" onMouseOver="clearTimeout(timerMenu);return true;" onMouseOut="rejtsdelaMenut()" style="width:350;text-align:left" width="280">'
	var pirosPont = '<img src="../pajert2/piros_kor.gif">';
	var uresPont = '<img src="../pajert/blank.gif" width="19" height="10">'
	
	
	document.write('<div id="BowmanMenu" style="position:absolute; left:0px; top:432px; z-index:511; width: 410px; height: 150px"></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 / 2; i++)
		{
			// elso oszlop...
			menuTartalom += '<tr>' + akcio1;
			if ( iIndex == sorrend[i * 2] )
				menuTartalom += pirosPont;
			else
				menuTartalom += uresPont;
			menuTartalom += tartalom[sorrend[i * 2]] + '</td>';

			// masodik oszlop...
			menuTartalom += akcio2;
			if ( iIndex == sorrend[(i * 2 ) + 1] )
				menuTartalom += pirosPont;
			else
				menuTartalom += uresPont;
			menuTartalom += tartalom[sorrend[(i * 2 ) + 1]] + '</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 - 220;
			if (document.getElementById("BowmanMenu").style.left.indexOf("-") != "-1")
				document.getElementById("BowmanMenu").style.left = 0;
			document.getElementById("BowmanMenu").style.top = e.pageY - 150;
		}
		else if (e.clientX || e.clientY)
		{
			document.getElementById("BowmanMenu").style.left = document.body.scrollLeft + event.clientX - 220;
			if (document.getElementById("BowmanMenu").style.left.indexOf("-") != "-1")
				document.getElementById("BowmanMenu").style.left = 0;
			document.getElementById("BowmanMenu").style.top = document.body.scrollTop + event.clientY - 150;
		}
		
		setTimeout("lassanMutasd()", 1);

	}
	
	function rejtsdelaMenut()
	{
		clearTimeout(timerMenu);
		timerMenu = setTimeout("lassanRejtsdEl()", 400);
	}
	
	function lassanMutasd()
	{
		Atlatszosag = 100
		document.getElementById('BowmanMenu').style.filter="alpha(opacity="+Atlatszosag+")";
		document.getElementById('BowmanMenu').style.fontSize='20px';
		Atlatszosag += 100;
		if ( Atlatszosag < 110 )
			setTimeout("lassanMutasd()", 1);
		else 
			mostMutat = 0;
	}	
	
	function lassanRejtsdEl()
	{
		Atlatszosag = 0
		document.getElementById('BowmanMenu').style.filter="alpha(opacity="+Atlatszosag+")";
		Atlatszosag -= 100;
		if ( Atlatszosag > 0 )
			setTimeout("lassanRejtsdEl()", 1);
		else
		{
			document.getElementById('BowmanMenu').style.visibility = "hidden";
		}
	}
	
	
	
	
	

