function NewWindowProfile(mypage, myname) {
w = 800;
h = 560;
winl = (screen.width - w) / 2;
wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable';
window.open(mypage, myname, winprops);
}

function ImageOwnSize(src,name,title,width,height) {
noveokno = window.open("./lib/showimg.php?src="+src+"&title="+title+"&width="+width+"&height="+height,name,"width="+width+",height="+height+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizeable=no,copyhistory=no");  
noveokno.focus();
}

function TechFlex(mypage, myname) {
  w = 570;
  h = 530;
  winl = (screen.width - w) / 2;
  wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable';
  okno = window.open(mypage, myname, winprops);
  okno.focus();
}

function TechSlitt(mypage, myname) {
  w = 430;
  h = 480;
  winl = (screen.width - w) / 2;
  wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable';
  okno2 = window.open(mypage, myname, winprops);
  okno2.focus();
}

function OpenFlash(mypage, myname) {
  w = 800;
  h = 600;
  winl = (screen.width - w) / 2;
  wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable';
  okno2 = window.open(mypage, myname, winprops);
  okno2.focus();
}

var zobrazena = "nula";
    function zobraz(polozka) {
      if(document.getElementById) {
        document.getElementById(zobrazena0).style.display = "none";
        document.getElementById(polozka).style.display = "block";
        zobrazena0 = polozka;
        return false;
      }
      else {
        if(document.stylesheets) document.stylesheets["zalozky"].disabled = true;
        return true;
      }
    }
