setTimeout("setheight()",1000);
setTimeout("setheight()",2000);
setTimeout("setheight()",5000);
function setheight()
{
//	if (document.getElementById('vege')!= null){alert("van");}else{alert("nincs");}
//	nincs - van
/*
if (document.getElementById('vege')){alert(document.getElementById('vege').offsetTop);}
if (!document.getElementById('vege')){alert("nincs");}
*/
/*
	if ( parent.document.getElementById('belso').height<document.getElementById('vege').offsetTop)
	{
	if (document.getElementById('vege')!= null){alert("van2");}else{alert("nincs2");}
	parent.document.getElementById('belso').height=document.getElementById('vege').offsetTop;
	if (document.getElementById('vege')!= null){alert("van3");}else{alert("nincs3");}
	}*/
}



function OnClickMenuItemPrices(xlang,xmenu1,xmenu2)
	{
	loc=String(window.top.location.href).split("?")[0];
	if (loc.indexOf("index2.html")!=-1)
		{
				loc=loc.replace("index2.html","index.html");
		}else{
			if (loc.indexOf("index.html")!=-1){
				loc=loc.replace("index.html","index2.html");

			}else{
				loc=loc+"index2.html";				
			}
		}
	 		window.top.location.href = loc + "?" + xlang + "&" + xmenu1 + "&" + xmenu2 + "&" + window.document.body.scrollTop;
	}
function OnClickMenuItemProducts(xlang,xmenu1,xmenu2)
	{
	loc=String(window.top.location.href).split("?")[0];
	if (loc.indexOf("index2.html")!=-1)
		{
				loc=loc.replace("index2.html","index.html");
		}else{
			if (loc.indexOf("index.html")!=-1){
				loc=loc.replace("index.html","index2.html");

			}else{
				loc=loc+"index2.html";				
			}
		}
	 		window.top.location.href = loc + "?" + xlang + "&" + xmenu1 + "&" + xmenu2 + "&" + window.document.body.scrollTop;
	}
