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=no,menubar=no");
}


if (document.layers) {var n=1; var iens6=0}
if (document.all||document.getElementById) { var n=0; var iens6=1}

function initPomoc() {
        //if (n) tab = document.tabDiv;
		if (n) pomocDivObj = document.pomocDiv;
		//if (iens6) tab = document.getElementById('tabDiv').style;
		if (iens6) pomocDivObj = document.getElementById('pomocDiv').style;
        if (iens6) {
          switch(screen.availWidth) {
		    case  800 : pomocDivObj.left=645; break;
            //case 1024 : pomocDiv.left=755; break;
            default   : pomocDivObj.left=(screen.availWidth/2)+243; break;
          }
        } 
}

var tabShow=1;

function hidepoptext() {
        if (tabShow == 0) {
        	if (n) {
document.getElementById('pomocDiv').style.visibility="hide";
                //pomocDiv.visibility = "hide";
                tabShow = 1;
                return;
           	}
			if (iens6) {
                //pomocDiv.visibility = "hidden";
document.getElementById('pomocDiv').style.visibility="hidden";
                tabShow = 1;
                return;
           }
  }
                
        if (tabShow == 1) {
        	if (n) {
                //pomocDiv.visibility = "show";
document.getElementById('pomocDiv').style.visibility="show";
                tabShow = 0;
       			   }
			if (iens6) {
document.getElementById('pomocDiv').style.visibility="visible";
                //pomocDiv.visibility = "visible";
                tabShow = 0;
				}
}
}
