var menuStr;
menuStr = "Type:Bar,2D,Tahoma,9,000000,FFFFFF,Arial,9,FFFFFF,B6CFEF,9,DBE8FE,DBE8FE,4,1,3,,'./pics/arrow.gif','./pics/arrow.gif',1,0,0,{},{progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#aaaaaa,strength=5)}\n";
menuStr += 'Panel=MainBar\n';
menuStr += '<b>Úvodná stránka</b>^/\n';
menuStr += '<b>Profil spoločnosti</b>^/o-spolocnosti/pravne-postavenie/^SubMenu1\n';
menuStr += '<b>Produkty</b>^/produkty/transfuziologia/^SubMenu2\n';
menuStr += '<b>Servis</b>^/servis\n';
menuStr += '<b>Kontakt</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^/kontakt/\n';
//menuStr += '<b>English</b>^/english-about-us\n';
menuStr += '<img src=/pics/en-flag.gif width=24 height=16 alt=en-flag border=0 class=movedown>&nbsp;<b class=moveup>English</b>^/english-about-us\n';
menuStr += "Type:Vertical,3D,Arial,9,000000,FFFFFF,Tahoma,9,FFFFFF,B6CFEF,,0007EE,DBE8FE,4,1,3,,'./static/img/arrow.gif','./static/img/arrowhi.gif',10,0,-2,{},{progid:DXImageTransform.Microsoft.Shadow(direction=135,color=#aaaaaa,strength=5)}\n";
menuStr += 'Panel=SubMenu1\n';
menuStr += 'Právne postavenie^/o-spolocnosti/pravne-postavenie/\n';
menuStr += 'Predmet činnosti^/o-spolocnosti/predmet-cinnosti/\n';
menuStr += 'ISO 9001:2000^/o-spolocnosti/iso-9001-2000/\n';
menuStr += 'Priestory^/o-spolocnosti/administrativne-a-skladove-priestory\n';
menuStr += 'Referencie^/o-spolocnosti/referencie/\n';
menuStr += 'Zastúpenia firiem^/o-spolocnosti/zastupenia-zahranicnych-vyrobcov/\n';
menuStr += 'Panel=SubMenu2\n';
menuStr += 'Transfuziológia^/produkty/transfuziologia/\n';
menuStr += 'Molekulárna biológia^/produkty/molekularna-biologia-a-separacia-buniek/\n';
menuStr += 'Produkty pre dialýzu^/produkty/produkty-pre-dialyzu/\n';
menuStr += 'Infúzne roztoky^/produkty/infuzne-roztoky-a-parenteralna-vyziva/\n';
menuStr += 'Laboratórna diagnostika^/produkty/laboratorna-diagnostika/\n';
menuStr += 'Zdravotnícka technika^/produkty/zdravotnicka-technika/\n';
menuStr += 'Krvné faktory^/produkty/krvne-faktory-liecba-hemofilikov/\n';
ez_codePath = "/include/js/";
document.write("<"+"SCR" + "IPT SRC='" + ez_codePath + "ezloader.js'><"+"/SCR" + "IPT>");

if (!ez_NN4) {window.onresize = function() {displayMenu();}} 

function displayMenu() {
  /* detect the coordinates of image named 'marker'and pass to showPermPanel to display menu panel 'Bar' */
  /* If you have used different names, please change the two lines below accordingly */
  var imgPosition = imgXY('marker');                   
   menusGo();
  showPermPanel('MainBar', imgPosition.x, imgPosition.y);   
}

function imgXY(imgID) {
  /* This function returns the upperleft x,y coordinates of the specified image */
  var XY = new Object();
  var imgObj = document.images[imgID];
  if (document.layers) {
	XY.x = eval(imgObj).x;
	XY.y = eval(imgObj).y;
  } else {
	var x,y, tempEl;
	x = eval(imgObj).offsetLeft;
	y = eval(imgObj).offsetTop;
	tempEl = eval(imgObj).offsetParent;
  	while (tempEl != null) {
  		x += tempEl.offsetLeft;
		y += tempEl.offsetTop;
  		tempEl = tempEl.offsetParent;
  	}
	XY.x = x;
	XY.y = y;
  }
  return XY;
}


