function showWindow(file,name)
{
  window.open(file,name,"channelmode=no,directories=no,fullscreen=no,height=440,left=20,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titelbar=no,toolbar=yes,top=20,width=600");
}

function printWindow()
{
  window.print();
}

function closeWindow()
{
  window.close();
}



function showList(file)
{
  window.open(file,"list","channelmode=no,directories=no,fullscreen=no,height=350,left=20,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titelbar=no,toolbar=no,top=20,width=180");
}

function showDocument(id,name)
{
  var styleUrl;
  if(document.all)
  {
    styleUrl = document.all["styleUrl"].value;
  }
  else
  {
    styleUrl = document.values.styleUrl.value
  }
  var file = "getDocument.php3?style=" + styleUrl + "&id=" + id;
  showWindow(file,name);
}

function showInformation(file)
{
  window.open(file,"information","channelmode=no,directories=no,fullscreen=no,height=200,left=20,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titelbar=no,toolbar=no,top=20,width=350");
}

function showStatistics(file)
{
  window.open(file,"statistics","channelmode=no,directories=no,fullscreen=no,height=440,left=20,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titelbar=no,toolbar=no,top=20,width=600");
}
