function show(file, opcja)
 {
  var features;

  switch (opcja)
   {
    case "poziome": features = "width=470,height=307"; nazwa="poziome"; break;
    case "pionowe": features = "width=470,height=708"; nazwa="pionowe"; break;
   }
  windowName = window.open(file, nazwa, "scrollbars=no,"+features);
  windowName.focus();
 }
