function OknoPomocy(url) {
  var dx = 450;
  var dy = 250;
  var x = (screen.availWidth-dx)/2;
  var y = (screen.availHeight-dy)/2;
  var Win = window.open(url,"","width="+dx+",height="+dy+",left="+x+",top="+y+",resizable=0,scrollbars=yes,menubar=no");
}


if (document.layers) {n=1;ie=0}
if (document.all) {n=0;ie=1}

function initPomoc() {
        if (n) tab = document.tabDiv
		if (n) poptext = document.poptextDiv
		if (ie) tab = tabDiv.style
        if (ie) poptext = poptextDiv.style
        if (ie) {
          switch(screen.availWidth) {
            case  800 : poptext.left=645; break;
            //case 1024 : poptext.left=755; break;
            default   : poptext.left=(screen.availWidth/2)+243; break;
          }
        }
}

var tabShow=1;

function hidepoptext() {

        if (tabShow == 0) {
        	if (n) {
                poptext.visibility = "hide";
                tabShow = 1;
                return;
           	}
			if (ie) {
                poptext.visibility = "hidden";
                tabShow = 1;
                return;
           }
  }
                
        if (tabShow == 1) {
        	if (n) {
                poptext.visibility = "show";
                tabShow = 0;
       			   }
			if (ie) {
                poptext.visibility = "visible";
                tabShow = 0;
				}
}
}

