function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else {
   parent.location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}

function shownews(id) {
  var p = window.open("show.php?newsid="+id, "meldung", "width=600,height=500,scrollbars=yes,resizable=yes");
  if (p) p.focus();
}

function showhelp() {
  var p = window.open("u-b-Hilfe.htm", "Hilfe", "width=600,height=420,scrollbars=no,resizable=no");
  if (p) p.focus();
}

function showediversity() {
  var p = window.open("ediversity_demo.htm", "ediversity", "width=780,height=500,scrollbars=no,resizable=no");
  if (p) p.focus();
}


function popwin(prefix,page,w,h) {
	var p = window.open( prefix + page + ".htm","PopUp","width=" + w + ",height=" + h + ",status=yes,scrollbars=yes,resizable=yes");
}

function popup(URL1, pix_height, pix_width)
{


F1=open("","_new","width="+pix_width+",height="+pix_height+",resizable=yes")
with(F1.document)
{
open()
write("<html>")
write("<body topmargin='0' leftmargin='0' marginheight='0' marginwidth='0' >")
write("<table width=100%><TR><TD align='center' valign='middle'>")
write("<img src='"+URL1+"'>")
write("</td></tr></table>")
write("</body>")
write("</html>")
close()
}
F1.resizeTo(pix_width+20,pix_height+40)
F1.focus()
}

