 /*   var myTWin = window.myTWin;
    
    function OpenMyWin(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=500,height=375,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
	function OpenMyWin2(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=600,height=506,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
function OpenMyWin3(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=500,height=500,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
	function otevrit(uri) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 460, h = 410;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
	window.open(uri, "_blank", "width=450, height=350, top=" + ypos + ", left=" + xpos + ", status=no");
	}
	
		function otevrit2(uri) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 460, h = 410;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
	window.open(uri, "_blank", "width=350, height=500, top=" + ypos + ", left=" + xpos + ", status=no");
	}*/


   var myTWin = window.myTWin;
    
    function OpenMyWin(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=500,height=375,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
	function OpenMyWin2(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=600,height=506,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
function OpenMyWin3(link,winName)
    {
      var retValue=true;
      if (myTWin!=null && !myTWin.closed)
      {
        myTWin.focus();
        myTWin.location.href=link.href;
      }
      else
      {
        myTWin=window.open(link.href,winName,'toolbar=no,width=500,height=500,scrollbars=no,resizable=no');
        if (myTWin==null || typeof(myTWin)=="undefined")
          retValue=false;
        else
        {
          link.target=winName;
          myTWin.focus();
        }
      }
      return retValue;
    }
	
	function otevrit(uri) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 460, h = 410;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
	window.open(uri, "_blank", "width=450, height=350, top=" + ypos + ", left=" + xpos + ", status=no");
	}
	
		function otevrit2(uri) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 550, h = 750;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
	window.open(uri, "_blank", "width=600, height=580, top=" + ypos + ", left=" + xpos + ", status=no");
	}
	
	
	function otevrit3(uri) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 550, h = 750;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
	window.open(uri, "_blank", "width=350, height=500, top=" + ypos + ", left=" + xpos + ", status=no");
	}

