function nove(vstup)
{
  try 
  {
    nove.close(); 
  }
  catch (myErrors)
  { 
  }

   nove=window.open("","","left=100, top=100,width=620,height=850,menubar=no,directories=no,toolbars=no,location=no,status=no,scroollbars=yes,copyhistory=no,resizable=yes");

  with (nove.document)
  {
    open();
	writeln("<html><head><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-2'><link REL=STYLESHEET TYPE='text/css' href='./../styly2.css' TITLE='styl'></head><body>");
	writeln("<div id='basketframe'><div class='inside'>");
	writeln(vstup);
	writeln("</div></div></body></html>");
	/*close();*/
	focus();
  }
}

function nove2(vstup)
{
  try 
  {
    nove.close(); 
  }
  catch (myErrors)
  { 
  }

   nove=window.open(vstup+".php","","left=100, top=100,width=620,height=850,menubar=no,directories=no,toolbars=no,location=no,status=no,scrollbars=yes,copyhistory=no,resizable=yes");
   nove.document.focus();

}
        function OpenPictureWindow(theURL,winName,x,y) { //v2.0
            vyska = screen.height;
            sirka = screen.width;
            var levy = (sirka - x)/2;
            var horni = (vyska - y)/2;
            window.open(theURL,winName,"width="+x+",height="+y+",left="+levy+",top="+horni+",toolbar=0,location=0,scrollbars=0,resizable=0");
        }

        function OpenHelpWindow(theURL,winName,x,y) { //v2.0
            vyska = screen.height;
            sirka = screen.width;
            var levy = (sirka - x)/2;
            var horni = (vyska - y)/2;
            window.open(theURL,winName,"width="+x+",height="+y+",left="+levy+",top="+horni+",toolbar=0,location=0,scrollbars,resizable");
        }

