/**
 * @author Bronislav Klučka
 */
function player(target) 
{
  var xposition=0;
  var yposition=0;
  var params = '';
  var width = 216;
  var height = 326;
  var base = web_base;
  if (arguments.length>1)	{
  	base = arguments[1];
  }
  if (parseInt(navigator.appVersion) >= 4 )	{
  	xposition = (screen.width - width) / 2;
  	yposition = (screen.height - height) / 2;
  }
  params = "width=" + width + ","
  	+ "height=" + height + ","
  	+ "location=0,"
  	+ "menubar=0,"
  	+ "resizable=0,"
  	+ "scrollbars=0,"
  	+ "status=0,"
  	+ "titlebar=0,"
  	+ "toolbar=0,"
  	+ "hotkeys=0,"
  	+ "screenx=" + xposition + "," //NN
  	+ "screeny=" + yposition + "," //NN
  	+ "left=" + xposition + "," //IE
  	+ "top=" + yposition; //IE
  startWin = window.open(base + '/player/player.php?play=on&cid=' + target,'player', params)
  startWin.focus();
  return startWin;
}      
