function show_pics(season)
{
  width=516
  height=455

  x=screen.width/2-width/2;
  y=screen.availHeight/2-height/2;
  
  if (x < 0)
  {x=0
  }

  if (y < 0)
  {y=0
  }

  ustawienia="width="+width+",height="+height
			+",top="+y+",left="+x
			+",screenY="+y+"screenX="+x
			+",resizable=1,status=0,scrollbars=0"

  windowName=window.open('../duch/duch-pics.php?l='+php_lang+'&s='+season+'&pic=1',season,ustawienia);
  windowName.focus()
}
