function ViewImage(ifile, ix, iy, ititle)
{
  var win;
  var sWidth;
  var sHeight;
  win = window.open("", "imageviewer","width="+ix+",height="+iy+", menubar=no,toolbar=no");

  win.document.open();
  win.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n');
  win.document.write("<html>\n<head>\n<title>"+ititle+"</title>\n");
  win.document.write("  <link rel='stylesheet' type='text/css' href='./css/tsv.css' />\n");
  win.document.write("</head>\n\n");
  win.document.write("<body style='padding: 0px; margin: 0px'>\n\n");
  win.document.write('<div align="center">\n<br />\n');
  win.document.write('<a href="#" onclick="self.close()"><img src='+ifile+' border="0" alt=""></a><br />\n');
  win.document.write('<br />\n');
  win.document.write('<span style=\"color: #000000\">klicke auf das Bild um das Fenster zu schließen</span>\n');
  win.document.write('</div>\n\n');
  win.document.write('</body>\n</html>');
  win.document.close();
}

function displaynews(id)
{
  if (document.getElementById("News_" + id).style.display == 'none')
  {
	document.getElementById("News_" + id).style.display = "";
    document.getElementById("NewsImg_" + id).src = "images/collapse.gif";
 	document.getElementById("NewsImg_" + id).alt = "-";
	document.getElementById("NewsImg_" + id).title = "-";
  } else {
	document.getElementById("News_" + id).style.display = "none";
    document.getElementById("NewsImg_" + id).src = "images/expand.gif";
	document.getElementById("NewsImg_" + id).alt = "+";
	document.getElementById("NewsImg_" + id).alt = "+";
  }
}

function displaynavi(id)
{
  document.getElementById("navi_" + id).style.display = "";
}

function hidenavi(id)
{

  document.getElementById("navi_" + id).style.display = "none";
}